共用方式為


CMFCKeyMapDialog::PrintKeyMap

Called by the framework when a user clicks the Print button.

virtual void PrintKeyMap();

Remarks

The PrintKeyMap method prints the key map. It initiates a new print job and then repeatedly calls the CMFCKeyMapDialog::OnPrintHeader and CMFCKeyMapDialog::OnPrintItem methods until all the key mappings are printed.

Requirements

Header: afxkeymapdialog.h

See Also

Reference

CMFCKeyMapDialog Class

Hierarchy Chart

CDC Class