Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to print the header for the keyboard map on a new page.
virtual int OnPrintHeader(
CDC& dc,
int nPage,
int cx
) const;
Parameters
[in] dc
The device context for the printer.[in] nPage
The page number to print.[in] cx
The horizontal offset of the header, in pixels.
Return Value
If successful, the height of the printed text. For more information, see the Return Value section of CDC::DrawText.
Remarks
The framework uses this method to print the keyboard map. By default, this method prints the page number, application name, and dialog box title.
Requirements
Header: afxkeymapdialog.h