How to find if Application has Focus
- From: Albe V° <vaccariTOGLI@xxxxxxxxxxx>
- Date: Wed, 14 May 2008 11:59:59 +0200
In my Application, I need to make a certain graphical refresh, interrogating SqlServer, only if Application has focus (i.e. the title bar is blue).
Interrogating .Focused property of various forms of the project is not the way (maybe, enumerting forms and checking if at least one of them has focus may work, but I don't think this to be the most beautiful solution).
Any idea?
Thanks in advance
Alberto
--
Georges Pompidou: Un uomo di stato è un politico che dona se stesso al servizio della nazione. Un politico è un uomo di stato che pone la nazione al suo servizio.
.
- Follow-Ups:
- Re: How to find if Application has Focus
- From: Ignacio Machin ( .NET/ C# MVP )
- RE: How to find if Application has Focus
- From: Family Tree Mike
- Re: How to find if Application has Focus
- Prev by Date: DTD to XSD problem
- Next by Date: NullReferencException in DLinq lambda method
- Previous by thread: DTD to XSD problem
- Next by thread: RE: How to find if Application has Focus
- Index(es):
Relevant Pages
|