[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

Interacting with windows

casicadk

10/22/2008 7:29:00 PM

Hi

Let's say I wanted to detect if a window existed (some dialog from
some third-party application) . how would I go about doing that? Is
there something in the framework I can use to loop through all open
windows, and maybe interact with them?
1 Answer

Family Tree Mike

10/22/2008 9:03:00 PM

0

For finding the window:
http://www.pinvoke.net/default.aspx/user32/FindWin...

then for sending input:
System.Windows.Forms.SendKeys


<casicadk@hotmail.com> wrote in message
news:a180c141-8e4c-46ba-9281-fd5a64674cec@v28g2000hsv.googlegroups.com...
> Hi
>
> Let's say I wanted to detect if a window existed (some dialog from
> some third-party application) . how would I go about doing that? Is
> there something in the framework I can use to loop through all open
> windows, and maybe interact with them?