I recently bought a book “ Visual C++ 6 Teach yourself in 24 hours.
I have a basic understanding of C++, but I wanted to learn Windows applications.
I am having problems with the SDI Applications. I have done the project listed in the book at least 50 times and it always ends the same way.
1. I use the MFC AppWizard to create a project, single document
2. I create the Dialog box .
3. I Customize it.
4. I add a simple static control.
5. I create a class for it.
6. I add a message handler
7. I update the code in ChelloDlg::OnInitDialog
8. I add a menu choice for the Dialog.
9. I add a message handling function
10. I update the CmainFrame::OnFileHello with the supplied code.
11. I build the exec, it compiles 0 errors 0 warnings
12. I execute the program, and all I get is a single window, there is no dialog box there.
13. Can you help? ……. jim
I have a basic understanding of C++, but I wanted to learn Windows applications.
I am having problems with the SDI Applications. I have done the project listed in the book at least 50 times and it always ends the same way.
1. I use the MFC AppWizard to create a project, single document
2. I create the Dialog box .
3. I Customize it.
4. I add a simple static control.
5. I create a class for it.
6. I add a message handler
7. I update the code in ChelloDlg::OnInitDialog
8. I add a menu choice for the Dialog.
9. I add a message handling function
10. I update the CmainFrame::OnFileHello with the supplied code.
11. I build the exec, it compiles 0 errors 0 warnings
12. I execute the program, and all I get is a single window, there is no dialog box there.
13. Can you help? ……. jim