Shoutbox

catching click event on rightclicked contextmenu - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: catching click event on rightclicked contextmenu (/showthread.php?tid=34744)

catching click event on rightclicked contextmenu by msncoder on 11-23-2004 at 04:24 AM

hello everyone

i have a question, after adding a contextmenu to msn messenger.

how to get which menu item is clicked by the user?

because there is not WM_COMMAND send to the parent window as the TPM_NONOTIFY flag is set in the TrackPopupMenu() in msn messenger. when adding the contextmenu item in the WM_CONTEXTMENUPOPUP message, a menu handle is presented, if calling the TrackpopupMenu()/TrackpopupMenuEx() without calling the default window prog in the subclassed message handling procedure, I can get the which menu item is selected, but how can I pass it back to the default handler for the menu items that wasn't added by me?

msncoder


RE: catching click event on rightclicked contextmenu by RaceProUK on 11-23-2004 at 12:27 PM

Is this page useful?


RE: catching click event on rightclicked contextmenu by msncoder on 11-23-2004 at 03:48 PM

that's my start up page. thx anyway


RE: catching click event on rightclicked contextmenu by Peter_Hendrix on 12-14-2004 at 11:31 AM

I am very interested in the answer to this question.
Hope we get it.