home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!dtix!mimsy!afterlife!dpkemp
- From: dpkemp@afterlife.ncsc.mil (David P. Kemp)
- Newsgroups: alt.toolkits.xview
- Subject: Re: HELP! Find all files of a directory in Xview
- Message-ID: <1992Dec30.194143.29909@afterlife.ncsc.mil>
- Date: 30 Dec 92 19:41:43 GMT
- References: <1992Dec24.055841.14790@dec8.ncku.edu.tw> <lk0avrINN228@thor.cs.utexas.edu> <RICKG.92Dec29084107@irondude.eng.sun.com>
- Organization: The Great Beyond
- Lines: 28
-
- rickg@eng.sun.com writes:
- > wangbs@casd1.iie.ncku writes:
- > > How can I program to find all files of a directory in Xview. I want to
- > > it like the "Open" option of "File" pop-up menu in Turbo C. In Turbo C,
- > > you can select the Open option to list many files that you can select.
- > > Since I am not good at Xview, it is better to have a example code to show
- > > me. HELP!!!
- >
- >according to the SunSoft toolkit strategy annoncement that
- >appeared awhile back, the XView toolkit itself will eventually
- >contain such an object. i guess it depends on when you need
- >it...
- >
-
- I don't know what Turbo C does, but it sounds like "gfm" is what you
- want. It pops up a scrolling list of files, lets you navigate, and
- returns the filename and directory in separate strings when you
- double-click a regular file.
-
- For a simple example, check out the "rasview" program in the Devguide
- examples directory. Works like a champ for me.
-
-
- --
- Dave Kemp dpkemp@afterlife.ncsc.mil
- -----------------------------------------------------------------------------
- "Washington [D.C.] is a city of Southern efficiency and Northern charm"
- -- John F. Kennedy
-