Directory List Box Control

See AlsoEH8ZCR             Properties15ROEWL          Events1TXI7A1             Methods17ODQTA


A directory list box displays directories and paths at run timeCYRM35.  You can use this control to display a hierarchical list of directories.  This is useful if you want to create dialog boxes that, for example, enable the user to open a file from a list of files in all available directories.


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


BackColor1W9T6JQ                ForeColor1W9T6JQ               Name2016V9P

DragIcon3G3M07O                  HeightL14VJZ                    Parent17GLLBF

DragModeS9LGP1                HelpContextID764PDR        PathBKGP79

Enabled3XD4FN                    hWnd1CIW7KQ                     TabIndexH38QPT

FontBold5NZYQSD                  Index3MKW18P                      TabStop81MAWZ

FontItalic5NZYQSD                  Left1CIZPD6                        Tag6GI6KP

FontNameB3RMO3                ListBKCX6E                         Top1CIZPD6

FontSizeB3WV13                   ListCount4E91QN                Visible32KNZA4

FontStrikethru5NZYQSD          ListIndex4K7KHR                WidthL14VJZ

FontUnderline5NZYQSD           MousePointer1VSV6UM        




Change8DZUNR                  KeyPressPFFDUA

Click68UQAKP                      KeyUpRI06O6

DragDrop1EBOJGL               LostFocus2ZXQDAR

DragOver2TUGMAC               MouseDownD0VNMJ

GotFocus32EWUCC               MouseMove1D70SW5

KeyDownRI06O6                MouseUpD0VNMJ




Drag2IEV8PA                      SetFocus4AVBOY

Move103G76J                      ZOrder1YQ29TM




See Also


Drawing a Control2JRMWVS

Drive List Box Control5WJO0PW

File List Box Control1M6S8UX


Programmer's Guide:

Chapter 3, "Creating and Using Controls"

Chapter 18, "Using the File-System Controls"