-
January 18th, 2011, 06:30 PM
#12
Re: Trouble with MDI GetSubMenu
Originally Posted by VictorN
Perhaps, because the 2nd document uses another menu?
Since I'm getting a pointer for the main window at the beginning...
Code:
CMenu *pMenu = AfxGetApp()->m_pMainWnd->GetMenu()
I would imagine that this means I'm re-using the same menu. Either way, I don't see why I can sometimes access the submenu of a submenu... but other times I cannot.
Tags for this Thread
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
|