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

Win32 Question
Author: Message:
Quintok
New Member
*


Posts: 3
Joined: Nov 2004
O.P. Win32 Question
in the method MPPLUGIN_RETURN_VOID Configure() of the plugin DLL, how do you get the HWND to the parent? I can't see a way how to get it without using ATL, any suggested functions?
11-10-2004 10:09 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Win32 Question
To get the HWND of the current window: GetActiveWindow();
To get the HWND of the main window: IMessenger3->getHWND(long*); IIRC

You'll probably want GetActiveWindow();
[Image: spartaafk.png]
11-10-2004 10:33 PM
Profile PM Web Find Quote Report
Quintok
New Member
*


Posts: 3
Joined: Nov 2004
O.P. RE: Win32 Question
Thanks alot :)
11-11-2004 12:14 AM
Profile E-Mail PM Find Quote Report
« 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