CPropertyPage::OnReset

This member function is called by the framework when the user chooses the Cancel button.

virtual void OnReset( );

Remarks

When the framework calls this function, changes to all property pages that were made by the user previously choosing the Apply Now button are discarded, and the property sheet retains focus.

Override this member function to specify what action the program takes when the user clicks the Cancel button.

The default implementation of OnReset does nothing.

Example

See the example for CPropertyPage::OnCancel.

Requirements

Header: afxdlgs.h

See Also

Reference

CPropertyPage Class

Hierarchy Chart

CPropertyPage::OnCancel

CPropertyPage::OnApply

Other Resources

CPropertyPage Members