home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / memsz331.zip / Source.zip / MEMSIZE.H < prev    next >
Text File  |  1997-05-15  |  8KB  |  182 lines

  1. /****************************************************************** MEMSIZE.H
  2.  *                                                                          *
  3.  *         Display memory size statistics, refreshed every second.          *
  4.  *                                                                          *
  5.  ****************************************************************************/
  6.  
  7. #ifndef MEMSIZE_H
  8. #define MEMSIZE_H
  9.  
  10. // #define USE_OS20MEMU         // Disable this for now, until the bug is resolved.
  11.  
  12. #define PROGRAM_NAME "MEMSIZE"
  13. #define CLASS_NAME   PROGRAM_NAME
  14. #define LOGFILE      PROGRAM_NAME ".LOG"
  15.  
  16. extern HMODULE LibraryHandle ;
  17.  
  18. enum {
  19.    WM_REFRESH = WM_USER,
  20.    WM_UPDATEPARMS,
  21.    WM_UPDATEDRIVES
  22. } ;
  23.  
  24. #define BKS_MERLINBIND 0x00000800       // New notebook style for Warp 4.0.  Under older versions becomes BKS_SOLIDBIND.
  25.  
  26. #define ID_MAIN                            1
  27.  
  28. #define IDM_MENU                           10
  29. #define IDM_SAVE_APPLICATION               11
  30. #define IDM_RESET_DEFAULTS                 12
  31. #define IDM_HIDE_CONTROLS                  13
  32. #define IDM_CONFIGURE                      14
  33. #define   IDD_CONFIGURE                    140
  34. #define     IDD_CONFIG_NOTEBOOK            1400
  35. #define       IDD_CONFIG_PAGE_ITEMS        14000
  36. #define         IDD_CONFIG_ITEMS           14001
  37. #define       IDD_CONFIG_PAGE_OPTIONS1     14100
  38. #define         IDD_CONFIG_HIDECONTROLS    14101
  39. #define         IDD_CONFIG_FLOAT           14102
  40. #define         IDD_CONFIG_ANIMATE         14103
  41. #define         IDD_CONFIG_TABLE           14104
  42. #define         IDD_CONFIG_CHIME           14105
  43. #define         IDD_CONFIG_SHOWREMOTES     14106
  44. #define         IDD_CONFIG_FSNAME          14107
  45. #define         IDD_CONFIG_DLABEL          14108
  46. #define         IDD_CONFIG_SECONDS         14109
  47. #define         IDD_CONFIG_HOUR24          14110
  48. #define       IDD_CONFIG_PAGE_OPTIONS2     14200
  49. #define         IDD_CONFIG_SHOWK_NEVER     14201
  50. #define         IDD_CONFIG_SHOWK_ABOVE512  14202
  51. #define         IDD_CONFIG_SHOWK_ALWAYS    14203
  52. #define         IDD_CONFIG_SHOW_TRUEK      14204
  53. #define         IDD_CONFIG_SHOW_MEGABYTES  14205
  54. #define         IDD_CONFIG_PRIORITY        14206
  55. #define         IDD_CONFIG_TIMER           14207
  56. #define       IDD_CONFIG_PAGE_COLORS       14300
  57. #define         IDD_CONFIG_NORMAL          14301
  58. #define         IDD_CONFIG_WARNING         14302
  59. #define         IDD_CONFIG_ERROR           14303
  60. #define       IDD_CONFIG_PAGE_ANCHOR       14400
  61. #define         IDD_CONFIG_BL              14401
  62. #define         IDD_CONFIG_BR              14402
  63. #define         IDD_CONFIG_TL              14403
  64. #define         IDD_CONFIG_TR              14404
  65. #define   IDD_LABEL                        143 
  66. #define     IDD_LABEL_DEFLABEL             1430
  67. #define     IDD_LABEL_NEWLABEL             1431
  68. #define     IDD_LABEL_DEFAULT              1432
  69. #define     IDD_LABEL_WARNING_VALUE        1433
  70. #define     IDD_LABEL_WARNING_SLIDER       1434
  71. #define     IDD_LABEL_ERROR_VALUE          1435
  72. #define     IDD_LABEL_ERROR_SLIDER         1436
  73. #define IDM_RESETLOAD                      15
  74. #define IDM_RESETDRIVES                    16
  75. #define IDM_COPY                           17
  76. #define IDM_ABOUT                          18
  77. #define   IDD_ABOUT                        180
  78. #define IDM_HELP                           19
  79.  
  80. #define IDM_EXIT                           98
  81. #define IDM_KEYS_HELP                      99
  82.  
  83. #define IDD_PROFILE_PATH                   9900
  84. #define   IDD_PROF_ENTRY                   9900
  85. #define   IDD_PROF_ERR                     9901
  86.  
  87. #define IDS_HELPTITLE                      0x0000
  88. #define IDS_TITLE                          0x0001
  89.  
  90. #define IDS_SAVE_APPLICATION               0x0002
  91. #define IDS_RESET_DEFAULTS                 0x0003
  92. #define IDS_HIDE_CONTROLS                  0x0004
  93. #define IDS_CONFIGURE                      0x0005
  94. #define IDS_RESETLOAD                      0x0006
  95. #define IDS_RESETDRIVES                    0x0007
  96. #define IDS_COPY                           0x0008
  97. #define IDS_ABOUT                          0x0009
  98. #define IDS_HELP                           0x000A
  99.  
  100. #define IDS_CLOCK                          0x000B
  101. #define IDS_ELAPSED                        0x000C
  102. #define IDS_MEMORY                         0x000D
  103. #define IDS_VIRTUAL                        0x000E
  104. #define IDS_SWAPSIZE                       0x000F
  105. #define IDS_SWAPFREE                       0x0010
  106. #define IDS_SWAPSLACK                      0x0011
  107. #define IDS_SPOOLSIZE                      0x0012
  108. #define IDS_CPULOAD                        0x0013
  109. #define IDS_BATTERY                        0x0014
  110. #define IDS_TASKCOUNT                      0x0015
  111. #define IDS_PROCESSCOUNT                   0x0016
  112. #define IDS_THREADCOUNT                    0x0017
  113. #define IDS_TOTALFREE                      0x0018
  114. #define IDS_DRIVE_FREE                     0x0019
  115.  
  116. #define IDS_DRIVEERROR                     0x001A
  117.  
  118. #define IDS_PARAMETERLIST                  0x001B
  119. #define IDS_PARMS_RESET                    0x001C
  120. #define IDS_PARMS_EXCLUDE                  0x001D
  121.  
  122. #define IDS_ERROR_PRFOPENPROFILE           0x001E
  123. #define IDS_ERROR_CREATEHELP               0x001F
  124. #define IDS_ERROR_CREATEFRAME              0x0020
  125. #define IDS_ERROR_WINREGISTERCLASS         0x0021
  126. #define IDS_ERROR_CREATECLIENT             0x0022
  127. #define IDS_ERROR_DOSGETCTRYINFO           0x0023
  128. #define IDS_ERROR_BADCODEPAGE              0x0024
  129.                                                  
  130. #define IDS_DAY                            0x0025
  131. #define IDS_DAYS                           0x0026
  132. #define IDS_DAYSOFWEEK                     0x0027
  133.  
  134. #define IDS_APM_ERROR                      0x0028
  135. #define IDS_APM_AC                         0x0029
  136. #define IDS_APM_CHARGING                   0x002A
  137.  
  138. #define IDS_CONFIG_PAGE_ITEMS              0x002B
  139. #define IDS_CONFIG_PAGE_OPTIONS            0x002C
  140. #define IDS_CONFIG_PAGE_COLORS             0x002D
  141. #define IDS_CONFIG_PAGE_ANCHOR             0x002E
  142.  
  143. #define IDS_PAGE                           0x002F
  144. #define IDS_OF                             0x0030
  145.  
  146. #define IDS_EXCEPTION                      0x0031
  147.  
  148. #define IDS_HMERR                          0x8000
  149. #define IDS_HMERR_EXTHELPUNDEFINED         0x8001
  150. #define IDS_HMERR_NO_FRAME_WND_IN_CHAIN    0x8002
  151. #define IDS_HMERR_INVALID_ASSOC_APP_WND    0x8003
  152. #define IDS_HMERR_INVALID_ASSOC_HELP_IN    0x8004
  153. #define IDS_HMERR_INVALID_DESTROY_HELP_    0x8005
  154. #define IDS_HMERR_NO_HELP_INST_IN_CHAIN    0x8006
  155. #define IDS_HMERR_INVALID_HELP_INSTANCE    0x8007
  156. #define IDS_HMERR_INVALID_QUERY_APP_WND    0x8008
  157. #define IDS_HMERR_HELP_INST_CALLED_INVA    0x8009
  158. #define IDS_HMERR_HELPTABLE_UNDEFINE       0x800A
  159. #define IDS_HMERR_HELP_INSTANCE_UNDEFIN    0x800B
  160. #define IDS_HMERR_HELPITEM_NOT_FOUND       0x800C
  161. #define IDS_HMERR_INVALID_HELPSUBITEM_S    0x800D
  162. #define IDS_HMERR_HELPSUBITEM_NOT_FOUND    0x800E
  163. #define IDS_HMERR_INDEX_NOT_FOUND          0x800F
  164. #define IDS_HMERR_CONTENT_NOT_FOUND        0x8010
  165. #define IDS_HMERR_OPEN_LIB_FILE            0x8011
  166. #define IDS_HMERR_READ_LIB_FILE            0x8012
  167. #define IDS_HMERR_CLOSE_LIB_FILE           0x8013
  168. #define IDS_HMERR_INVALID_LIB_FILE         0x8014
  169. #define IDS_HMERR_NO_MEMORY                0x8015
  170. #define IDS_HMERR_ALLOCATE_SEGMENT         0x8016
  171. #define IDS_HMERR_FREE_MEMORY              0x8017
  172. #define IDS_HMERR_PANEL_NOT_FOUND          0x8018
  173. #define IDS_HMERR_DATABASE_NOT_OPEN        0x8019
  174. #define IDS_HMERR_UNKNOWN                  0x801A
  175. #define IDS_HELPMODE_FRAME                 0x801B
  176. #define IDS_HELPMODE_MENU                  0x801C
  177. #define IDS_HELPMODE_WINDOW                0x801D
  178. #define IDS_HELPMODE_UNKNOWN               0x801E
  179. #define IDS_HELPSUBITEMNOTFOUND            0x801F
  180.  
  181. #endif
  182.