Condividi tramite


CMFCKeyMapDialog::CMFCKeyMapDialog

Constructs a CMFCKeyMapDialog object.

CMFCKeyMapDialog(
   CFrameWnd* pWndParentFrame,
   BOOL bEnablePrint=FALSE 
);

Parameters

  • [in] pWndParentFrame
    A pointer to the parent window of the CMFCKeyMapDialog object.

  • [in] bEnablePrint
    TRUE if the list of accelerator keys can be printed; otherwise, FALSE. The default is FALSE.

Example

The following example demonstrates how to construct an object of the CMFCKeyMapDialog class. This example is part of the Visual Studio Demo sample.

    // this points to a CMainFrame class which extends the 
    // CMDIFrameWndEx class
    CMFCKeyMapDialog dlg(this, TRUE /* Enable Print */);

Requirements

Header: afxkeymapdialog.h

See Also

Reference

CMFCKeyMapDialog Class

Hierarchy Chart