The FOLDERSETTINGS structure is passed from one folder view to another when the user is browsing. It calls IShellView::GetCurrentInfo to get the current settings and passes them to IShellView::CreateViewWindow to allow the next folder view to “inherit” it. These setttings assume a particular UI, which the shell’s folder view has. Shell extensions may or may not use these settings.
typedef struct { UINT ViewMode; UINT fFlags; }FOLDERSETTINGS; *LPFOLDERSETTINGS;
Value |
Meaning |
FVM_ICON |
The large icon is displayed. |
FVM_SMALLICON |
The small icon is displayed. |
FVM_LIST |
Object names are displayed in a list view. |
FVM_DETAILS |
Object names and other selected information is shown, such as the size or date last updated. |
Value |
Description |
FWF_AUTOARRANGE |
Automatically arrange the elements in the view. This implies LVS_AUTOARRANGE if the ListView control is used to implement the view. |
FWF_ABBREVIATEDNAMES |
Names should be abbreviated. This value is not currently supported. |
FWF_SNAPTOGRID |
Items should be arranged on a grid. This value is not currently used. |
FWF_OWNERDATA |
This value is not currently used. |
FWF_BESTFITWINDOW |
Enable the best-fit window mode. Let the view size the window to fit its contents as well as possible. |
FWF_DESKTOP |
Make the folder behave like the desktop. This value applies only to the desktop view and is not used for typical shell folders. |
FWF_SINGLESEL |
Do not allow more than a single item to be selected. This is used in the common dialogs. |
FWF_NOSUBFOLDERS |
Do not show subfolders. |
FWF_TRANSPARENT |
Draw transparently. This is used only for the desktop. |
FWF_NOCLIENTEDGE |
Do not add WS_EX_CLIENTEDGE to the folder. This is used only for the desktop. |
FWF_NOSCROLL |
Do not add scroll bars. This is used only for the desktop. |
IShellView::CreateViewWindow, IShellView::GetCurrentInfo
file: /Techref/os/win/api/win32/struc/src/str08_8.htm, 5KB, , updated: 2000/4/7 11:14, local time: 2024/11/12 11:47,
3.144.4.81:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/Techref/os/win/api/win32/struc/src/str08_8.htm"> FOLDERSETTINGS</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
The Backwoods Guide to Computer Lingo |
.