RE: [GD-Windows] Out of window mouse up messages
Brought to you by:
vexxed72
From: Rob H. <ro...@ga...> - 2002-02-07 06:09:14
|
I can think of 2 ways to get around this problem. 1: Go back to using SetCapture(). When the window loses the mouse capture( the user clicked a window owned by another thread ) you will get a WM_CAPTURECHANGED message. Buttons do this type of thing so they can make sure the BUTTONUP message comes while the mouse is actually on the button. 2: Try using TrackMouseEvent(). This will enable the specified window to receive WM_MOUSELEAVE and WM_NCMOUSELEAVE messages. Rob -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Brian Hook Sent: Wednesday, February 06, 2002 7:46 PM To: gam...@li... Subject: RE: [GD-Windows] Out of window mouse up messages Hmmmm, one minor problem, not sure if it's a real problem, is that I won't actually "see" the mouse up until the cursor comes back into the window since I won't be getting the WM_MOUSEMOVE while it's outside the window. Brian _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |