quote:
Originally posted by eSouL
Strangely, posting to DirectUIHWND still doesn't do anything.
Thats odd cause it works with no problem here in my plugin I am developing.
Here is the actual code I have.
code:
Dim lngNewWindow As Long
Dim strTextToSend As String
If Contacts_lv.SelectedItem.Tag <> "" Then
lngPrevWnd = GetForegroundWindow()
MessengerAPI_Obj.InstantMessage Contacts_lv.SelectedItem.Tag
lngNewWindow = GetForegroundWindow()
lngNewWindow = FindWindowEx(lngNewWindow, 0, "DirectUIHWND", vbNullString)
SendText lngNewWindow, "/dropfile " & Me.Tag, True, False
Unload Me
End If