共用方式為


_VSTREEDISPLAYSTATE Enum

Definition

Specifies the bit fields of interest in the State member of the VSTREEDISPLAYDATA structure.

public enum class _VSTREEDISPLAYSTATE
public enum class _VSTREEDISPLAYSTATE
enum _VSTREEDISPLAYSTATE
public enum _VSTREEDISPLAYSTATE
type _VSTREEDISPLAYSTATE = 
Public Enum _VSTREEDISPLAYSTATE
Inheritance
_VSTREEDISPLAYSTATE

Fields

Name Value Description
TDS_SELECTED 2

For internal use. Do not set.

TDS_CUT 4

Set to indicate that the item is selected for a cut-paste operation.

TDS_DROPHILITED 8

Set to indicate that the item is highlighted as a drag-drop target.

TDS_BOLD 16

Set to indicate that item text is bold.

32

Draws item text in same color as IE link, underlines, and changes cursor on mouse-over.

TDS_OVERLAYMASK 3840

For internal use. Do not set.

TDS_STATEIMAGEMASK 61440

Set to indicate that an image file handle is specified in VSTREEDISPLAYDATA.

TDS_USERMASK 61440

Same as TDS_STATEIMAGEMASK.

TDS_FORCESELECT 65536

For internal use. Do not set.

TDS_GRAYTEXT 131072

Set to indicate that item text is grayed out.

TDS_EXPANDED 262144

Used for notification only. Do not set.

TDS_TEXTTYPEMASK 15728640

For internal use. Do not set.

Remarks

COM Signature

From vsshell.idl:

TDS_EXPANDED is passed in to GetDisplayData to indicate that a tree list node has been expanded. This could be used to return a different display glyph based on the expanded state.

Applies to