CWnd::GetWindowDC

Call this member function to retrieve the display context for the entire window, including caption bar, menus, and scroll bars.

Syntax

CDC* GetWindowDC( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::ReleaseDC, CWnd::GetDC, CWindowDC