virtual BOOL OnKillActive( );
Return Value
Nonzero if data was updated successfully, otherwise 0.
Remarks
This member function is called by the framework when the page is no longer the active page. Override this member function to perform special data validation tasks.
The default implementation of this member function copies settings from the controls in the property page to the member variables of the property page. If the data was not updated successfully due to a dialog data validation (DDV) error, the page retains focus.
After this member function returns successfully, the framework will call the page’s OnOK function.
CPropertyPage Overview | Class Members | Hierarchy Chart
See Also CWnd::UpdateData, CPropertyPage::OnOK, CPropertyPage::OnSetActive