WM_EXITSIZEMOVE
Brian Hook <[email protected]>
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <2004825124818.885640@GATEWAY> |
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 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5