Hi, I would like to get some advices concerning the use of MFC AppWizard.exe for my above purpose.
I want to create an application with MFC AppWizard including both a menu ( with file, edit, help and so on) and a dialog box, both in the same window, i.e. the menu bar above the dialog box.
The usual window calculator has a similar appearance:
-the menu with edit ( copy and paste) and view ( standard, scientific etc...)
- the dialog box, with all the digits, an edit box where the numbers must be input, the multiplication, addition, substraction buttons....
I have chosen to create an application with MFC AppWizard then «*multiple documents*», and I obtain automaticaly an application with a menu bar, a toolbar, and a blank window, but unfortunately no dialog-box.
And if I do «*insert*» , «*dialog*» , I obtain a new dialog box which don't appear when I build and launch the application.
1) How can I do to put my new dialog box under the title of my application and the menu-bar?
2) I have also another problem:
in my menu-bar, I would like to put into place a «*browse*» button which would allow to select whatever file.txt in the Hard Disk Drive, and an other button «*edit*» which would allow to modify this .txt file.
Do you know any possibility to create these buttons without having to type too much code ?
Thank you very much for your responses!
I want to create an application with MFC AppWizard including both a menu ( with file, edit, help and so on) and a dialog box, both in the same window, i.e. the menu bar above the dialog box.
The usual window calculator has a similar appearance:
-the menu with edit ( copy and paste) and view ( standard, scientific etc...)
- the dialog box, with all the digits, an edit box where the numbers must be input, the multiplication, addition, substraction buttons....
I have chosen to create an application with MFC AppWizard then «*multiple documents*», and I obtain automaticaly an application with a menu bar, a toolbar, and a blank window, but unfortunately no dialog-box.
And if I do «*insert*» , «*dialog*» , I obtain a new dialog box which don't appear when I build and launch the application.
1) How can I do to put my new dialog box under the title of my application and the menu-bar?
2) I have also another problem:
in my menu-bar, I would like to put into place a «*browse*» button which would allow to select whatever file.txt in the Hard Disk Drive, and an other button «*edit*» which would allow to modify this .txt file.
Do you know any possibility to create these buttons without having to type too much code ?
Thank you very much for your responses!