Microsoft DirectX 9.0 |
The OnClose method handles WM_CLOSE messages.
Syntax
virtual BOOL OnClose(void);
Return Value
Returns TRUE.
Remarks
In the base class, this method simply hides the window. Typically, a derived class will override this method so that it sends an EC_USERABORT event as well. Do not override the method to destroy the window. Instead, call the CBaseWindow::DoneWithWindow method when the owning filter is destroyed.
See Also