SelectionTree Control

[This is preliminary documentation and subject to change.]

This special control is designed to present some of the information in the Feature Table to the user and allow the user to change the selection state of some items.

Property

String valued, the name of the directory property that will be set by the browse dialog.

Valid Style Bits

Enabled
Indirect
Sunken
Visible

Valid Control Attributes

Enabled
Indirect
IndirectPropertyName
Position
PropertyName
PropertyValue
Text
Visible
WindowHandle

Control Events Published

SelectionAction
SelectionBrowse
SelectionDescription
SelectionIcon
SelectionPath
SelectionPathOn
SelectionSize

Can Take Focus

Yes.

Related Strings in the UIText Table

AbsentPath The path displayed for an item in the absent state.

The following six strings are used to display the number of children selected and the size associated with the highlighted item.

SelChildCostPos
SelChildCostNeg
SelParentCostPosPos
SelParentCostPosNeg
SelParentCostNegPos
SelParentCostNegNeg

The following strings are used to display the available selection options for an item in a popup menu.

MenuAbsent
MenuLocal
MenuCD
MenuNetwork

The following strings are used to explain the present selection in the SelectionDescription control event.

SelAbsentAbsent
SelAbsentLocal
SelAbsentCD
SelAbsentNetwork
SelLocalAbsent
SelLocalLocal
SelLocalCD
SelLocalNetwork
SelCDAbsent
SelNetworkAbsent
SelCDLocal
SelNetworkLocal
SelCDCD
SelNetworkNetwork

The following four localized strings are used in formatting the size of a file.

Bytes
KB
MB
GB

Remarks

This control is created with the WC_TREEVIEW class and the WS_BORDER, TVS_HASLINES, TVS_HASBUTTONS, TVS_LINESATROOT, TVS_DISABLEDRAGDROP, TVS_SHOWSELALWAYS, WS_CHILD, WS_TABSTOP, WS_GROUP styles.

Note  The selection tree gets populated only if the CostInitialize and CostFinalize actions were all previously called.