From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Listing files in a window Date: Fri, 21 Aug 1998 00:30:05 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 33 Message-ID: <35DCF7CD.E06A00B7@cs.net> References: <1998082104193400 DOT AAA17164 AT ladder01 DOT news DOT aol DOT com> NNTP-Posting-Host: ppp136.cs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk IIibanezII wrote: > > could someone show me how (source code or examples) to list files from the > current directory in a window, how to change drives, change directories, etc. > Any input is appreciated, thanks in advance! It's unclear what your intention is in asking this question. Are you talking about using the preexisting Windows GUI and dialog interface, or are you talking about a custom GUI or TUI? In other words, do you want to use somebody else's window or make your own, and do you want to do it in graphics mode or text mode? In any case, there's no need to reinvent the wheel, as you have quite a few options in libraries that already exist. The RSXNTDJ package allows you to build native Win32 apps with the DJGPP compiler. There are several libraries such as SWORD, Allegro, JPTUI, and others for designing custom non-Windows interfaces. It all depends on your needs and your taste. If you want to design your own custom interface from scratch, that's far too large a topic to discuss in a single message. I suggest that you look for other libraries and toolkits and learn how they work, then adapt the code to suit your needs. hth! -- --------------------------------------------------------------------- | John M. Aldrich | "A woman is not property, and hus- | | aka Fighteer I | bands who think otherwise are living | | mailto:fighteer AT cs DOT net | in a dreamworld." | | http://www.cs.net/fighteer/| - Lazarus Long | ---------------------------------------------------------------------