home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 March / SOFM_Mar1995.bin / pc / utility / os2 / clock / clock.h < prev    next >
Text File  |  1995-01-27  |  5KB  |  110 lines

  1. /******************************************************************** CLOCK.H
  2.  *                                                                          *
  3.  *                Analog Clock for Presentation Manager                     *
  4.  *                                                                          *
  5.  *                Original program by Charles Petzold                       *
  6.  *                                                                          *
  7.  ****************************************************************************/
  8.  
  9. #define PROGRAM_NAME "CLOCK"
  10. #define CLASS_NAME   PROGRAM_NAME
  11. #define LOGFILE      PROGRAM_NAME ".LOG"
  12.  
  13. extern HMODULE LibraryHandle ;
  14.  
  15. #define ID_MAIN 1
  16. #define ID_TIMER 1
  17.  
  18. #define IDM_SAVE_APPLICATION               11
  19. #define IDM_RESET_DEFAULTS                 12
  20. #define IDM_HIDE_CONTROLS                  13
  21. #define IDM_CONFIGURE                      14
  22. #define   IDD_CONFIGURE                    140
  23. #define     IDD_CONFIG_ANALOG              140
  24. #define     IDD_CONFIG_DIGITAL             141
  25. #define     IDD_CONFIG_HOUR24              142
  26. #define     IDD_CONFIG_HIDECONTROLS        143
  27. #define     IDD_CONFIG_CHIME               144
  28. #define     IDD_CONFIG_FLOAT               145
  29. #define     IDD_CONFIG_ANIMATE             146
  30. #define     IDD_CONFIG_TASKCOUNT           147
  31. #define     IDD_CONFIG_CPULOAD             148
  32. #define     IDD_CONFIG_TASKCOUNTRED        149
  33. #define     IDD_CONFIG_TASKCOUNTYELLOW     150
  34. #define     IDD_CONFIG_CPULOADRED          151
  35. #define     IDD_CONFIG_CPULOADYELLOW       152
  36.  
  37. #define IDM_ABOUT                          15
  38. #define   IDD_ABOUT                        150
  39.  
  40. #define IDM_EXIT                           98
  41. #define IDM_KEYS_HELP                      99
  42.  
  43. #define IDD_PROFILE_PATH                   9900
  44. #define   IDD_PROF_ENTRY                   9900
  45. #define   IDD_PROF_ERR                     9901
  46.  
  47. #define IDS_HELPTITLE                      0x0000
  48. #define IDS_TITLE                          0x0001
  49.  
  50. #define IDS_SAVE_APPLICATION               0x0002
  51. #define IDS_RESET_DEFAULTS                 0x0003
  52. #define IDS_HIDE_CONTROLS                  0x0004
  53. #define IDS_CONFIGURE                      0x0005
  54.  
  55. #define IDS_ABOUT                          0x0006
  56. #define IDS_HELP                           0x0007
  57.  
  58. #define IDS_PARAMETERLIST                  0x0008
  59. #define IDS_PARMS_RESET                    0x0009
  60. #define IDS_PARMS_ANALOG                   0x000A
  61. #define IDS_PARMS_DIGITAL                  0x000B
  62.  
  63. #define IDS_ERROR_INVALIDPARM              0x000C
  64. #define IDS_ERROR_PRFOPENPROFILE           0x000D
  65. #define IDS_ERROR_CREATEHELP               0x000E
  66. #define IDS_ERROR_CREATEFRAME              0x000F
  67. #define IDS_ERROR_WINREGISTERCLASS         0x0010
  68. #define IDS_ERROR_CREATECLIENT             0x0011
  69. #define IDS_ERROR_DOSGETCTRYINFO           0x0012
  70.  
  71. #define IDS_NOON                           0x0013
  72. #define IDS_MIDNIGHT                       0x0014
  73. #define IDS_AM                             0x0015
  74. #define IDS_PM                             0x0016
  75.  
  76. #define IDS_EXCEPTION                      0x0017
  77.  
  78. #define IDS_HMERR                          0x8000
  79. #define IDS_HMERR_EXTHELPUNDEFINED         0x8001
  80. #define IDS_HMERR_NO_FRAME_WND_IN_CHAIN    0x8002
  81. #define IDS_HMERR_INVALID_ASSOC_APP_WND    0x8003
  82. #define IDS_HMERR_INVALID_ASSOC_HELP_IN    0x8004
  83. #define IDS_HMERR_INVALID_DESTROY_HELP_    0x8005
  84. #define IDS_HMERR_NO_HELP_INST_IN_CHAIN    0x8006
  85. #define IDS_HMERR_INVALID_HELP_INSTANCE    0x8007
  86. #define IDS_HMERR_INVALID_QUERY_APP_WND    0x8008
  87. #define IDS_HMERR_HELP_INST_CALLED_INVA    0x8009
  88. #define IDS_HMERR_HELPTABLE_UNDEFINE       0x800A
  89. #define IDS_HMERR_HELP_INSTANCE_UNDEFIN    0x800B
  90. #define IDS_HMERR_HELPITEM_NOT_FOUND       0x800C
  91. #define IDS_HMERR_INVALID_HELPSUBITEM_S    0x800D
  92. #define IDS_HMERR_HELPSUBITEM_NOT_FOUND    0x800E
  93. #define IDS_HMERR_INDEX_NOT_FOUND          0x800F
  94. #define IDS_HMERR_CONTENT_NOT_FOUND        0x8010
  95. #define IDS_HMERR_OPEN_LIB_FILE            0x8011
  96. #define IDS_HMERR_READ_LIB_FILE            0x8012
  97. #define IDS_HMERR_CLOSE_LIB_FILE           0x8013
  98. #define IDS_HMERR_INVALID_LIB_FILE         0x8014
  99. #define IDS_HMERR_NO_MEMORY                0x8015
  100. #define IDS_HMERR_ALLOCATE_SEGMENT         0x8016
  101. #define IDS_HMERR_FREE_MEMORY              0x8017
  102. #define IDS_HMERR_PANEL_NOT_FOUND          0x8018
  103. #define IDS_HMERR_DATABASE_NOT_OPEN        0x8019
  104. #define IDS_HMERR_UNKNOWN                  0x801A
  105. #define IDS_HELPMODE_FRAME                 0x801B
  106. #define IDS_HELPMODE_MENU                  0x801C
  107. #define IDS_HELPMODE_WINDOW                0x801D
  108. #define IDS_HELPMODE_UNKNOWN               0x801E
  109. #define IDS_HELPSUBITEMNOTFOUND            0x801F
  110.