What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Depend menu items on user settings

Depend menu items on user settings
Author: Message:
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. Depend menu items on user settings
Hello all,

The menu items of the plugin are set when MSNM loads.
Is there a  possibility to set or change menuitems when a user logs on to MSNM. I need the MSN address, that the user is gonna use. When MSNM starts, you only know the previous one.

When I know the current address I can retrieve his/her settings, but the menu of the plugin is already done. Can I still change the menu at this point?

Hope someone can help me.
08-14-2005 04:52 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Depend menu items on user settings
You could create your own Menu's using the Windows API instead of setting them with Plus!
08-14-2005 05:46 PM
Profile E-Mail PM Find Quote Report
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. RE: Depend menu items on user settings
Thanks, but I have not worked with the Windows API before. Could you please give me an example, or some other helpfull information?
08-14-2005 06:34 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Depend menu items on user settings
How To Hook Msn Messenger In Visual Basic
08-14-2005 08:28 PM
Profile E-Mail PM Find Quote Report
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. RE: Depend menu items on user settings
That works nice. It don't know if I should ask it here, or kick the old topic, but is there a common way to add such a menu to a Conversation window?

The code finds a window called "MSN Messenger", but when I want to find a Conversation Window, it English it's called not the same as in German, French or Dutch. I've used to code of Mike sofar.

This post was edited on 08-14-2005 at 09:49 PM by SWINX.
08-14-2005 09:47 PM
Profile PM Web Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: Depend menu items on user settings
replace the line
code:
Case "MSNMSBLClass"
by
code:
Case "IMWindowClass"


note: the code doesn't look for the window named "MSN Messenger", it looks for the window with class "MSNMSBLClass", which works in every language of MSN Messenger.
08-14-2005 09:58 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