Find window with variable caption
I'm using WinApi and C#. I need to find 开发者_Python百科window with variable caption. Caption contains constant part. I think that I need to enumerate all windows. How I can do this?
you have to use P/Invoke function: EnumWindows
Look for EnumWindows in MSDN - it accepts callback function, in which you get list of all windows
精彩评论