BCGControlBar Pro for MFC
CBCGPListBox

Detailed Description

The CBCGPListBox class implements drawing of a list box control using Visual Manager. It's also designed to support drawing on "Aero Glass". In addition, this control supports the following features:

  • Group caption
  • Multi-line item description
  • Item icon
  • Pinned items
  • Enabled/disabled items
  • Item tooltip
  • Item color bar
+ Inheritance diagram for CBCGPListBox:

Public Member Functions

 AddCaptionAdds a caption row.
 
 AddSeparatorAdds a separator.
 
 CleanUpClean up the control content.
 
 EnableEnables/disabled item.
 
 EnableItemDescriptionEnables the items description.
 
 EnableItemHighlightingEnables the items highlighting.
 
 EnablePinsEnables the list items pin button.
 
 GetColorBarWidthGets color bar width.
 
 GetDefaultItemGets default item.
 
 GetItemBarColorGets item's bar color.
 
 GetItemDescriptionGets item's description.
 
 GetItemExtraHeightGets item extra height.
 
 GetItemIconGets item icon.
 
 GetItemImageGets item image.
 
 GetItemImageSizeGets item image size.
 
 GetItemIndentGets item indentation.
 
 GetItemNotificationBadgeColorGets item notification badge background color.
 
 GetItemNotificationBadgeNumberGets item's notification badge numeric value.
 
 GetItemToolTipGets item tooltip text.
 
 GetItemToolTipDescriptionGets item tooltip description.
 
 GetNoContentLabelGets a text label appearing in the middle of control when the list is empty.
 
 HasItemDescriptionsChecks if this control has items description.
 
 HasPinsChecks if this control has items pin button.
 
 IsCaptionItemTells whether a specified list box item is a caption item.
 
 IsCaptionItemsLargeFontTells whether caption items should be drawn using a large font.
 
 IsEnabledTells whether the item is enabled or not.
 
 IsItemHighlightingEnabledTells whether the item highlighting is enabled.
 
 IsItemPinnedTells whether the item is pinned or not.
 
 IsSeparatorItemTells whether a specified list box item is a separator.
 
 RemoveItemNotificationBadgeRemoves a notification badge associated with the item.
 
 ResetPinsResets all pins.
 
 SetCaptionItemsLargeFontSpecify whther caption items should be drawn using a large font.
 
 SetColorBarWidthSets color bar width.
 
 SetDefaultItemSets a default (bold) item.
 
 SetImageListSets image list.
 
 SetImageListSets image list.
 
 SetItemColorBarSets item's color bar.
 
 SetItemDescriptionSets item's description.
 
 SetItemExtraHeightSets list box item extra height.
 
 SetItemIconSets item icon.
 
 SetItemImageSets item image.
 
 SetItemIndentSets item indentation (in pixels).
 
 SetItemNotificationBadgeSets a numeric notification badge associated with the item.
 
 SetItemPinnedSets item pinned state.
 
 SetItemToolTipSets item's tool tip.
 
 SetNoContentLabelSpecify a text label appearing in the middle of control when the list is empty.
 

Public Attributes

 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.