[Mono-winforms-list] Find out if the application window is focused/active

Stifu stifu at free.fr
Mon Feb 16 16:26:47 EST 2009


Many thanks! :)


Andreia Gaita wrote:
> 
> On 2/8/09, Stifu <stifu at free.fr> wrote:
>>  Long story short, I have the exact same problem as the one described
>> here:
>>  http://bytes.com/groups/net-c/760728-application-focus
>>  I want to know if my application window is currently focused/active, but
>>  doing this.Focused doesn't return true if one the child controls of the
>>  application is focused.
> 
> Off the top of my head, this.ActiveControl.Focused
> 
> andreia gaita
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Find-out-if-the-application-window-is-focused-active-tp21897934p22046271.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list