CWindow::PrintClient

Sends a WM_PRINTCLIENT message to the window to request that it draw its client area in the specified device context.

void PrintClient( 
   HDC hDC, 
   DWORD dwFlags  
) const throw();

Parameters

  • hDC
    [in] The handle to a device context.

  • dwFlags
    [in] Specifies drawing options. You can combine one or more of the following flags:

    • PRF_CHECKVISIBLE   Draw the window only if it is visible.

    • PRF_CHILDREN   Draw all visible child windows.

    • PRF_CLIENT   Draw the client area of the window.

    • PRF_ERASEBKGND   Erase the background before drawing the window.

    • PRF_NONCLIENT   Draw the non-client area of the window.

    • PRF_OWNED   Draw all owned windows.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::Print