INFO: CPropertyPage::CancelToClose() Documented Incorrectly (130591)



The information in this article applies to:

  • The Microsoft Foundation Classes (MFC), when used with:
    • Microsoft Visual C++ 1.52
    • Microsoft Visual C++, 32-bit Professional Edition 2.0
    • Microsoft Visual C++, 32-bit Professional Edition 2.1
    • Microsoft Visual C++, 32-bit Professional Edition 2.2

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.

Modification Type:MajorLast Reviewed:12/9/2003
Keywords:kbBug kbdocerr kbdocfix KbUIDesign kbVC400fix KB130591