[GD-Windows] WM_EXITSIZEMOVE
Brought to you by:
vexxed72
From: Brian H. <ho...@bo...> - 2004-08-25 16:48:28
|
According to the docs, this is supposed to be generated every time an application exits the size/move modal loop: "The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. " I never click though, it's generated every time the cursor simply passes over the edge of the window. Any ideas what gives? For now I'm just doing a GetClientRect() and comparing against the last one to see if this is a "real" size change. I'm not using WM_SIZE since it's sending a stream of events as the window is resized (which is what I thought WM_SIZING was supposed to do, but whatever). Brian |