control box and menues
-
Hello, everybody. I have an application in which I will have a control box with several data to fill in, several data to be updated, and some command buttons. I also like to add menu facilities. If I used the mfc (exe) wizard application, either I create a single document or a control-box based application. So, 1. How do I include a control box without having a menu command to invoke it, I mean that the control box appears when I start the application. 2. How do I include menues facilities to the control-box based application? I have been looking the online help, ans some manuals I have got without success. Thank you very much, Eric Manuel Rosales Pena Alfaro PhD student Unversity of Essex Wivenhoe Park Colchester, CO4 3SQ Essex, Uk email: emrosa@essex.ac.uk tel: +44-01206-87311
-
Hello, everybody. I have an application in which I will have a control box with several data to fill in, several data to be updated, and some command buttons. I also like to add menu facilities. If I used the mfc (exe) wizard application, either I create a single document or a control-box based application. So, 1. How do I include a control box without having a menu command to invoke it, I mean that the control box appears when I start the application. 2. How do I include menues facilities to the control-box based application? I have been looking the online help, ans some manuals I have got without success. Thank you very much, Eric Manuel Rosales Pena Alfaro PhD student Unversity of Essex Wivenhoe Park Colchester, CO4 3SQ Essex, Uk email: emrosa@essex.ac.uk tel: +44-01206-87311
I think you need to read about dialogs, CFormView and related topics. To create an application with a CFormView with the wizard, create a SDI ( or MDI ) application and on the last panel, select CFormView as the base class of your view class. the wizard will open the resource editor for the form, where you'll place the different controls. To create a dialog based application. with the wizard, on the second panel, choose dialog based ( instead of single or multiple document ). and follow the instructions. For what you want, I'd suggest going with the first choice, use a CFormView base application. Max.