Have you tried the OnMouseEnter and OnMouseLeave events? Stephen Posey stephenlpo...@earthlink.net
-----Original Message----- >From: Peter Kapas <pka...@sbcglobal.net> >Sent: Oct 9, 2010 10:16 AM >To: Delphi@elists.org >Subject: Re: Recognition ov application window > >Hi Francois, > >Thanks, I already tried it. There are a few standard mouse functions to >simplify that, >but the major problem is, when the application window is partly covered by the >other >Windows applications and I cannot mask the area to say "I do not see >my application, set-up indicator to False, if for seeing that is True). >--- >Peter >--------------------------- >> I would like to find method how to recognize, the mouse is over my >> application window. If that window is partly covered by other application, >> I want to recognize that situation, in other words, that time, I want see >> some indicator, which tells me, between mouse cursor and my application >> window is something. How to do it? (I am using Delphi 4). > >Just an idea, not tested. >Install a mouse hook to get the mouse movements whatever application is >above your's. Then knowing the area(s) where you application is, you can >compute if the mouse is within or not, even if your app is behind another >other one. > >_______________________________________________ >Delphi mailing list >Delphi@elists.org >http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi