Thread: Add Menu to Dialog Application

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    35

    Question Add Menu to Dialog Application

    Can anyone tell me how to add a Menu to a Dialog Application
    using MFC classes

    I have created a resource, but not associated it to class, which class do I use, CMenu is not in the drop down list.


    Compiler: VC++

    Many Thanks

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    You dont need to associate your menu resource with any class. Once you've created the menu with the resource editor, go to your dialog resource. Now look at the dialog properties, and you should see a drop-down box titled Menu. From this drop-down box, you can select your menu.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  2. closing the Save_As dialog kills the application?!?
    By chanyees in forum Windows Programming
    Replies: 2
    Last Post: 05-02-2004, 07:15 PM
  3. how to set this dialog to this
    By stallion in forum Windows Programming
    Replies: 3
    Last Post: 01-31-2003, 05:19 PM
  4. How to add ico to the menu like the "My favourite"??
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-26-2002, 01:19 AM
  5. can we minimize a dialog based application
    By vicky in forum Windows Programming
    Replies: 6
    Last Post: 09-27-2001, 07:59 PM