What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » Hooking the Messenger Main Window

Hooking the Messenger Main Window
Author: Message:
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
RE: Hooking the Messenger Main Window
Hi Dempsey just pm'ed me about this issue...

First of all i tryed the CBT hook as well and had the same problem with raceprouk with HCBT_CREATED... because the plugin was loaded after the conctact list was created, so it was useless...

Then i used the HCBT_ACTIVATE hook whick worked ok, but still there is a catch here as you subclass the window before Plus! does and there i had a problem with transparency (cause i am removing the menu)... so there is no good as well

From my reaserch after trying to resolve the transparency issue i had to subclass the window after Plus does, so i had to make sure that at least the plus menu is loaded in the contactlist window...

I have also tryed other hook types such as WH_WNDPROC etc but still that was no good, so i decided to work with api hooking

So the latest place that i have come upto right now that doesnot give me a problem with the transparency is hooking the InsertMenuItem() API called by msgplush.dll not msnmsgr.exe

But then again if you are not removing the menu bar then at HCBT_ACTIVATE it should work fine.

I order to test for the contactlist hwnd compare it with the handle provided by the messenger API

hope it helps, if you need any more clarifications let me know
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
08-24-2005 04:24 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Hooking the Messenger Main Window - by RaceProUK on 08-20-2005 at 11:13 AM
RE: Hooking the Messenger Main Window - by Stigmata on 08-20-2005 at 11:40 AM
RE: Hooking the Messenger Main Window - by absorbation on 08-20-2005 at 11:42 AM
RE: Hooking the Messenger Main Window - by Dempsey on 08-20-2005 at 12:02 PM
RE: Hooking the Messenger Main Window - by RaceProUK on 08-20-2005 at 12:32 PM
RE: Hooking the Messenger Main Window - by Dempsey on 08-20-2005 at 12:34 PM
RE: Hooking the Messenger Main Window - by RaceProUK on 08-24-2005 at 02:32 PM
RE: Hooking the Messenger Main Window - by TazDevil on 08-24-2005 at 04:24 PM
RE: Hooking the Messenger Main Window - by RaceProUK on 08-24-2005 at 05:38 PM
RE: Hooking the Messenger Main Window - by TazDevil on 08-24-2005 at 05:48 PM
RE: Hooking the Messenger Main Window - by RaceProUK on 08-24-2005 at 06:52 PM


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