Freigeben über


CWnd::PrintClient

Call this member function to draw any window in the specified device context (usually a printer device context).

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

Parameters

  • pDC
    A pointer to a device context.

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

    • PRF_CHECKVISIBLE   Draw the window only if it is visible.

    • PRF_CHILDREN   Draw all visible children windows.

    • PRF_CLIENT   Draw the client area of the window.

    • PRF_ERASEBKGND   Erase the background before drawing the window.

    • PRF_NONCLIENT   Draw the nonclient area of the window.

    • PRF_OWNED   Draw all owned windows.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

WM_PRINTCLIENT