开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜