INFO: CPropertyPage::CancelToClose() Documented Incorrectly
Article ID: 130591
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 1.52 Professional Edition
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 6.01 Professional Edition
This article was previously published under Q130591
SUMMARY
The documentation for the CancelToClose member function of the
CPropertyPage class states that this function changes the text of the
Cancel button to read Close. This is incorrect.
The implementation of the CPropertyPage::CancelToClose() function
actually does the following two things:
- Disables the property sheet's Cancel button.
- Changes the text of the property sheet's OK button to read Close.
This problem was fixed in Microsoft Visual C++, 32-bit Edition, version
4.0.
Additional query words: 1.52 2.00 2.10 2.52 3.00 3.10 4.00
Keywords: kbbug kbdocerr kbdocfix kbuidesign kbvc400fix KB130591