BCGControlBar Pro for MFC
CKeyAssign

Detailed Description

The CKeyAssign class provides the extended functionality of Windows edit control that is able to recognize various system buttons (like Alt, Control, Shift) and their combination with the regular buttons and display them in user-friendly form (Alt+B, for example). BCGControlBar Library uses this feature during customization process when the uses assigns accelerators.

See also
CBCGPKeyHelper
+ Inheritance diagram for CKeyAssign:

Public Member Functions

 CKeyAssignConstructs a CKeyAssignObject
 
 GetAccelReturns the underlined accelerator key.
 
 IsKeyDefinedDetermines whether an accelerator key has been defined.
 
 ResetKeyResets the accelerator key.
 
- Public Member Functions inherited from CBCGPEdit
 ClosePopupDlgCalled by the framework when the popup dialog is closed.
 
 EnableBrowseButtonEnables or disables the browse button.
 
 EnableCalculatorButtonEnables browse button and puts the edit control in "calculator mode".
 
 EnableFileBrowseButtonEnables browse button and puts the edit control in "file browse mode".
 
 EnableFolderBrowseButtonEnables browse button and puts the edit control in "folder browse mode".
 
 EnablePasswordPreviewEnables the password preview mode.
 
 EnablePopupDialogEnables drop button and puts the edit control in "popup dialog" mode.
 
 EnablePopupDialogEnables drop button and puts the edit control in "popup dialog" mode.
 
 EnableSearchModeEnables or disables search mode.
 
 GetColorThemeGets edit box custom color theme.
 
 GetErrorMessageGets error message.
 
 GetModeReturns the current browse mode.
 
 GetPromptReturns a prompt (displayed when the edit box text is empty).
 
 GetSearchPromptReturns a text string to be displayed in edit box in "search" mode.
 
 GetVerticalAlignmentGets a text vertical alignment.
 
 IsDisableBrowseButtonInReadOnlyModeTells whether edit box "Browse" button is disabled in control read-only mode.
 
 IsDroppedDownTells whether edit box has an active dropped-down list.
 
 IsSearchModeSpecifies whether the edit control is working the "search" mode.
 
 IsSimplifiedBrowseIconTells whether edit box "Browse" button's icon is simplified.
 
 OnBeforeShowPopupDlgCalled by the framework before the popup dialog is displayed.
 
 SetBrowseButtonImageAllows to set a custom button image.
 
 SetBrowseButtonImageAllows to set a custom button image.
 
 SetBrowseButtonImageAllows to set a custom button image.
 
 SetBrowseButtonToolTipSets browse button tool tip.
 
 SetColorThemeSets a custom color theme.
 
 SetDisableBrowseButtonInReadOnlyModeEnables or disables edit box "Browse" button in control read-only mode.
 
 SetErrorMessageSets a custom error message.
 
 SetPromptSets a prompt displayed when the edit box text is empty.
 
 SetSimplifiedBrowseIconSpecifies whether edit box "Browse" button should have simplified icon.
 
 SetVerticalAlignmentSpecifies a text vertical alignment (single-line only).
 

Additional Inherited Members

- Public Attributes inherited from CBCGPEdit
 m_bOnGlassSpecifies whether a control is located on the "glass" (DWM) area of the parent window.
 
 m_bVisualManagerStyleSpecifies whether a control has a Visual Manager style look.
 
- Protected Member Functions inherited from CBCGPEdit
 OnAfterUpdateCalled by the framework when the edit control has been updated with the result of browse action.
 
 OnBrowseCalled by the framework when the user has clicked the browse button.
 
 OnCalculatorUserCommandCalled by the framework when a custom calculator command should be executed.
 
 OnDrawBrowseButtonCalled by the framework when it needs to draw the browse button.
 
 OnGetAutoCompleteListThis method is called by the framework when user types a text in "auto-complete" mode.
 
 OnIllegalFileNameCalled by the framework when the edit control contains an illegal file name and this name is used in a file dialog.