Questions about Window Handles

Posted by Kovu on Stack Overflow See other posts from Stack Overflow or by Kovu
Published on 2010-03-12T12:11:52Z Indexed on 2010/03/12 12:17 UTC
Read the original article Hit count: 224

Filed under:
|

Hi,

lang: c#.net 2.0

I have a Application X, that calls SubWindows 1, 2 and 3.

I will Pop up a MessageBox, when 1, 2 or 3 is opened.

My idea is a timer that ticks every 3 seconds and checks if the windows are opened.

But how to find the 3 exact windows? Can I use a Window-Handle-Spy-Application and Hardcode the Window-Handles in my code to find them ever? Or change the window handle when the Application X is opened new?

© Stack Overflow or respective owner

Related posts about windowhandle

Related posts about c#2.0