|
-
April 26th, 1999, 10:45 AM
#1
How can I place a Menu Bar in a dialog-based App?
I have created a dialog-based application which works fine so far. What needs to be added is a menu bar.
Alternatively, could anyone tell me how to make a Dialog the main window of an SDI app?
-
April 26th, 1999, 10:59 AM
#2
Re: How can I place a Menu Bar in a dialog-based App?
SetMenu.
Sincerely, Mihai
-
April 26th, 1999, 11:34 AM
#3
Re: How can I place a Menu Bar in a dialog-based App?
What you need to do is to create a menu in the resource-editor. After that you have to edit your dialog-resources. Activate the property-dialog for your dialog (right mouse button on the title of your dialog). There is a combobox named menu on the first page of the property-dialog. Select your newly created menu. Select the page named "Format" in the property-dialog and change the Style of your dialog to popup. Thats all.
Another way is to let AppWizard create a simple SDI-Application for you. In the last step of the wizzard you have to change the BaseClass of the View to CFormView. Check out what the AppWizard has done for you.
Michael Hagen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|