Windows Forms: Set form Visibility Based on Focus enabled of external window
Posted
by zion
on Stack Overflow
See other posts from Stack Overflow
or by zion
Published on 2009-09-21T14:33:26Z
Indexed on
2010/04/09
20:33 UTC
Read the original article
Hit count: 247
I would like to create a Windows Forms application that when run is only visible once another external window (notepad.exe) is enabled/focused. Any hints, I don't know where to begin.
If my form is running I would like it to popup when Notepad is enabled and disappear when Notepad loses focus.
© Stack Overflow or respective owner