Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu stuff

Hi,

Is there a way I can dynamically change menu text? My software needs to
support different languages. Chinese, Spanish, english etc. . . I'm going
to read the language values from the registry and it they don't exist, I
default to English. I can change most of the menus using the OnUpdate
events, but it doesn't seem to work with the pop-up menus. Also, on the
pop-up menus, I cannot add pictures next to the menu items. Has anyone ever
ran into this?

Thanks
Eric
0 Kudos
Message 1 of 2
(2,581 Views)
You should look into satellite dlls for the menu text. If you go to MSDN and search for "satellite dll" you should find some good resources. For starters, you might want to look at this article called Localized Resources in MFC Applications: Satellite DLLs.

To add bitmaps next to menu items, you'll have to owner draw the menu items. The example attached to the Microsoft Knowledge Base article Q71061 - MenuBmp.exe Contains Owner-Draw Menus with Bitmaps might be a good place to get started.

- El
ton
0 Kudos
Message 2 of 2
(2,581 Views)