A Directory Box widget allows the user to select parts of a file path.
First, it is filled with a string comprising a file path, like
"/a/b/c". Then, the user can select "/a/b/c",
"/a/b", "/a", and "/" from the drop-down
list. The entries in the drop-down list are automatically provided with
icons by consulting the file-associations registry settings. The Directory
Box sends SEL_CHANGED and SEL_COMMAND messages, with the
string containing the full path to the selected item.
Options
DIRBOX_NO_OWN_ASSOC: | do not create associations for files
|
Events
The following messages are sent by FXDirBox to
its target:
SEL_CHANGED: | sent when the current item changes; the message data is the new current directory.
|
SEL_COMMAND: | sent when the current item changes; the message data is the new current directory.
|