React when the program isn't focused
- From: Fons Rave <fonzzz-at-xs4all-dot-nl>
- Date: Mon, 26 Feb 2007 03:02:16 +0100
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 ?
Thanks,
Fons.
.
- Follow-Ups:
- Re: React when the program isn't focused
- From: Tom de Neef
- Re: React when the program isn't focused
- From: J French
- Re: React when the program isn't focused
- Prev by Date: Simple? Delphi database questions
- Next by Date: Re: React when the program isn't focused
- Previous by thread: Simple? Delphi database questions
- Next by thread: Re: React when the program isn't focused
- Index(es):
Relevant Pages
|