BCGSuite for MFC
CBCGPCheckComboBox

Detailed Description

The CBCGPCheckComboBox class extends the functionality of CBCGPComboBox by supporting item check boxes.

+ Inheritance diagram for CBCGPCheckComboBox:

Public Member Functions

 GetCheckGets the item's check state.
 
 GetCheckCountGets checked items count.
 
 GetDelimeterReturns a delimeter that displayed between the checked items in the window text.
 
 GetStateReturns the items state mask.
 
 IsExcludeFirstItemFromTextTells whether a first list item (e.g., "Select all") should be excluded from the window text.
 
 SetCheckSets the item's check state.
 
 SetDelimeterSpecifies a delimeter that displayed between the checked items in the window text. A default value is semicolon (";").
 
 SetExcludeFirstItemFromTextSpecifies whether a first list item (e.g., "Select all") should be excluded from the window text.
 
 SetStateSets items state by mask.
 
- Public Member Functions inherited from CBCGPComboBox
 AdjustDroppedWidthAdjust dropped-down list width. The horizontal size will be width of the widest combo box item.
 
 BCGPModifyStyleRecreates control with new styles.
 
 EnableAutoCompleteEnables the automatic complete.
 
 GetEditCtrlCalled by the framework to obtain an in-place edit box.
 
 GetErrorMessageGets error message.
 
 GetHorizontalPaddingGets item horizontal padding.
 
 GetItemImageGets item image.
 
 GetItemIndentGets item indentation.
 
 GetPromptReturns a prompt (displayed when the combo box text is empty).
 
 GetVerticalPaddingGets item vertical padding.
 
 IsAutoCompleteEnabledTells whether automatic complete is enabled.
 
 IsAutoRecreatedTells whether the control was automatically recreated ("owner draw" + "has strings" styles were added).
 
 IsItemGroupStartTells whether the item is a group start.
 
 IsThemedDropDownListCalled by the frame to check if drop down list is themed or not.
 
 SetErrorMessageSets a custom error message.
 
 SetHorizontalPaddingSets item horizontal padding.
 
 SetImageListSets image list.
 
 SetImageListSets image list.
 
 SetItemGroupStartSets item group start.
 
 SetItemImageSets item image.
 
 SetItemIndentSets item indentation (in pixels).
 
 SetPromptSets a prompt displayed when the combo box text is empty.
 
 SetVerticalPaddingSets item vertical padding.
 

Protected Member Functions

 OnParseEditTextCalled by the framework when the window text needs to be parsed (not called for control created with CBS_DROPLIST style).
 
 OnPrepareTextCalled by the framework when the window text needs to be prepared.
 
- Protected Member Functions inherited from CBCGPComboBox
 OnAfterRecreateCalled by the framework after control was recreated by calling BCGPModifyStyle() method.
 
 OnCopyItemDataCalled by the framework when control is recreated in BCGPModifyStyle() method.
 

Additional Inherited Members

- Public Attributes inherited from CBCGPComboBox
 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.
 
- Static Public Attributes inherited from CBCGPComboBox
 m_bOptimizedSelectionSpecifies whether an already selected item shouldn't be redrawn when control receives CB_SETCURSEL message.