|
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.
dc | Specifies a printer's device context. |
nItem | Specifies the index of the item to print. |
y | Specifies the vertical offset from the top of the page. |
cx | Specifies the horizontal offset from the left of the page. |
bCalcHeight | Specifies whether this function should calculate the optimal item's height for the given device context. |