| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: list-box directory-string &key static-text drive-p current-directory-p
This function is hooked directly into older Windows functionality for
listing the files of a directory into a list-box control (a single-item-list
,
multi-item-list
, or combo-box
). This
functionality does not handle long file names, and was somewhat awkard
to use. It is more straightforward to simply call directory to find the files that are in a
directory, and then call (setf range) on the control to list the files
there. Subdirectories only may be shown by including only those files
for which file-directory-p returns true.
There is an example in the description of files-to-list-box showing how to
display in a single-item-list
without using
files-to-list-box. That example
could be adapted to replace this function.
This is a more specialized function than files-to-list-box. It lists subdirectories only. This could be achieved with files-to-list-box, but this function is a bit simpler to call in the common case of listing subdirectories. The arguments work the same as in files-to-list-box.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |