quote:
Originally posted by Felu
To get the handle of Active ChatWnd we can use FindWindowW
code:
ChatWnd = Interop.Call('User32',"FindWindowW",'IMWindowClass',0);
By this way you get the handle of the ChatWnd(ChatWnd.Hnadle) and not the chatwnd .
It should not work with tabs, as MessengerPlus! creates another window class for tabbed chats. GetForgroundWindow API might work