[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.
The property associated with this control can be only string valued.
CDROMVolume
Enabled
FixedVolume
FloppyVolume
Indirect
RAMDiskVolume
RemoteVolume
RemovableVolume
Sunken
Visible
Default
Enabled
Indirect
IndirectPropertyName
Position
PropertyName
PropertyValue
Text
Visible
WindowHandle
None.
Windows: Yes.
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.