What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » How can i add a cmdid custom by myself?

How can i add a cmdid custom by myself?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: How can i add a cmdid custom by myself?
since you asked, in a nutshell:

You simpy choose the number of your likings. Can be any number as long as it isn't already in use.

Then you use some Windows APIs to make a (sub)menu item. One of the parameters of those Windows APIs to make a menu is that cmdid.

Now, when you click on a menu the cmdid is passed (again as a parameter) to the procedure which handles all the events occuring in the window.

Since that cmdid is passed, the routines inside the procedure know what to do next.

Though, all this information is only usefull if you are able to make your own addon (or program) which is capable of integrating itself inside Messenger.
Simply adding your own (sub)menu item, which is easy, isn't going to work. You also need to integrate/replace the routine to catch the menu (and thus the cmdid) being pressed by the user.

More details can be found here:
http://msdn.microsoft.com/en-us/library/ms646977(VS.85).aspx

---

So, making your own custom menu (with your own cmdids) is by far the easiest thing. The hard thing is to inject your program/routine which handles the cmdids into the Messenger program. Usually this is done by subclassing or superclassing. This is by no means an easy job and requires a lot of programming skills (and a hell of a lot of technical reading and understanding, see the links).

You can't do anything with this information in regards to skinning though. And even with Plus! scripting this is very hard todo (you actually can't do it with pure script code alone).

This post was edited on 07-23-2009 at 03:15 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-22-2009 12:35 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How can i add a cmdid custom by myself? - by wonderfall on 07-22-2009 at 07:51 AM
RE: How can i add a cmdid custom by myself? - by djdannyp on 07-22-2009 at 08:43 AM
RE: RE: How can i add a cmdid custom by myself? - by wonderfall on 07-22-2009 at 09:09 AM
RE: How can i add a cmdid custom by myself? - by djdannyp on 07-22-2009 at 11:29 AM
RE: How can i add a cmdid custom by myself? - by wonderfall on 07-22-2009 at 12:27 PM
RE: How can i add a cmdid custom by myself? - by CookieRevised on 07-22-2009 at 12:35 PM
RE: How can i add a cmdid custom by myself? - by wonderfall on 07-23-2009 at 02:39 AM


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