January 20th, 2011, 01:22 PM
I do see the merit in what you are suggesting, but in my case - the menu arrangement is static. I don't need to worry about the "File" menu being 1st or 3rd. My only requirement is that I'm doing a...
January 19th, 2011, 04:45 PM
For what it's worth... to anyone else who runs into this problem...
This issue is when I try to access the submenus using MF_BYPOSITION. The cause of this problem is that when any MDI child...
January 18th, 2011, 06:30 PM
Since I'm getting a pointer for the main window at the beginning...
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...
January 18th, 2011, 05:56 PM
First...
pCmdUI->GetText() does not exist... so I would still have to do something like GetMenuString.
Second...
That doesn't help me for "pop-up" menus, only the items in the pop-up.
...
January 18th, 2011, 02:53 PM
so then you would suggest changing ALL of the functions such as...
void CDocType1View::OnUpdateEditGroup1(CCmdUI *pCmdUI)
{
CMenu *pMenu = AfxGetApp()->m_pMainWnd->GetMenu();
...
January 18th, 2011, 02:42 PM
This had no impact at all. It looks like my check to bActivate was probably sufficient... but I'm still getting a crash.
January 18th, 2011, 02:13 PM
Isn't this what I'm doing in "OnActivateView" right before the call to "RebuildMenu"? I would think that the condition of bActivate == TRUE would take care of this.
January 18th, 2011, 02:10 PM
Wouldn't that just update the text once you mouse over? I want the text to change as soon as the operator changes from English -> Spanish (etc.), not when they actually go through the menu system.
January 18th, 2011, 01:59 PM
The translations are not hard coded. There is a database that the operator is able to modify so that they can have their own "custom" translations if need be. Because of that, I can't really create...
January 18th, 2011, 01:37 PM
I have a MDI program that is setup to support multiple languages. This app is configured to allow the operator to swap the language on-the-fly and all the menus/dialogs/etc will automatically switch...