What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » menu in conversation/contact list hooking?

menu in conversation/contact list hooking?
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. menu in conversation/contact list hooking?
is it possible to "hook" without using a DLL?

basically, i just want to add a menu to the conversation or contact list that will do some functions with my script (the menu bar, not the 'dashboard')
[quote]
Ultimatess6
: What a noob mod
09-13-2007 09:41 PM
Profile PM Web Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: menu in conversation/contact list hooking?
I think you're able to add the menu, but I'm not sure if you can catch the event when a menu-button is clicked. Just use the GetMenu and InsertMenuItem APIs, you can find more information about them on MSDN.
09-14-2007 07:24 AM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. RE: menu in conversation/contact list hooking?
i can't understand how to use the InsertMenuItem, i don't know how to use/make structures

i'm using InsertMenu..

now just to get the event of on clicked...

This post was edited on 09-14-2007 at 08:32 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
09-14-2007 07:57 PM
Profile PM Web Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: menu in conversation/contact list hooking?
That's where you got to use a hook.
09-15-2007 08:27 AM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: menu in conversation/contact list hooking?
To receive an event for the menu being clicked, you will need to read the messages received by the window the menu belongs to. To do this you'll need to either make a message hook (as vikke said) or subclass the window.

This post was edited on 09-15-2007 at 04:50 PM by deAd.
09-15-2007 04:50 PM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: menu in conversation/contact list hooking?
And both, hooking and subclassing, are not available in the MP!L scripting. You would need a DLL for this.
09-15-2007 07:05 PM
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