Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SHCOLSTATE

Describes how a property should be treated. These values are defined in Shtypes.h.

Constant/valueDescription
SHCOLSTATE_DEFAULT
0x00000000

The value is displayed according to default settings for the column.

SHCOLSTATE_TYPE_STR
0x00000001

The value is displayed as a string.

SHCOLSTATE_TYPE_INT
0x00000002

The value is displayed as an integer.

SHCOLSTATE_TYPE_DATE
0x00000003

The value is displayed as a date/time.

SHCOLSTATE_TYPEMASK
0x0000000f

A mask for display type values SHCOLSTATE_TYPE_STR, SHCOLSTATE_TYPE_STR, and SHCOLSTATE_TYPE_DATE.

SHCOLSTATE_ONBYDEFAULT
0x00000010

The column should be on by default in Details view.

SHCOLSTATE_SLOW
0x00000020

Will be slow to compute. Perform on a background thread.

SHCOLSTATE_EXTENDED
0x00000040

Provided by a handler, not the folder.

SHCOLSTATE_SECONDARYUI
0x00000080

Not displayed in the context menu, but is listed in the More... dialog.

SHCOLSTATE_HIDDEN
0x00000100

Not displayed in the UI.

SHCOLSTATE_PREFER_VARCMP
0x00000200

VarCmp produces same result as IShellFolder::CompareIDs.

SHCOLSTATE_PREFER_FMTCMP
0x00000400

PSFormatForDisplay produces same result as IShellFolder::CompareIDs.

SHCOLSTATE_NOSORTBYFOLDERNESS
0x00000800

Do not sort folders separately.

SHCOLSTATE_VIEWONLY
0x00010000

Only displayed in the UI.

SHCOLSTATE_BATCHREAD
0x00020000

Marks columns with values that should be read in a batch.

SHCOLSTATE_NO_GROUPBY
0x00040000

Grouping is disabled for this column.

SHCOLSTATE_FIXED_WIDTH
0x00001000

Can't resize the column.

SHCOLSTATE_NODPISCALE
0x00002000

The width is the same in all dpi.

SHCOLSTATE_FIXED_RATIO
0x00004000

Fixed width and height ratio.

SHCOLSTATE_DISPLAYMASK
0x0000F000

Filters out new display flags.

Requirements

Minimum supported client

Windows Vista, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shtypes.h

IDL

Shtypes.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.