home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / TIMEXSRC.ZIP / UA_PM.H < prev    next >
C/C++ Source or Header  |  1990-03-28  |  2KB  |  50 lines

  1. /* ua_pm.h -- Definitions for TIMEXUA Presentation Manager elements
  2.  
  3.     February 1990    Mark E. Mallett, Personal Workstation Magazine
  4.  
  5. This file contains definitions for the TIMEXUA interface.
  6.  
  7. */
  8.  
  9. #ifndef    H_UA_PM                /* Multiple inclusions OK */
  10. #define    H_UA_PM
  11.  
  12. /* Window classes */
  13. #define    WCMAIN    "Timex-Main"        /* Main window class */
  14. #define    WCEVENT    "Timex-Event"        /* Event window class */
  15.  
  16. /* Window Identifiers */
  17. #define    WID_MAIN    1        /* Main window */
  18. #define    WID_EVENTEDIT    2        /* Event editing window */
  19. #define WID_FOO 3
  20.  
  21. /* Main window element codes */
  22. #define    MEL_CREATE    1        /* Create */
  23. #define    MEL_MODIFY    2        /* Modify */
  24. #define    MEL_DELETE    3        /* Delete */
  25. #define    MEL_NEWLIST    4        /* Obtain new list */
  26. #define    MEL_EVLIST    20        /* Event list */
  27.  
  28. /* Event editing window element identifiers */
  29. #define    EEL_DONE    1        /* OK, done */
  30. #define    EEL_CANCEL    2        /* Not OK, Cancel */
  31. #define EEL_EVNAME      3               /* Event name */
  32. #define EEL_ACTYPE      4               /* Action type */
  33. #define EEL_ACTION      5               /* Action to perform */
  34. #define EEL_PRICLASS    6               /* Priority class */
  35. #define EEL_PRIVAL      7               /* Priority value */
  36. #define EEL_YEARENTER   101             /* Year entry box */
  37. #define EEL_YEARADD     102             /* Year "add" pushbutton */
  38. #define EEL_YEARDEL     103             /* Year "delete" pushbutton */
  39. #define EEL_YEARLIST    104             /* Exploded year list */
  40. #define EEL_MONTH       201             /* Month of event */
  41. #define EEL_DAYOFMON    301             /* Day-of-months list */
  42. #define EEL_DAYOFWEEK   401             /* Day-of-week list */
  43. #define EEL_HOUR        501             /* Hours */
  44. #define EEL_MIN         601             /* Minutes */
  45.  
  46. /* Offset of the switch button in the dayof boxes */
  47. #define EEL_DAYOF       90              /* base + offset == button id */
  48.  
  49. #endif    /* H_UA_PM */
  50.