BCGControlBar Pro for MFC
CBCGPColorComboBox

Detailed Description

The CBCGPColorComboBox class provides the functionality that allows to create combo box controls containing a list of available colors.

See also
CBCGPComboBox
+ Inheritance diagram for CBCGPColorComboBox:

Public Member Functions

 AddColorAdds a new color item to the combo box.
 
 EnableNoneColorEnables the "none" (empty) color.
 
 FindIndexByColorSearches for the item which has a given color.
 
 GetDefaultColorReturns an RGB value associated with a default color.
 
 GetItemColorReturns an RGB value associated with a given item or (COLORREF)-1 for "no color" item
 
 GetSelectedColorReturns an RGB value associated with a currently selected item.
 
 IsNoneColorEnabledTells whether a "none" color is enabled or not.
 
 SetAccentColorsFill the combo box with a predefined set of "Accent" colors.
 
 SetDefaultColorSpecifies a default color appearance.
 
 SetStandardColorsFill the combo box with a standard set of colors.
 
 SetSystemColorsFill the combo box with the system colors set.
 
- Public Member Functions inherited from CBCGPComboBox
 AdjustDroppedWidthAdjust dropped-down list width. The horizontal size will be width of the widest combo box item.
 
 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.
 
 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.
 

Static Public Member Functions

 GetSystemColorNameGets system color name.
 
 SetAccentColorNameSets a new name for the specific accent color
 
 SetSystemColorNameSets system color name.
 

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.