CPropertyPage::OnOK
See Also
CPropertyPage Overview | Class Members | Hierarchy Chart | CDialog :: OnOK | CPropertyPage :: OnKillActive
This member function is called by the framework when the user chooses either the OK or the Apply Now button, immediately after the framework calls OnKillActive.
virtual void OnOK( );
Remarks
When the user chooses either the OK or the Apply Now button, the framework receives the PSN_APPLY notification from the property page. The call to OnOK won't be made if you call CPropertySheet :: PressButton because the property page does not send the notification in that case.
Override this member function to implement additional behavior specific to the currently active page when user dismisses the entire property sheet.
The default implementation of this member function marks the page as "clean" to reflect that the data was updated in the OnKillActive function.
Partager