Re: TForm and CM_MOUSELEAVE not working
From: eshipman (eshipman_at_yahoo!!!.com)
Date: 10/28/03
- Next message: eshipman: "Re: Those little dots"
- Previous message: Bruce Roberts: "Re: Some basic OO questions"
- In reply to: Peter Below (TeamB): "Re: TForm and CM_MOUSELEAVE not working"
- Next in thread: Chris Cowley: "Re: TForm and CM_MOUSELEAVE not working"
- Reply: Chris Cowley: "Re: TForm and CM_MOUSELEAVE not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 16:15:05 -0600
> > The below code only calls the mouseleave when clicking on another
> > application. Any ideas why the mouseleave doesn't fire when the
> > mouse leaves the form's boundaries?
>
> Well, it never notices that the mouse has left the forms area since it
> does not get any mouse messages anymore when that happens. A possible
> cure is to start a timer when the form gets a CM_MOUSEENTER. When the
> timer ticks check whether the form is still under the mouse, if not send
> a CM_MOUSELEAVE to the form and stop the timer.
>
Thanks, Peter, didn't think of that one...
- Next message: eshipman: "Re: Those little dots"
- Previous message: Bruce Roberts: "Re: Some basic OO questions"
- In reply to: Peter Below (TeamB): "Re: TForm and CM_MOUSELEAVE not working"
- Next in thread: Chris Cowley: "Re: TForm and CM_MOUSELEAVE not working"
- Reply: Chris Cowley: "Re: TForm and CM_MOUSELEAVE not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading