BUG: Class Wizard Generates Incorrect CScrollBar Class NameLast reviewed: July 22, 1997Article ID: Q131990 |
1.50 1.51 1.52
WINDOWS
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSIf Class Wizard is used to add a DDX_Control Member Variable of type pointer to CScrollBar on a dialog box or a formview, the following error message is generated when you compile the code:
error C2501: 'CScrollbar' : missing decl-specifiersThis problem does not occur with:
CAUSEThe Class Wizard incorrectly generates the class name for CScrollBar. Instead of generating CScrollBar, it generates "CScrollbar" (note the lowercase "b" in the class name).
RESOLUTIONManually change CScrollbar to CScrollBar after the code is generated by the Class Wizard.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |