Share via


CBasePropertyPage::OnDeactivate

 
Microsoft DirectShow 9.0

CBasePropertyPage::OnDeactivate

The OnDeactivate method is called when the dialog box window is destroyed.

Syntax

  virtual HRESULT OnDeactivate(void);

Return Value

The base-class implementation returns S_OK.

Remarks

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.

Requirements

**  Header:** Declared in Cprop.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also