Article ID: 172400
Article Last Modified on 12/10/2003
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
- Microsoft Visual C++ 1.52 Professional Edition
This article was previously published under Q172400
SYMPTOMS
ClassWizard generated applications created in Visual C++ versions 2.0 and later give the user the ability to override some MFC virtual functions through the ClassWizard interface. However, ClassWizard projects converted to Visual C++ 32-bit edition from Visual C++ 16-bit edition do not have this ability.
MORE INFORMATION
To reproduce this problem:
- Start Visual C++, 16-bit edition, and create an AppWizard-generated application.
- Close Visual C++, 16-bit edition.
- Start Visual C++, 32-bit edition.
- From the File menu, open the 16-bit project's make file by selecting Open in Visual C++ 2.x, or Open Workspace in Visual C++ 4.0 and later. Visual C++ will ask if you want to convert the make file. Click yes.
- Start ClassWizard. From the dialog box, choose the CWinApp-derived class name from the Class Name list box, then choose the CWinApp-derived class name from the Object IDs list box. Notice that no messages are listed in the Messages list box.
- Close this project and create a new AppWizard-generated application in Visual C++ versions 2.0 and later. Repeat step 5. Notice the overridable functions available to the CWinApp-derived class in ClassWizard.
Keywords: kbbug kbvc500fix kbprb kbwizard KB172400