You get a lot of WM_SIZE if you have full contents moving on. It's
needed because the entire window needs to reshape itself.
Not sure about WM_EXITSIZEMOVE, probably the same thing.=20
What are you trying to accomplish? You could listen for WM_NCLBUTTONUP
or whatever it's called.
_________________________________________
Gareth Lewin - http://www.garethlewin.com
"Facts are useless. You can use facts to prove anything that's even
remotely true. Facts shmacts!" -- Homer Jay Simpson.
-----Original Message-----
From: Brian Hook [mailto:ho...@bo...]=20
Sent: Wednesday, August 25, 2004 9:48 AM
To: gam...@li...
Subject: [GD-Windows] WM_EXITSIZEMOVE
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.=20
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
Gam...@li...
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5
|