Re: How to change "File" "Edit" "View" etc in the menu



At run time, you can get the public menu handle (m_hmenuShared) from the
doctemplate and manipulate it the way you want it. Keep in mind that for
MDI, you will need to do this possibly for multiple doctemplates.

--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx


"hamishd" <Hamish.Dean@xxxxxxxxx> wrote in message
news:1169954622.435197.238770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi, how do I change the menus, File, Edit, View, Options, Help?
I do Options like below, but this is easy as I created this menu with
the ID: ID_OPTIONS. But File etcd doesn't have an ID?? So how do I
change them (i want to change the language)?

GetMenu()->ModifyMenu(0, MF_BYPOSITION, ID_FILE ????, _T("FILE"));
GetMenu()->ModifyMenu(3, MF_BYPOSITION, ID_OPTIONS, _T("OPTIONS"));
DrawMenuBar();

Also, how do i change sub-menu items?

Thanks



.