BCGSuite for MFC
CBCGPDragListBox

Detailed Description

The CBCGPDragListBox class implements a list box that allows users to move items within the control. Generally, this control is very similar to MFC CDragListBox, but it has visual themes support and other CBCGPListBox features such as pinned items support, color bars and others.

See also
CBCGPListBox
+ Inheritance diagram for CBCGPDragListBox:

Public Member Functions

 AllowDragDisabledItemsSpecifies whether dragging of disabled items is allowed.
 
 IsDisabledItemsDragAllowedTells whether dragging of disabled items is allowed.
 
- Public Member Functions inherited from CBCGPListBox
 AddCaptionAdds a caption row.
 
 AddSeparatorAdds a separator.
 
 AreAutoToolTipsTells whether the control has automatically created tooltips (appear in item when not enough space to display the whole text).
 
 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.
 
 IsAlternateRowColorTells whether this control has alternate (even/odd) row colors.
 
 IsAutoRecreatedTells whether the control was automatically recreated ("owner draw" + "has strings" styles were added).
 
 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.
 
 SetAlternateRowColorSpecifies whether this control has alternate (even/odd) row colors.
 
 SetAutoToolTipsSpecifies whether the control has automatically created tooltips (appear in item when not enough space to display the whole text).
 
 SetCaptionItemsLargeFontSpecify whether 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.
 

Additional Inherited Members

- Public Attributes inherited from CBCGPListBox
 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 CBCGPListBox
 OnAfterRecreateCalled by the framework after control was recreated by calling BCGPModifyStyle() method.
 
 OnCopyItemDataCalled by the framework when control is recreated in BCGPModifyStyle() method.