Tuesday, February 14, 2006

Detecting when the mouse is over a component


    When the mouse enters the area of a component, Delphi sends the CM_MouseEnter message. When it leaves, Delphi sends a CM_MouseLeave message. Treating this two messages, you can detect if the mouse is over the component. The Fly-Over label component shows this technique.

0 Comments:

Post a Comment

<< Home