Re: React when the program isn't focused
- From: erewhon@xxxxxxxxxx (J French)
- Date: Mon, 26 Feb 2007 07:22:38 GMT
On Mon, 26 Feb 2007 03:02:16 +0100, Fons Rave
<fonzzz-at-xs4all-dot-nl> wrote:
My clock-program shows a small, borderless window with the date when you
move the mouse-cursor over the clock. When the mouse moves away the date
disappears. It uses:
procedure TFormMain.LabelTime1MouseEnter(Sender: TObject);
procedure TFormMain.LabelTime1MouseLeave(Sender: TObject);
procedure TFormMain.LabelTime1MouseMove(Sender: TObject; Shift:
TShiftState; X, Y: Integer);
It works when the clock is the focused program. But doesn't when the
clock is not the focused program. The clock is, of course, not always
the focused program so you probably already know my question: how can I
make my clock-program react on MouseEnter, MouseLeave & MouseMove when
it is not the focused program ?
I've just done a test with OnMouseMove and it seems to fire regardless
of which App has the Foreground
.
- Follow-Ups:
- Re: React when the program isn't focused
- From: Fons Rave
- Re: React when the program isn't focused
- References:
- React when the program isn't focused
- From: Fons Rave
- React when the program isn't focused
- Prev by Date: React when the program isn't focused
- Next by Date: for loop (c-lang)
- Previous by thread: React when the program isn't focused
- Next by thread: Re: React when the program isn't focused
- Index(es):
Relevant Pages
|