CPrintDialog::GetPrinterDC

This method returns a handle to the printer device context if the Print dialog box is displayed. Call the Windows CE DeleteDC function to delete the device context when you are done using it.

At a Glance

Header file: Afxdlgs.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

HDC GetPrinterDC( ) const;