CBaseWindow::ActivateWindow
Sizes the window according to the requirements of the derived class.
virtual HRESULT ActivateWindow( );
Return Values
Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.
E_FAIL | Failure. |
E_NOTIMPL | Method is not supported. |
NOERROR | No error. |
Remarks
This member function calls CBaseWindow::GetDefaultRect, which a derived class should override to return the size of the images that will be displayed. ActivateWindow then sizes the window so that the client area matches this size.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.