BCGControlBar Pro for MFC
CBCGPKeyMapDlg

Detailed Description

A "key map dialog" is a resizable dialog box that an application can use to show keyboard command mapping. It consists of a list view control that displays the current key assignments by category and by accelerator table. The following picture is the example of this dialog look & feel:

The CBCGPKeyMapDlg class is mostly informative. It could be a good addition to the application help topic. If you want use the CBCGPKeyMapDlg class in application, just construct the object, pass the main frame window as a parameter to the constructor and call the DoModal member function to invoke the modal dialog box.

See also
CBCGPKeyboardManager
+ Inheritance diagram for CBCGPKeyMapDlg:

Public Member Functions

 CBCGPKeyMapDlgConstructs a CBCGPKeyMapDlg object.
 
 DoModalDisplays a keyboard mapping dialog box.
 
- Public Member Functions inherited from CBCGPDialog
 CBCGPDialogConstructs a CBCGPDialog object
 
 CBCGPDialogConstructs a CBCGPDialog object
 
 AutoResizeControlsEnable auto-resizing check boxes, radio buttons and static labels.
 
 ClosePopupDlgCloses the popup dialog.
 
 DoDrawSpecialAreaOnNCInitiates drawing of specific area on the dialog box edges (non-client area). If you're calling this method, you should handle BCGM_ONDRAWNCSPECIALAREA registered message in your dialog class.
 
 EnableAeroAdds "Aero Glass" either to whole dialog, or to some of its margins.
 
 EnableDragClientAreaAllows to drag the dialog box by clicking inside the client area.
 
 EnableExpandEnables expanding and collapsing of the dialog's part.
 
 EnableExpandEnables expanding and collapsing of the dialog's part.
 
 EnableLayoutEnables or disables layout manager for a dialog box
 
 EnableLoadWindowPlacementEnables loading/saving window placement from/to the registry.
 
 EnableVisualManagerStyleAdds visual theme support to the dialog
 
 ExpandExpands or collapses the dialog box.
 
 GetAeroMarginsRetrieves the dialog "aero" (glass) margins.
 
 GetInfoTipControlGets a dialog control with currently active info tip.
 
 GetLayoutReturns a pointer to layout manager.
 
 HasAeroMarginsTells whether a window has "aero" (glass) margins.
 
 IsDragClientAreaEnabledTells whether a drag client area is enabled.
 
 IsExpandAreaSpecialBackgroundTells whether a dialog expanded area has a special background.
 
 IsExpandedTells whether the dialog box is expanded.
 
 IsGroupBoxesDrawByParentTells whether group box control is rendered by parent window.
 
 IsLayoutEnabledTells whether layout management is enabled for a dialog box.
 
 IsOwnerDrawCaptionTells whether a dialog has an owner-draw caption.
 
 IsVisualManagerNCAreaTells whether a non-client area of the window uses visual manager style.
 
 IsVisualManagerStyleTells whether a window uses visual manager style.
 
 IsWindowPlacementEnabledTells whether loading/saving window placement from/to the registry is enabled.
 
 IsWsCaptionStyleTells whether a window with themed non-client area is created with WS_CAPTION style.
 
 OnAfterExpandCalled by the framework after the dialog was expanded.
 
 OnBeforeExpandCalled by the framework before the dialog is expanded.
 
 SetBackgroundColorSets a new background color
 
 SetBackgroundImageSets the dialog box's background image
 
 SetBackgroundImageSets the dialog box's background image
 
 SetControlInfoTipAdds an information tip to the dialog child control specified by control ID.
 
 SetControlInfoTipAdds an information tip to the dialog child control specified by window.
 
 SetEditBoxesSimplifiedBrowseIconSpecifies whether all edit boxes located on the window should have simplified icons.
 
 SetEditBoxesVerticalAlignmentSpecifies vertical alignment for all edit boxes located on the window (single-line only).
 
 SetExpandAreaSpecialBackgroundSpecifies whether a dialog expanded area has a special (usually darker) background.
 
 SetGroupBoxesDrawByParentEnables drawing group box controls by the parent window.
 

Protected Member Functions

 FormatItemCalled by the framework when it needs to format a key(s) associated with a command to the text string.
 
 GetCommandKeysReturns a string that contains a list of keys associated with the given command.
 
 OnInsertItemCalled by the framework when a new item is being inserted into the key map dialog's list control.
 
 OnPrintHeaderCalled by the framework to print the header on the new page for the key map.
 
 OnPrintItemCalled by the framework to print an item.
 
 OnSetColumnsCalled by the framework when it needs to set captions for the columns in the internal list control.
 
 PrintKeyMapCalled by the framework when user clicks "Print" button.
 
 SetColumnsWidthCalled by the framework to set the width of the columns in the internal list control.
 

Additional Inherited Members

- Public Types inherited from CBCGPDialog
enum  BackgroundLocation
 
- Protected Attributes inherited from CBCGPDialog
 m_bDisableShadowsSpecifies whether the dialog custom shadows should be disabled.