The information in this article applies to:
SYMPTOMSClassWizard creates incorrect code for a handler for the UDN_DELTAPOS notification message of the CSpinButtonCtrl common control. RESOLUTIONThe generated handler function will look like this (assuming that the CSpinButtonCtrl is in a dialog):
Modify the code to look like this:
By typecasting the pointer to the NMHDR structure, you can access
additional data that is passed after the NMHDR.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++, 32-bit Edition, version 4.0. REFERENCESFor more information about the CSpinButtonCtrl and the up down common control, please see the Class Library Reference in Books Online and the Win32 Software Development Kit (SDK) documentation. Additional query words: 2.10 3.10 ClassWizard
Keywords : kbwizard kbMFC kbVC |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |