开发者

Find Messenger Hwnd

Does someone knows how can I 开发者_如何学Pythonfind the HWND for all the msn messenger currently opened conversations windows?

OR how can i find the HWND for the textbox whih is currently focused?

TY


You can use the Spy++ tool which comes with Visual Studio to get the class name of any window of any running program. You can then pass that class name to FindWindow() to get the handle of the appropriate window.

I checked the Windows Live Messenger installed on my system, the conversation windows have the class name: "IMWindowClass".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜