CDC::IsPrinting

Determines whether the device context is being used for printing.

BOOL IsPrinting( ) const;

Return Value

Nonzero if the CDC object is a printer DC; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart