Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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