|
-
August 31st, 1999, 10:56 PM
#1
How to get the Menu of the Main Frame
hi all..
I'm programming an application that has a splitter window with 2 views. My problem is that I need to get the items of 1 submenu of the main menu to be displayed as trackpopupmenu when the user clicks the right mouse button.
The way: CMenu* pmenu = GetParent()->GetMenu() doesn't work since the view was created using the RUNTIME_CLASS macro this way:
m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CLeftPaneView), CSize(rect.Width()/3, 0), pContext) )
How can I do it?
Thanks
Jaime
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
|