RE: [GD-Windows] Detecting mouse exiting window?
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-08-02 23:46:39
|
Er, no, especially since it's nowhere in my help docs =( And, unfortunately, I need to run on Win95 still (yeah yeah yeah...). I "fixed" the problem by sitting in my WM_TIMER and calling GetCursorPos() and generating application mouse moved events if the mouse it outside the window. *puke* But it works. =) Thanks, -Hook > -----Original Message----- > From: Andy Glaister [mailto:an...@mi...] > Sent: Friday, August 02, 2002 4:44 PM > To: Brian Hook; gam...@li... > Subject: RE: [GD-Windows] Detecting mouse exiting window? > > > Have you tried WM_MOUSELEAVE which is in Win98-> ? > > -----Original Message----- > From: Brian Hook [mailto:bri...@py...] > Sent: Friday, August 02, 2002 4:32 PM > To: gam...@li... > Subject: [GD-Windows] Detecting mouse exiting window? > > > Is there a clean way of detecting when the mouse cursor has > exited my window? WM_MOUSEMOVE and WM_NCMOUSEMOVE messages > stop coming in the moment the mouse exits the window. The > only other thing I can think of is to actually poll the mouse > position and see if it's in my client area (blech). > > Brian > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > |