Microsoft DirectX 8.1 (C++) |
The InitialiseWindow method initializes the window.
Syntax
virtual InitialiseWindow(
HWND hwnd
);
Parameters
hwnd
Handle to the window.
Return Value
Returns S_OK.
Remarks
By default, this method retrieves a handle to the window's device context (DC) and creates a compatible memory DC. If the value of the CBaseWindow::m_bDoGetDC flag is FALSE, however, this method does not retrieve the device contexts. The memory DC is useful for selecting bitmaps before blitting them to the window.
The CBaseWindow::DoCreateWindow method calls this method.
See Also