CBaseWindow::GetMemoryHDC

Retrieves the default memory device context (DC).

virtual HDC GetMemoryHDC( );

Return Values

Returns the default memory DC.

Remarks

The base window class creates a window with a worker thread when it is prepared (in CBaseWindow::PrepareWindow). It also creates two DCs that can be used for drawing. The first is a normal window handle to a device context (HDC); the second is an offscreen HDC that can be used as a source HDC in bit-block transfer functions.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.