home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / toolkits / xview / 1163 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.7 KB

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