DirectoryCombo Control

[This is preliminary documentation and subject to change.]

This is a special control designed for use on a browse dialog. It is designed to be used with a PathEdit control and a DirectoryList control on the same dialog. It lets the user select the main part of a path (everything except the last segment). It displays the available volumes in an alphabetical order and the steps of the currently displayed path in a hierarchical way. If the main part of the currently selected path contains any folders that do not exist, those files are displayed with a different icon. The property associated with this control has to have an initial value, and this value has to contain at least two steps (a volume and at least one level below). The selection of the initial style bits determines what kind of volumes are listed.

Property

The property associated with this control can be only string valued.

Valid Style Bits

CDROMVolume
Enabled
FixedVolume
FloppyVolume
Indirect
RAMDiskVolume
RemoteVolume
RemovableVolume
Sunken
Visible

Valid Control Attributes

Default
Enabled
Indirect
IndirectPropertyName
Position
PropertyName
PropertyValue
Text
Visible
WindowHandle

Control Events Published

None.

Can Take Focus

Windows: Yes.

Remarks

The control is created with the "COMBOBOX" class with the CBS_DROPDOWNLIST, CBS_OWNERDRAWFIXED, CBS_HASSTRINGS, WS_CHILD, WS_GROUP, WS_TABSTOP and WS_VSCROLL styles.