Re: obtaining a directory listing



Marco Quezada wrote:

Hi all,

I am building a toolbar to allow fast access to commonly used files. I
have a menu bar where each menu is a directory. I'd like to know if it
is possible to dynamically load the contents of a directory into the
pulldown menu.


yes, why not. You can use opendir()/readdir() to traverse the list of
files in the desired directory, and then add them as you load them into
the pulldown menu.

cheers





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]