CBaseWindow.PrepareWindow method
The PrepareWindow
method creates the window.
Syntax
virtual HRESULT PrepareWindow();
Parameters
This method has no parameters.
Return value
Returns an HRESULT value. Possible values include those shown in the following table.
Return code | Description |
---|---|
|
Success. |
|
Failure. |
Remarks
Call this method after creating the object. This method performs some initial bookkeeping and then calls the CBaseWindow::DoCreateWindow method to create the window.
Requirements
Header |
|
Library |
|