|Microsoft DirectX 9.0|
The OnDeactivate method is called when the dialog box window is destroyed.
virtual HRESULT OnDeactivate(void);
The base-class implementation returns S_OK.
The CBasePropertyPage::Deactivate method calls the OnDeactivate method. Override OnDeactivate to release any resources that the derived class obtained in the CBasePropertyPage::OnActivate method, or to perform other tasks as needed.