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

Andreia Gaita shana.ufie at gmail.com
Mon Feb 16 14:14:45 EST 2009

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

More information about the Mono-winforms-list mailing list