There is a RESIZING and RESIZED event…
but no corresponding MOVING event to MOVED?
I need to know that a window is being moved by the user in real time… for both OSX and WINDOWS
is this possible?
I thought I’d seen a topic about this… but cannot find it
Yes that one…
but it didn’t seem to have a Windows solution, and just ideas about an OSX one…
[quote=84802:@Norman Palardy]On Windows you’d probably have to subclass the window proc (SetWindowLong declare), then look for the WM_MOVING message. For an example on how to subclass a window proc you can look at the CommandLinkExample project in the Examples Projects/Platform-Specific/Windows folder.
[quote=85225:@Dave S]There is a RESIZING and RESIZED event…
but no corresponding MOVING event to MOVED?[/quote]
I tried to monitor the position of a window through a timer to see if it could be tracked during the move. No luck, left and top are updated only after the move. So you have to go declare.
Solution (for me) was to convert the child window to a container control… this way the stayed in lockstep when the parent window was moved and the child “window” was open.
How do you convert a window to a container control ?
How did you lock the two windows together ?