开发者

Find Messenger Hwnd

开发者 https://www.devze.com 2023-01-06 02:25 出处:网络
Does someone knows how can I 开发者_如何学Pythonfind the HWND for all the msn messenger currently opened conversations windows?

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

精彩评论

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

关注公众号