I am in a scenario where I want to determine where the mouse cursor is when the mouse left button up is done on a Window's non client area (header). For this I am listening for the WM_NCLBUTTONUP and WM_NCLBUTTONDOWN messages of the Window. The issue is that I am only getting the WM_NCLBUTTONDOWN message.
Is there a reason why the Up message is not raised?
On a side note, why I am doing the above is to resolve an issue when the Window is being snapped to the right or the left of the work area. If there is an easier way of getting and "event" when a Window is snapped to the left or right please let me know.