Export (0) Print
Expand All
MFC
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.