home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / PM / DRAGDROP / README < prev   
Text File  |  1995-06-08  |  3KB  |  88 lines

  1.  
  2.  
  3. DRAGDRP - Direct Manipulation
  4.  
  5.  
  6. DESCRIPTION:
  7. DRAGDROP demonstrates how to move files between directories with the
  8. dragging techniques of direct manipulation.  This sample program creates
  9. a list box that contains a scrollable list of the current directory.
  10.  
  11. To change the current directory, select the WINDOW option and enter
  12. the new directory name and press Enter.  The sample program must be
  13. started twice so there are two running instances of the sample.  Then,
  14. using a mouse, the user:
  15.  
  16. - Changes the directory file list in the first sample.
  17. - Selects a file name from the second sample.
  18. - Drags the file name (with mouse button 2) to the directory in
  19.   the first sample.
  20. - Drops the file name on the directory in the first sample.
  21.  
  22. The file is now moved to the chosen directory of the first sample.
  23.  
  24. TASK:
  25. Provide direct manipulation between listboxes
  26.  
  27. CONCEPT/FEATURE:
  28. Sample program to illustrate Direct Manipulation
  29.  
  30. SAMPLE LOCATION:
  31. Inside the PM Sample Programs folder (which is inside the VisualAge C++ 
  32. Samples folder).
  33.  
  34. Note:This sample is not provided in project form.
  35.  
  36. SOURCE FILE LOCATION:
  37.  
  38. X:\ibmcpp\samples\toolkit\pm\dragdrop
  39. where X: is the drive you installed the samples and document component
  40. of VisualAge C++ for OS/2.
  41.  
  42.  
  43. HOW TO RUN THE SAMPLE:
  44.  
  45. -From your OS/2 desktop:
  46.  Double-click on the sample's icon.
  47.  
  48. -From an OS/2 command prompt:
  49. To start a non-WorkPlace Shell sample program from an OS/2 command
  50. prompt, type the name of the executable file and press Enter.  If you
  51. have edited source code of a sample program and want to recompile,link,
  52. and run the files, use the NMAKE tool. Your output is the executable
  53. file.  For information about the NMAKE utility, see the
  54. OS/2 Tools Reference.
  55.  
  56.  
  57. SOFTWARE/HARDWARE PREREQUISITES:
  58.  
  59. - IBM VisualAge C++
  60. - OS/2 Warp
  61. - IBM or compatible 386 and up.
  62.  
  63. REQUIRED FILES      DESCRIPTIONS
  64.  
  65.   dragdlg.ipf       Help resource file
  66.   dragdrag.c        Direct Manipuation support routines
  67.   dragdrop.c        Main() entry point, initial window creation routines
  68.   dragdrop.def
  69.   dragdrop.dlg      Dialog resources
  70.   dragdrop.exe      Sample Executable
  71.   dragdrop.h
  72.   dragdrop.hlp
  73.   dragdrop.ico
  74.   dragdrop.ipf      Help resource file
  75.   dragdrop.mak      MakeMake generated makefile
  76.   dragdrop.ptr      Resource to change the mouse pointer
  77.   dragdrop.rc
  78.   dragfile.ipf
  79.   dragheap.c        Heap memory support routines
  80.   draghelp.c        Help manager interface routines
  81.   draghelp.h
  82.   draghelp.ipf
  83.   draghelp.rc
  84.   dragmenu.ipf
  85.   dragwnd.ipf
  86.   readme            This file
  87.  
  88.