What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » oConversationWnd

Pages: (2): « First « 1 [ 2 ] Last »
oConversationWnd
Author: Message:
dazlee
Junior Member
**


Posts: 15
Joined: Sep 2005
O.P. RE: oConversationWnd
i translated it, getDLGItem for IMWindow or the child DirectUIHWND returns 0

i can get it working in a seperate app put in the dll i cant get the focusing of msn to work.

I use:

Private Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long

And i loop until its focused, however it freezes coz inside the dll it wont bring it forward but same code in my other app will, exactally the same hwnd's????

any ideas????
09-27-2005 04:45 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: oConversationWnd
quote:
Originally posted by dazlee
i translated it, getDLGItem for IMWindow or the child DirectUIHWND returns 0

i can get it working in a seperate app put in the dll i cant get the focusing of msn to work.

I use:

Private Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long

And i loop until its focused, however it freezes coz inside the dll it wont bring it forward but same code in my other app will, exactally the same hwnd's????

any ideas????


Declare the Const Infinite and use WaitForSingleObject

retval=SetForegroundwindow()
waitforsingleobject retval,infinite

hopfully this will work
10-05-2005 03:18 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On