topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 3:48 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: REQ: App/Hotkey to detact a child window from an application.  (Read 3988 times)

rsteward

  • Supporting Member
  • Joined in 2010
  • **
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Would it be possible with AHK or something else to create a hotkey that would allow the user to detach a child window from an MDI frame and present it in a dialog type box that can be dragged anywhere on any monitor (outside of the mdi frame)?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: REQ: App/Hotkey to detact a child window from an application.
« Reply #1 on: February 02, 2016, 10:21 AM »
Standard Windows MDI doesn't allow that.
Only application frameworks that explicitly support that, as used in some office applications and recent Visual Studio editions, can have their windows pulled out of the main frame. Then pulling it out is usually the easiest way to do it, as you'll want to position it somewhere specific.

Lintalist

  • Participant
  • Joined in 2015
  • *
  • Posts: 120
    • View Profile
    • Lintalist
    • Donate to Member
Re: REQ: App/Hotkey to detact a child window from an application.
« Reply #2 on: February 08, 2016, 01:09 PM »
Do you only want to retain the information in the Child window and keep it on screen while you dismiss it and continue to work in your program?
If so, you can try and see if AHK can read the information (assuming it is text) from the Window and display it in a alwaysontop AHK gui.

Or if not "clone" the window as an image and display it as such (could again be an AHK GUI or use GDI+ to display the image - you can also use GDI+ to "clone" or "copy" the window as image.