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

См. также

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

CWnd Class

CWnd Members

Hierarchy Chart