VolumeSelectCombo Control

[This is preliminary documentation and subject to change.]

This is a special control designed to a volume from a list of volumes. It lists the volumes in alphabetical order. The types of controls displayed is determined by the style bits of the control.

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 as a"COMBOBOX" with the CBS_DROPDOWNLIST, CBS_OWNERDRAWFIXED, CBS_HASSTRINGS, WS_VSCROLL, WS_CHILD, WS_GROUP, WS_TABSTOP and CBS_SORT styles.

For compatibility with screenreaders, when authoring a dialog with an VolumeSelectCombo control as the first active control, you must make the text field belonging to the edit field the first active control in the Dialog Table. Since the static text cannot take focus, when the dialog is created the edit field will have the focus initially as intended, but doing this ensures that screenreaders show the correct information.