FIX: ClassWizard | Member Variables Loses Member VariablesLast reviewed: September 19, 1997Article ID: Q155142 |
The information in this article applies to:
SYMPTOMSWhen you use ClassWizard, Member Variables, Add Variable to add member variables associated with the controls on a dialog box template to a dialog box class or a property page class, the Member Variables page loses variables when you switch tabs in the ClassWizard. Consequently, the member variables are not added to the class definitions.
RESOLUTIONBefore you switch tabs in the ClassWizard and after you add the member variables, save the member variables by clicking the OK button in the ClassWizard to exit. This adds the member variables to your class definitions and enables the ClassWizard to display member variables in the subsequent use of the ClassWizard.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual C++ version 5.0.
MORE INFORMATION
Steps to Reproduce Behavior
NOTE: This is not a problem in Visual C++ 4.0 and 4.1.
|
Additional query words: Add Variables
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |