This method, in its default form, does nothing. You can override this method to allocate any GDI resources, such as pens or fonts, needed specifically for printing. You can also use this method to perform initializations that depend on properties of the printer device context.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
virtual void OnBeginPrinting( CDC* pDC, CPrintInfo* pInfo );