Add Menu to Dialog Application

This is a discussion on Add Menu to Dialog Application within the Windows Programming forums, part of the Platform Specific Boards category; Can anyone tell me how to add a Menu to a Dialog Application using MFC classes I have created a ...

  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,265
    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, 04:18 PM
  2. closing the Save_As dialog kills the application?!?
    By chanyees in forum Windows Programming
    Replies: 2
    Last Post: 05-02-2004, 08: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, 08:59 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21