Поделиться через


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;

Параметры

  • 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.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

WM_PRINTCLIENT