BCGControlBar Pro for MFC
CBCGPRecentFilesListBox

Detailed Description

The CBCGPRecentFilesListBox class implements a functionality of owner draw list box, which can display a list of recent files.

You can take advantage of this control in Ribbon-based applications with Backstage View. You need to call CBCGPRecentFilesListBox::FillList to get the list box initialized from the recently used files list.

See BCGPMSOfficeDemo example for more info.

+ Inheritance diagram for CBCGPRecentFilesListBox:

Public Member Functions

 FillListFills list box with recently used files.
 
- 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).
 
 BCGPModifyStyleRecreates control with new styles.
 
 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.