Mail Archives: djgpp/1998/08/21/02:30:21
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 |
---------------------------------------------------------------------
- Raw text -