home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / OS2 / TIMESERV / RES.H < prev    next >
Text File  |  1994-11-17  |  6KB  |  150 lines

  1. /**************************************************************************\
  2. *                                                                          *
  3. *       MODULE:     dialogs.h                                              *
  4. *                                                                          *
  5. *       COMMENT:    Constants for the Clock dialogs                        *
  6. *                                                                          *
  7. \**************************************************************************/
  8.  
  9.  
  10. #define CLKTM_MAJOR 0x0100
  11. #define CLKTM_MINOR 0x0200
  12.  
  13. #define CLKTM_ALWAYS    0x0001
  14. #define CLKTM_NOTICONIC 0x0002
  15. #define CLKTM_NEVER     0x0004
  16.  
  17. #define CLKCLR_BUTTONSHIFT 0x08
  18.  
  19. #define CLKCLR_OBJECTS      0x0100
  20. #define CLKCLR_BACKGROUND   0x0101
  21. #define CLKCLR_FACE         0x0102
  22. #define CLKCLR_HOURHAND     0x0103
  23. #define CLKCLR_MINUTEHAND   0x0104
  24.  
  25. #define  CCHMAXSTRING      256
  26. #define  NOSELECT          -1     /* indices for SHORT Selected;     */
  27. #define  HOUR               0      /* index into rDateTime, wDateTime,*/
  28.                                    /* wRange                          */
  29. #define  MINUTE             1
  30. #define  SECOND             2
  31. #define  MONTH              3
  32. #define  DAY                4
  33. #define  YEAR               5
  34. #define  UPTIME             6
  35. #define  DOWNTIME           7
  36. #define  UPDATE             8
  37. #define  DOWNDATE           9
  38. #define  TYPETIME          10
  39. #define  TYPEDATE          11
  40. #define TIME_SEP_LEN        1
  41. #define DATE_SEP_LEN        1
  42. #define STRING_AM_LEN       2
  43. #define STRING_PM_LEN       2
  44. #define AM_PM  2                    /* index into rTimeSep        */
  45. #define PATHMAX 259                 /* path cb     max            */
  46. #define COUNTRY_USA     1           /* Country code               */
  47. #define COUNTRY_UK      44          /* Country code               */
  48.  
  49. #define IDR_MAIN        1           /* resource identifier */
  50.  
  51. #define IDD_COLORS                11
  52. #define IDD_TICKS                 12
  53. #define IDD_ABOUT                 13
  54. #define IDD_ALARM                 14
  55.  
  56. #define IDM_SETTINGS              40
  57. #define IDM_VIEW                  41
  58. #define IDM_TOGGLECONTROLS        14
  59. #define IDM_COLORS                15
  60. #define IDM_TICKS                 16
  61. #define IDM_EXIT                  17
  62. #define IDM_ABOUT                 18
  63. #define IDM_ALARM                 19
  64. #define IDM_SECONDHAND            50
  65.  
  66. #define IDM_SET                   20
  67. #define IDM_CLEAR                 21
  68.  
  69. #define IDM_SELECT                22
  70. #define IDM_ADD                   23
  71. #define IDM_MODIFY                24
  72. #define IDM_DELETE                25
  73. #define IDM_DATETIME              26
  74. #define IDM_TIME                  27
  75. #define IDM_DATE                  28
  76. #define IDM_ANALOG                29
  77. #define IDM_DIGITAL               30
  78. #define IDM_ALARM_EXPIRED         32
  79.  
  80.  
  81.  
  82. #define IDM_HELP                            9000
  83. #define IDM_HELPHELPFORHELP                 9100
  84. #define IDM_HELPEXTENDED                    9200
  85. #define IDM_HELPKEYS                        9300
  86. #define IDM_HELPINDEX                       9400
  87. #define IDM_HELPTUTORIAL                    9500
  88. #define IDM_HELPABOUT                       9600
  89.  
  90. #define IDD_TIME                             100
  91.  
  92.  
  93. #define TIME                                  201
  94. #define SCROLL_TIME                           202
  95. #define DATE                                  203
  96. #define SCROLL_DATE                           204
  97. #define IDC_HOURMINUTES                       205
  98. #define ALARM_TIME                            207
  99. #define SCROLL_HOURS                          208
  100. #define RB_ALARMON                            209
  101. #define RB_ALARMOFF                           210
  102. #define IDC_BEEP                              211
  103. #define IDC_MSG                               212
  104. #define RB_AM                                 213
  105. #define RB_PM                                 214
  106. #define SCROLL_MINUTES                        215
  107.  
  108.  
  109.  
  110. /*--------------------------------------------------------------*\
  111.  *  Stringtable ids
  112. \*--------------------------------------------------------------*/
  113. #define IDS_FILEOPENEXT             1
  114. #define IDS_APPNAME                 2
  115. #define IDS_HELPLIBRARYNAME         3
  116. #define IDS_OPENDLGTITLE            4
  117. #define IDS_OPENDLGBUTTON           5
  118. #define IDS_HELPWINDOWTITLE         6
  119. #define IDS_SAVEDLGTITLE            7
  120. #define IDS_SAVEDLGBUTTON           8
  121. #define IDS_UNTITLED                9
  122. #define IDS_TITLEBARSEPARATOR      10
  123. #define IDS_OBJECTCLASS            14
  124. #define IDS_RUNONLYONE                    300
  125. #define IDS_TITLE                         301
  126. #define IDS_HELPTITLE                     302
  127.  
  128.  
  129. #define IDH_CLOCK                    412
  130. #define IDH_TOGGLECONTROLS           413
  131. #define IDH_COLORS                   414
  132. #define IDH_TICKS                    415
  133. #define IDH_DATETIME                 416
  134. #define IDH_EXIT                     417
  135. #define IDH_ABOUT                    418
  136. #define IDH_TIME                     419
  137. #define IDH_DATE                     420
  138. #define IDH_ANALOG                   421
  139. #define IDH_DIGITAL                  422
  140.  
  141.  
  142. #define IDD_ABOUTBOX                 1001
  143.  
  144. #define IDC_OK                       1
  145. #define IDC_CANCEL                   2
  146. #define IDC_HELP                     3
  147. #define IDC_ICON                     4
  148.  
  149. #define IDC_DATE                     101
  150.