Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog to Window
#1
Hey can anyone show me an example how to attach a dialog to a window? And make it stay with it while i drag it?

For example...make the dialog attach to bottom of QM window right below it...and when i drag it around stay connected. Kinda like a toolbar can do. Thanks
#2
Ok gonna come back to this, Gint think you can throw something together?
#3
this is something i put together maybe its will help, if you are wanting hook a dialog to another window you could use this code with SetTimer in the dialog code.

Code:
Copy      Help
RECT r ;int hwnd0 hwnd1
hwnd0=win("Quick Macros -")
hwnd1=win("Notepad" "Notepad")
GetWindowRect(hwnd0 &r)
MoveWindow hwnd1 r.left r.top+r.bottom-r.top r.right-r.left r.bottom-r.top  1
#4
Never used settimer. think you could throw together an example?


Forum Jump:


Users browsing this thread: 1 Guest(s)