CWnd::PrintWindow

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


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

pDC

A pointer to the device context to be printed to.

nFlags

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

Nonzero if the function succeeds; otherwise 0.

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

Header: afxwin.h

Adiciones de comunidad

Mostrar: