home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 2.ddi / TVDEMOS.ZIP / FORMCMDS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  1.2 KB  |  50 lines

  1. /*-------------------------------------------------------*/
  2. /*                                                       */
  3. /*   Turbo Vision 1.0                                    */
  4. /*   Turbo Vision Forms Demo                             */
  5. /*   Copyright (c) 1991 by Borland International         */
  6. /*                                                       */
  7. /*   Formcmds.h: Support header file for TVFORMS Demo    */
  8. /*-------------------------------------------------------*/
  9.  
  10. #if !defined(__FORMCMDS_H )
  11. #define __FORMCMDS_H
  12.  
  13. // Misc UI commands 
  14.  
  15. const 
  16.    cmAboutBox    = 2000,
  17.    cmChgDir      = 2001,
  18.    cmVideoMode   = 2002,
  19.    cmDosShell    = 2003;
  20.  
  21. // List & form-oriented commands 
  22. // (Cannot be disabled)          
  23.  
  24. const
  25.    cmListOpen    = 3000,
  26.    cmListSave    = 3001,
  27.    cmFormEdit    = 3002,
  28.    cmFormNew     = 3003,
  29.    cmFormSave    = 3004,
  30.    cmFormDel     = 3005;
  31.  
  32. // Broadcast commands 
  33.  
  34. const
  35.    cmTopForm      = 3050,
  36.    cmRegisterForm = 3051,
  37.    cmEditingForm  = 3052,
  38.    cmCanCloseForm = 3053,
  39.    cmCloseForm    = 3054,
  40.    cmTopList      = 3055,
  41.    cmEditingFile  = 3056;
  42.  
  43. // History list IDs 
  44.  
  45. const
  46.    hlChangeDir   = 1,
  47.    hlOpenListDlg = 2;
  48.  
  49. #endif  // __FORMCMDS_H
  50.