Shoutbox

how to creat an item in right-click pop-up menu? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: how to creat an item in right-click pop-up menu? (/showthread.php?tid=32019)

how to creat an item in right-click pop-up menu? by charles269 on 09-24-2004 at 05:28 PM

I would like to add an item in the right-click pop-up menu in MSN Messenger, which is like Messenger Plus! does.
How can I do that?
Where can I find some information about that?

Thanks in advance.

Charles


RE: how to creat an item in right-click pop-up menu? by matty on 09-24-2004 at 06:22 PM

Depending on what you actually want the menu to do. If you want it to preform an action that already exists in MSN Messenger then you can use a program like Reshack. If you want to add features to MSN Messenger you need to use some time of Programming language (VB, C++, etc) to add the menu.

-------------
Thread reported to be moved to Tech Talk


RE: how to creat an item in right-click pop-up menu? by charles269 on 09-25-2004 at 04:59 AM

Matty, thank you very much for this quick reply.

I got to know Messenger Plus! just a few days ago, and I am very interested in it.

What I really would like to do is that I want to let user to leave messages to the offline users in MSN Messenger. That means, I can right click an offline user name, choose a menu item (eg. "Leave message"), and then I can input message.

The main problem that I cannot solve is how to add a right-click pop-up menu to MSN Messenger.

Could you please tell me where I can find Reshack?

Thanks again.

Charles


RE: how to creat an item in right-click pop-up menu? by jordanspringer on 09-25-2004 at 05:08 AM

if you mean you want to leave a message for an offline user so they will see it when they sign back in (like in ICQ) this is already a feature in plus!

right click on an offline contact>Messenger Plus! Extras> Set Come-Back Message...

or...

hover over an offline contact and wait for the messenger plus! icon to appear to the left of the contact. click on the icon and click "Leave a message to contact"

oh, and if you are still interested in reshack, (resource hacker) you can get it here.


RE: how to creat an item in right-click pop-up menu? by charles269 on 09-25-2004 at 05:40 AM

Thanks for you reply, jordanspringer.

In fact, Messenger Plus! is too powerful, I only want to have one function which is Leave Message to Offline Contact. So first, I want to add a right-click pop-up menu item to MSN Messenger to let user to leave message for an offline contact. Secondly, I will store this message on my own server and send it to that contact as soon as he is online.

So, my main problem is how to add a right-click pop-up menu item to MSN Messenger.

Thanks.

Charles


RE: how to creat an item in right-click pop-up menu? by Mike on 09-25-2004 at 05:49 AM

I think you can subclass the msn's tree view control and add your menu items...
I also think that you can subclass msn's tree view and wait for the windows message. (dont remember how it is called)

By the way what programing language are you using?


RE: how to creat an item in right-click pop-up menu? by charles269 on 09-25-2004 at 05:51 AM

Hi Mike2,

What do you mean for "subclass the msn's tree view control"?

Thanks

Charles


RE: how to creat an item in right-click pop-up menu? by Mike on 09-25-2004 at 06:04 AM

Try looking here: http://msdn.microsoft.com/library/default.asp?url.../msdn_subclas3.asp


RE: how to creat an item in right-click pop-up menu? by charles269 on 09-27-2004 at 03:49 PM

Thank you very much, Mike2.

I am using C++ to develop the application. I have never touched Subclass, so I will learn it first and have a try. Maybe I will also ask you some questions a few days later.

Thanks again.

Charles


RE: how to creat an item in right-click pop-up menu? by Mike on 09-27-2004 at 06:57 PM

Well i also never touched subclassing...
Im not sure that thats how plus does it but i think that thats the way it does it...


RE: how to creat an item in right-click pop-up menu? by charles269 on 10-02-2004 at 05:49 PM

Can I customize the menu items which are under "Messenger Plus! Extras", or can I add my own menu item under "Messenger Plus! Extras" to implement my own idea?


RE: how to creat an item in right-click pop-up menu? by RaceProUK on 10-02-2004 at 07:20 PM

I guess you can. If Plus can do it, then anyone can: they just got to find out how ;).


RE: how to creat an item in right-click pop-up menu? by charles269 on 10-03-2004 at 03:20 AM

Anybody knows how to do like Plus does?