home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / LVSWIN31.ZIP / DEMO3.CPP < prev    next >
C/C++ Source or Header  |  1992-02-17  |  690b  |  43 lines

  1. /*
  2.  *            LVS Windows
  3.  *      The Window Class System
  4.  *
  5.  *        Copyright 1992 (c), Lake View Software
  6.  *                            4321 Harborough Rd.
  7.  *                            Columbus, OH 43220
  8.  *        All rights reserved.
  9.  *
  10.  * DEMO3.CPP
  11.  */
  12.  
  13. #include "LVSwin.HPP"
  14.  
  15. void main ()
  16. {
  17.     /*
  18.      * Turn on mouse support
  19.      */
  20.     Win_mouse_mode (M_FULL);
  21.  
  22.     /*
  23.      * A file list object
  24.      */
  25.     Win_File_List fp;
  26.  
  27.     /*
  28.      * Read from the user
  29.      */
  30.     char *str = fp.read ("*.*");
  31.  
  32.     /*
  33.      * Display the results
  34.      */
  35.     if (str)
  36.         Win_Msg (str);
  37.     else
  38.         Win_Error ("No file selected!");
  39. }
  40.  
  41.  
  42.  
  43.