Question: How to determine which window was moved/resized from WM_EXITSIZEMOVE message?
question created at Sat, Jun 1, 2019 12:00 AM
I've been processing all the numerous individual WM_MOVE, WM_SIZING, and WM_SIZE messages for a multiple-GUI/window application, but I've just learned of the WM_EXITSIZEMOVE message and would like to use it if it lets me avoid all those intermediate messages. But since no parameters are provided by that message, how can I determine which GUI/window has been moved or resized? Or is my thinking incorrect?
All of the messages you reference are only sent to the window that was affected by that operation, which is why there are no parameters provided that identify the window. If the window receives it, it is the window that was just moved, sized, or is exiting size/move.
In other words, if you have windows A and B, and B is resized or moved, then it will receive the messages and window A will not.