Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. I need to display dialogs as tabs?

I need to display dialogs as tabs?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BenPage
    wrote on last edited by
    #1

    Hi there. I want to create a dialog, with a menu ( file, help, edit etc.), and with tabs on the dialog. Basically like the display properties dialog that you get when you right click on your windows desktop, just with a menu added. Also, I want to add dialogs as the tabs, dialogs that I created separately. Now if I use a CPropertySheet class, this allows me to add and display the dialogs, right? But how do I get a menu on the main dialog. And what if I want to add a button and a combobox on the main dialog, not on one of the tabs, but on the part of the main dialog that is not tabs. Thanks for the help!!

    T B 2 Replies Last reply
    0
    • B BenPage

      Hi there. I want to create a dialog, with a menu ( file, help, edit etc.), and with tabs on the dialog. Basically like the display properties dialog that you get when you right click on your windows desktop, just with a menu added. Also, I want to add dialogs as the tabs, dialogs that I created separately. Now if I use a CPropertySheet class, this allows me to add and display the dialogs, right? But how do I get a menu on the main dialog. And what if I want to add a button and a combobox on the main dialog, not on one of the tabs, but on the part of the main dialog that is not tabs. Thanks for the help!!

      T Offline
      T Offline
      TEOlivier
      wrote on last edited by
      #2

      Mmm this is a difficult one...

      1 Reply Last reply
      0
      • B BenPage

        Hi there. I want to create a dialog, with a menu ( file, help, edit etc.), and with tabs on the dialog. Basically like the display properties dialog that you get when you right click on your windows desktop, just with a menu added. Also, I want to add dialogs as the tabs, dialogs that I created separately. Now if I use a CPropertySheet class, this allows me to add and display the dialogs, right? But how do I get a menu on the main dialog. And what if I want to add a button and a combobox on the main dialog, not on one of the tabs, but on the part of the main dialog that is not tabs. Thanks for the help!!

        B Offline
        B Offline
        BambooMoon
        wrote on last edited by
        #3

        The book The MFC Answer Book by Eugene Kain has simple instructions for adding a property sheet to a dialog (and then the dialog could hold other controls that are outside of the property sheet, one of your other points). The book VC++ MFC Extensions by Example by John Swanke has simple instructions for putting a menu in a dialog. I have found both of these books, as well as Swanke's Visual C++ MFC Programming by Example extremely helpful over the years. They contain many, many practical helpful things that you wish you knew how to do, on a wide variety of MFC subjects. I'm sure that you could find instructions on the internet for these also with a little searching

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups