• Advertisement


This topic is now archived and is closed to further replies.

Ctrl w/ Popup menu

This topic is 5907 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I''m using MFC (dialog) and its ugliness again and got a little problem. I have the popup menu working when I right click my dialog, but I really want it to just show up in my CTreeCtrl. I looked through the members of the Tree control and didn''t find anything that would give me the points on a click. The right click function give an LPARAM and a NMHDR (or close to it) but that doesn''t have the position. So briefly I want the menu to popup on a right click in my control. It only works in the dialog outside of the control.

Share this post

Link to post
Share on other sites

  • Advertisement