The folder flags are used to specify how the control displays its content.
Most of these flags can be or'ed together.
http://msdn.microsoft.com/en-us/library/bb762508(VS.85).aspx
| C# | Visual Basic | Visual C++ |
[FlagsAttribute] public enum FolderFlags
<FlagsAttribute> _ Public Enumeration FolderFlags
[FlagsAttribute] public enum class FolderFlags
| Member | Description |
|---|---|
| AutoArrange | Automatically arrange the elements in the view. This implies LVS_AUTOARRANGE if the list view control is used to implement the view. |
| AbbreviatedNames | Abbreviate names. This flag is not currently supported. |
| SnapToGrid | Arrange items on a grid. This flag is not currently supported. |
| OwnerData | |
| BestFitWindow | This flag is not currently supported. |
| Desktop | Enable the best-fit window mode. Let the view size the window so that its contents fit inside the view window in the best possible manner. |
| SingleSelection | Do not allow more than a single item to be selected. This is used in the common dialog boxes. |
| NoSubFolders | Do not show subfolders. |
| Transparent | Draw transparently. This is used only for the desktop. |
| NoClientEdge | This flag is not currently supported. |
| NoScroll | Do not add scroll bars. This is used only for the desktop. |
| AlignLeft | The view should be left-aligned. This implies LVS_ALIGNLEFT if the list view control is used to implement the view. |
| NoIcons | The view should not display icons. |
| ShowSelectionAlways | Always show the selection. |
| NoVisible | This flag is not currently supported. |
| SingleClickActivate | This flag is not currently supported. |
| NoWebView | The view should not be shown as a Web view. |
| HideFilenames | The view should not display file names. |
| CheckSelect | Turns on the check mode for the view. |
| NoEnumRefresh | Windows Vista and later: Do not re-enumerate the view (or drop the current contents of the view) when the view is refreshed. |
| NoGrouping | Windows Vista and later: Do not allow grouping in the view |
| FullRowSelect | Windows Vista and later: When an item is selected, the item and all its sub-items are highlighted. |
| NoFilters | Windows Vista and later: Do not display filters in the view. |
| NoColumnHeader | Windows Vista and later: Do not display a column header in the view in any view mode. |
| NoHeaderInAllViews | Windows Vista and later: Only show the column header in details view mode. |
| ExtendedTiles | Windows Vista and later: When the view is in "tile view mode" the layout of a single item should be extended to the width of the view. |
| TriCheckSelect | Windows Vista and later: Check boxes have 3 modes: unchecked, SVSI_CHECK, SVSI_CHECK2. |
| AutoCheckSelect | Windows Vista and later: Items can be selected using checkboxes. |
| NoBrowserViewState | Windows Vista and later: The view should not save view state in the browser. |
| SubsetGrouops | Windows Vista and later: The view should list the number of items displayed in each group. To be used with IFolderView2::SetGroupSubsetCount. |
| UseSearchFolder | Windows Vista and later: Use the search folder for stacking and searching. |
| AllowRtlReading | Windows Vista and later: Ensure right-to-left reading layout. |