Archived

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

Pik

Ctrl w/ Popup menu

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