RE: [GD-Windows] Detecting mouse exiting window?
Brought to you by:
vexxed72
From: Brian S. <bs...@mi...> - 2002-08-05 16:45:20
|
If your app captures the mouse all the time, it makes it pretty hard for the user to click on other windows... Capturing the mouse seems most useful for processing things like custom buttons and drag-and-drop behaviors, where you need to get mouse down messages and mouse up messages in pairs. When they mouse down, you capture the mouse; when they mouse up, you release it. --brian > -----Original Message----- > From: Julien Koenen [mailto:ma...@ju...]=20 > Sent: Monday, August 05, 2002 9:36 AM > To: gam...@li... > Subject: Re: [GD-Windows] Detecting mouse exiting window? >=20 >=20 > Could you explain your Problem with this approach a little=20 > bit more precise > ? >=20 > Thanks >=20 > Julien Koenen >=20 > ----- Original Message ----- > From: "Javier Arevalo" <ja...@py...> > To: <gam...@li...> > Sent: Monday, August 05, 2002 9:09 AM > Subject: Re: [GD-Windows] Detecting mouse exiting window? >=20 >=20 > > Julien Koenen <ma...@ju...> wrote: > > > > > You can Capture the Mouse-Cursor. > > > Than you will get all Mouse-Move-Messages and you can check if the > > > Mouse-Pos is still in your Window. > > > > > > I strongly advise against this. It will hurt you later with=20 > usability > > problems when the user wonders why his mouse doesn't seem to work > properly. > > > > Javier Arevalo > > Pyro Studios |