RE: hWnd of IMWindowClass chat input box
Sorry I made a mistake in the code
You also need to include this
Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
And instead of passing ConversationWnd_Obj.hWnd you need to pass
SendText FindWindowEX(ConversationWnd_Obj.hWnd, 0&, "DirectUIHWND", vbNullString), "the text", true, true
|