BCGControlBar Pro for MFC
CBCGPShellList

Detailed Description

The CBCGPShellList class provides the functionality of the Windows list control that can display a list of Shell items.

+ Inheritance diagram for CBCGPShellList:

Public Member Functions

 AreThumbnailsTells whether thumbnails are drawn instead of the file icons in the "Large Icons" mode.
 
 ChangeFolderChanges a current folder.
 
 CreateFolderCreates a new item under the currently displayed folder.
 
 DisplayFolderGiven a textual path to a folder or BCGCBITEMINFO describing a folder displays a list of items contained in this folder.
 
 DisplayFolderGiven a textual path to a folder or BCGCBITEMINFO describing a folder displays a list of items contained in this folder.
 
 DisplayParentFolderDisplays a list of items contained in the folder that is the parent of the currently displayed folder.
 
 EnableShellContextMenuEnables or disables the context menu.
 
 EnableSystemUserInputEnables the system user input.
 
 EnableThumbnailsSpecifies whether thumbnails are drawn instead of the file icons in the "Large Icons" mode.
 
 GetCurrentFolderRetrieves the path to the current folder.
 
 GetCurrentFolderNameRetrieves the name of the current folder.
 
 GetCurrentItemIdListReturns PIDL of the current list control item.
 
 GetCurrentShellFolderReturns a pointer to the current Shell folder.
 
 GetItemPathReturns a textual path to an item.
 
 GetItemTypesReturns Shell item types that are displayed by the list control.
 
 IsAlwaysSortItemsTells whether list control items should be sorted in all list control modes. By default, the items are sorted in "Report View" mode only.
 
 IsDesktopDetermines whether the currently selected folder is the desktop folder.
 
 IsSystemUserInputEnabledTells whether the system user input is specified.
 
 OnFormatFileDateCalled by the framework when the list control should display the file date.
 
 OnFormatStrFileSizeCalled by the framework when the list control displays a file size.
 
 OnGetItemIconRetrieves an item icon.
 
 OnGetItemTextRetrieves a list control item text.
 
 OnSetColumnsCalled by the framework when it sets the names of the columns.
 
 RefreshRefreshes the list control.
 
 RegisterShellNotificationCall this method to specify whther this controls should receive Windows shell notification and update the content.
 
 RemoveItemDelete item.
 
 RenameItemRename item.
 
 SetAlwaysSortItemsSpecifies whether list control items should be sorted in all list control modes. By default, the items are sorted in "Report View" mode only.
 
 SetItemTypesSets the type of items displayed by the list control.
 
- Public Member Functions inherited from CBCGPListCtrl
 EnableMarkSortedColumnEnables an ability to mark a selected column by a different background color.
 
 EnableMultipleSortEnables multiple sort mode.
 
 EnableSortExSpecifies whether LVM_SORTITEMSEX message will be used for the items sorting. By default, LVM_SORTITEMS is being used.
 
 EnableSortingSpecifies whether column sorting is enabled.
 
 EnableThemedInplaceTooltipSpecifies whether list control inplace tooltip should be themed.
 
 EnableThemedSelectionSpecifies whether a list control selected item should be drawn using a current Visual Theme.
 
 GetHeaderCtrlReturns a reference to underlined header control.
 
 IsGrayDisabledItemsTells whether the text of the disabled list control is grayed.
 
 IsMultipleSortDetermines whether the list control is in multiple sort mode.
 
 IsSortExTells whether LVM_SORTITEMSEX message is used for the items sorting.
 
 IsSortingEnabledTells whether column sorting is enabled.
 
 IsThemedInplaceTooltipTells whether a list control inplace tooltip should be drawn using a current Visual Theme.
 
 IsThemedSelectionTells whether a list control selected item should be drawn using a current Visual Theme.
 
 OnGetCellBkColorCalled by the framework when it needs to determine the background color of an individual cell in a list control.
 
 OnGetCellFontCalled by the framework when it needs to obtain the font for the cell being drawn.
 
 OnGetCellTextColorCalled by the framework when it needs to determine the text color of an individual cell in a list control.
 
 RemoveSortColumnRemoves the specified sort column from the list of sorted columns.
 
 SetGrayDisabledItemsSpecifies whether the text of the disabled list control is grayed.
 
 SetSortColumnSets the current sorted column and its sort order.
 
 SortImmediately sorts the list control.
 

Protected Member Functions

 OnAfterRenameItemCalled by the framework after item was renamed.
 

Additional Inherited Members

- Public Attributes inherited from CBCGPListCtrl
 m_bVisualManagerStyleSpecifies whether a control has a Visual Manager style look.