CWnd::Print

void Print( CDC* pDC, DWORD dwFlags ) const;

Parameters

pDC

A pointer to a device context.

dwFlags

Specifies the drawing options. This parameter can be one or more of these flags:

Remarks

Call this member function to draw the current window in the specified device context, which is most commonly in a printer device context.

CWnd::DefWindowProc function processes this message based on which drawing option is specified:

CWnd OverviewClass MembersHierarchy Chart

See Also   WM_PRINT, WM_PRINTCLIENT