mfc >> Replace the current menu with another set of menu

by Jamal Larhzal-Gramberg » Wed, 03 Dec 2003 19:53:44 GMT

Hi everybody,

I wouhld like to replace the current menu with another set of menu.
but I didn't finde in MSDN any way to fullfil this.

I am very gratefull for any suggestion

Jamal





mfc >> Replace the current menu with another set of menu

by Jamal Larhzal-Gramberg » Wed, 03 Dec 2003 20:22:59 GMT


Hi,

I forgot to mention, that I am working in MFC MDI structur.
I hope this information will help.

Thanks

Jamal

"Jamal Larhzal-Gramberg" < XXXX@XXXXX.COM > schrieb im






mfc >> Replace the current menu with another set of menu

by Anand » Thu, 04 Dec 2003 00:20:25 GMT

Hi Jamal,
Add your menu through the resource editor and then name it IDR_MAINFRAME
(after either deleting the existing IDR_MAINFRAME menu resource or renaming
it to something else).
Anand.







Similar Threads

1. replace start menu with my own menu

2. How to Disable current menu and Show another menu

Hi To All,
       My problem is i created one menu like File in that some sub
menu's are login,logout,module selection..........My question is when
i selected any option from file menu first it has to show the dialog
box after selecting options it has to show another menu which i
created.
        Any one can help me how to create this,i am jest stated to
learn c++ using MFC

3. replace system menu with another

4. Replace context menu by dialog?

I want to create dialog which will appeare neare to cursor in
editView, and I have idea, i want to replace context menu by this
dialog? Can i do  that?
If not, please tell me how to create dialog which won't appeare in
task bar?

5. Replace form's system menu - Delphi VCL Component

6. build context menu from menu strip

Hi,

I build the menu strip using the designer.I want the context menu of
the form to be  same as  the of children of one of the top leven Menu
strip item.


Items["actionToolStripMenuItem"] gives me a ToolStripItem object but
it does not have a hierarchy, no parents no children.

How do i do this in c#?

I tried

this.ContextMenuStrip.Items.AddRange(Menu.Items.Find("actionToolStripMenuItem",true));

but that line removes it from the menustrip and adds it to context
menu



TIA

7. Menu & Context Menu - CSharp/C#

8. Context Menu - Microsofts standard file context menu

How can I display MS's standard file context menu that appears when you right 
click on a file in windows explorer?
(The one with Open With, Edit, Send To, Cut, Paste, etc, etc, etc)