I need to display dialogs as tabs?
-
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!!
-
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!!
-
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!!
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