CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    44

    SDI - App with Menu

    Hi!

    I want to create a SDI - App, but without the standard menu ( IDR_MAINFRAME ).
    How can I delete the standard menu and then insert a new menu with a new ID ( ID_MyMenu )?

    And, furhter on, after that, what do I have to do to control single menu items?
    For example I want some menu items to be grayed at the beginning of the app and then, if some
    conditions are set, I want to enable them.

    Thanks in advance
    Normen

    --
    apartis AG http://www.apartis.de
    Normen Mueller

  2. #2
    Join Date
    May 1999
    Posts
    388

    Re: SDI - App with Menu

    The purpose of the already supplied menu is that it should be modified it required. If you wanna change it all, just delete all the entries and put your own ones.


  3. #3
    Join Date
    May 1999
    Posts
    44

    Re: SDI - App with Menu

    OK, it works!

    But what about to control the menu items?
    I set 'm_bAutoMenuEnable = FALSE;' and now I want to disable rsp. gray one menu item, what do I
    have to do?

    --Normen

    --
    apartis AG http://www.apartis.de
    Normen Mueller

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured