BCGControlBar Pro for MFC
virtual int CBCGPKeyMapDlg::OnPrintHeader ( CDC &  dc,
int  nPage,
int  cx 
) const

Called by the framework to print the header on the new page for the key map.

This function is called by the framework when the key map is being printed to print the header on each new page.

The default implementation prints the page number, the application name and the dialog's title.

Override the OnPrintHeader member function in a CBCGPKeyMapDlg - derived class to customize this behavior.

dcSpecifies a printer's device context.
nPageSpecifies the number of the page to print.
cxSpecifies the horizontal offset of the header.