When the API function DefWindowProc begins a drag/size
operation generated by messages like : WM_NCLBUTTONDOWN
There is NO WM_NCLBUTTONUP message generated when the mouse button
goes up (ending the drag/size operation). The MSDN docs say that
WM_NCLBUTTONUP isn't posted.
How do you "test" to see that the drag/size operation has
finished (mouse button up), when you can't use either
WM_MOVE or WM_SIZE ?
When the end users system is set to "show window contents while dragging"
the window will receive "multiple" WM_SIZE or WM_MOVE messages, so
they can't be relied upon to test for the "end of the drag operation"
(mouse up).
Does anybody have any ideas of how to handle this ?
I have to know when the mouse button has been released !
------------------
operation generated by messages like : WM_NCLBUTTONDOWN
There is NO WM_NCLBUTTONUP message generated when the mouse button
goes up (ending the drag/size operation). The MSDN docs say that
WM_NCLBUTTONUP isn't posted.
How do you "test" to see that the drag/size operation has
finished (mouse button up), when you can't use either
WM_MOVE or WM_SIZE ?
When the end users system is set to "show window contents while dragging"
the window will receive "multiple" WM_SIZE or WM_MOVE messages, so
they can't be relied upon to test for the "end of the drag operation"
(mouse up).
Does anybody have any ideas of how to handle this ?
I have to know when the mouse button has been released !
------------------
Comment