BCGControlBar Pro for MFC
virtual int CBCGPKeyMapDlg::OnPrintItem ( CDC &  dc,
int  nItem,
int  y,
int  cx,
BOOL  bCalcHeight 
) const
protectedvirtual

Called by the framework to print an item.

This function is called by the framework to print a key map dialog's item. The default implementation prints the following three columns: command name, associated keys and command description.

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

Parameters
dcSpecifies a printer's device context.
nItemSpecifies the index of the item to print.
ySpecifies the vertical offset from the top of the page.
cxSpecifies the horizontal offset from the left of the page.
bCalcHeightSpecifies whether this function should calculate the optimal item's height for the given device context.