FOLDERFLAGSFOLDERFLAGS*
*Contents  *Index  *Topic Contents
*Previous Topic: STRRET
*Next Topic: FOLDERVIEWMODE

FOLDERFLAGS


typedef enum{
    FWF_AUTOARRANGE         = 0x0001,
    FWF_ABBREVIATEDNAMES    = 0x0002,
    FWF_SNAPTOGRID          = 0x0004,
    FWF_OWNERDATA           = 0x0008,
    FWF_BESTFITWINDOW       = 0x0010,
    FWF_DESKTOP             = 0x0020,
    FWF_SINGLESEL           = 0x0040,
    FWF_NOSUBFOLDERS        = 0x0080,
    FWF_TRANSPARENT         = 0x0100,
    FWF_NOCLIENTEDGE        = 0x0200,
    FWF_NOSCROLL            = 0x0400,
    FWF_ALIGNLEFT           = 0x0800,
    FWF_NOICONS             = 0x1000,
    FWF_SINGLECLICKACTIVATE = 0x8000
} FOLDERFLAGS;

Set of flags used to specify folder view options.

FWF_AUTOARRANGE
Automatically arrange the elements in the view. This implies LVS_AUTOARRANGE if the list view control is used to implement the view.
FWF_ABBREVIATEDNAMES
Names should be abbreviated. This flag is not currently supported.
FWF_SNAPTOGRID
Items should be arranged on a grid. This flag is not currently supported.
FWF_OWNERDATA
This flag is not currently supported.
FWF_BESTFITWINDOW
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.
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 the WS_EX_CLIENTEDGE value to the view. This is used only for the desktop.
FWF_NOSCROLL
Do not add scroll bars. This is used only for the desktop.
FWF_ALIGNLEFT
The view should be left-aligned. This implies LVS_ALIGNLEFT if the list view control is used to implement the view.
FWF_NOICONS
The view should not display icons.
FWF_SINGLECLICKACTIVATE
This flag is not currently supported.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.