-
August 3rd, 2001, 11:25 PM
#1
Popup menu
Hi all, my program currently has a set of tool buttons which when clicked, changes the
toolbar to show the subset of that particular tool.
I want some of functionality of the particular tool to be accessed quickly through
a pop up menu when i right click on the CView client area (my program is MDI).
Some menu function are already handled in the CMainframe message map while some by
CDoc and CView.
Is there a simple way to popup a menu in the cview where the menu item selected
activates generates message to the appropriate class (such as CDoc, cview) which handles
it? Currently, i popup a menu in the CView class on the right button up message.
-
August 4th, 2001, 06:05 AM
#2
Re: Popup menu
use TrackPopupMenu()
Please - rate answer if it helped you
It gives me inspiration when I see myself in the top list =)
Best regards,
-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor@soukhov.com | ICQ:57404554 | http://soukhov.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|