Поделиться через


CPropertyPage::OnReset

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

virtual void OnReset( );

Заметки

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.

Пример

See the example for CPropertyPage::OnCancel.

Требования

Header: afxdlgs.h

См. также

Основные понятия

CPropertyPage Class

CPropertyPage Members

Hierarchy Chart

CPropertyPage::OnCancel

CPropertyPage::OnApply