Drive List Box Control

See Also1UHRBBW              Properties54HZ935         Events1PPQ39L             Methods13GLMM1


A drive list box enables the user to select a valid disk drive at run timeCYRM35.  You can use this control to display a list of all the valid drives in the user's system.  This is useful if you want to create dialog boxes that enable the user to open a file from a list of files on a disk in a different drive.


Set the ListBKCX6E, ListCount4E91QN, and ListIndex4K7KHR properties to enable a user to access items in the list.  If you also display a directory list box and file list box, you can write code to synchronize them with the drive list box and with each other.


BackColor1W9T6JQ              FontUnderline5NZYQSD         MousePointer1VSV6UM

DragIcon3G3M07O                ForeColor1W9T6JQ               Name2016V9P

DragModeS9LGP1              HelpContextID764PDR        Parent17GLLBF

DriveYLV8AS                      HeightL14VJZ                    TabIndexH38QPT

Enabled3XD4FN                  hWnd1CIW7KQ                     TabStop81MAWZ

FontBold5NZYQSD                 Index3MKW18P                      Tag6GI6KP

FontItalic5NZYQSD                Left1CIZPD6                        Top1CIZPD6

FontNameB3RMO3               ListBKCX6E                         Visible32KNZA4

FontSizeB3WV13                 ListCount4E91QN                WidthL14VJZ

FontStrikethru5NZYQSD         ListIndex4K7KHR




Change8DZUNR                  KeyDownRI06O6

DragDrop1EBOJGL               KeyPressPFFDUA

DragOver2TUGMAC               KeyUpRI06O6

GotFocus32EWUCC               LostFocus2ZXQDAR




Drag2IEV8PA                      SetFocus4AVBOY

Move103G76J                      ZOrder1YQ29TM




See Also


Directory List Box ControlO9U5A0

Drawing a Control2JRMWVS

File List Box Control1M6S8UX


Programmer's Guide:

Chapter 3, "Creating and Using Controls"

Chapter 18, "Using the File-System Controls"