Shoutbox

Win32 Question - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Win32 Question (/showthread.php?tid=34322)

Win32 Question by Quintok on 11-10-2004 at 10:09 PM

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?


RE: Win32 Question by RaceProUK on 11-10-2004 at 10:33 PM

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();


RE: Win32 Question by Quintok on 11-11-2004 at 12:14 AM

Thanks alot :)