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


CWnd::PrintWindow

Copies a visual window into the specified device context, typically a printer DC.

BOOL PrintWindow(
   CDC* pDC,
   UINT nFlags
) const;

Parameters

  • pDC
    A pointer to the device context to be printed to.

  • nFlags
    Specifies the drawing options. For a list of possible values, see PrintWindow.

Return Value

Nonzero if the function succeeds; otherwise 0.

Remarks

This member function emulates the functionality of the function PrintWindow, as described in the Windows SDK.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

Concepts

CWnd Members