home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
memsz331.zip
/
Source.zip
/
MEMSIZE.H
< prev
next >
Wrap
Text File
|
1997-05-15
|
8KB
|
182 lines
/****************************************************************** MEMSIZE.H
* *
* Display memory size statistics, refreshed every second. *
* *
****************************************************************************/
#ifndef MEMSIZE_H
#define MEMSIZE_H
// #define USE_OS20MEMU // Disable this for now, until the bug is resolved.
#define PROGRAM_NAME "MEMSIZE"
#define CLASS_NAME PROGRAM_NAME
#define LOGFILE PROGRAM_NAME ".LOG"
extern HMODULE LibraryHandle ;
enum {
WM_REFRESH = WM_USER,
WM_UPDATEPARMS,
WM_UPDATEDRIVES
} ;
#define BKS_MERLINBIND 0x00000800 // New notebook style for Warp 4.0. Under older versions becomes BKS_SOLIDBIND.
#define ID_MAIN 1
#define IDM_MENU 10
#define IDM_SAVE_APPLICATION 11
#define IDM_RESET_DEFAULTS 12
#define IDM_HIDE_CONTROLS 13
#define IDM_CONFIGURE 14
#define IDD_CONFIGURE 140
#define IDD_CONFIG_NOTEBOOK 1400
#define IDD_CONFIG_PAGE_ITEMS 14000
#define IDD_CONFIG_ITEMS 14001
#define IDD_CONFIG_PAGE_OPTIONS1 14100
#define IDD_CONFIG_HIDECONTROLS 14101
#define IDD_CONFIG_FLOAT 14102
#define IDD_CONFIG_ANIMATE 14103
#define IDD_CONFIG_TABLE 14104
#define IDD_CONFIG_CHIME 14105
#define IDD_CONFIG_SHOWREMOTES 14106
#define IDD_CONFIG_FSNAME 14107
#define IDD_CONFIG_DLABEL 14108
#define IDD_CONFIG_SECONDS 14109
#define IDD_CONFIG_HOUR24 14110
#define IDD_CONFIG_PAGE_OPTIONS2 14200
#define IDD_CONFIG_SHOWK_NEVER 14201
#define IDD_CONFIG_SHOWK_ABOVE512 14202
#define IDD_CONFIG_SHOWK_ALWAYS 14203
#define IDD_CONFIG_SHOW_TRUEK 14204
#define IDD_CONFIG_SHOW_MEGABYTES 14205
#define IDD_CONFIG_PRIORITY 14206
#define IDD_CONFIG_TIMER 14207
#define IDD_CONFIG_PAGE_COLORS 14300
#define IDD_CONFIG_NORMAL 14301
#define IDD_CONFIG_WARNING 14302
#define IDD_CONFIG_ERROR 14303
#define IDD_CONFIG_PAGE_ANCHOR 14400
#define IDD_CONFIG_BL 14401
#define IDD_CONFIG_BR 14402
#define IDD_CONFIG_TL 14403
#define IDD_CONFIG_TR 14404
#define IDD_LABEL 143
#define IDD_LABEL_DEFLABEL 1430
#define IDD_LABEL_NEWLABEL 1431
#define IDD_LABEL_DEFAULT 1432
#define IDD_LABEL_WARNING_VALUE 1433
#define IDD_LABEL_WARNING_SLIDER 1434
#define IDD_LABEL_ERROR_VALUE 1435
#define IDD_LABEL_ERROR_SLIDER 1436
#define IDM_RESETLOAD 15
#define IDM_RESETDRIVES 16
#define IDM_COPY 17
#define IDM_ABOUT 18
#define IDD_ABOUT 180
#define IDM_HELP 19
#define IDM_EXIT 98
#define IDM_KEYS_HELP 99
#define IDD_PROFILE_PATH 9900
#define IDD_PROF_ENTRY 9900
#define IDD_PROF_ERR 9901
#define IDS_HELPTITLE 0x0000
#define IDS_TITLE 0x0001
#define IDS_SAVE_APPLICATION 0x0002
#define IDS_RESET_DEFAULTS 0x0003
#define IDS_HIDE_CONTROLS 0x0004
#define IDS_CONFIGURE 0x0005
#define IDS_RESETLOAD 0x0006
#define IDS_RESETDRIVES 0x0007
#define IDS_COPY 0x0008
#define IDS_ABOUT 0x0009
#define IDS_HELP 0x000A
#define IDS_CLOCK 0x000B
#define IDS_ELAPSED 0x000C
#define IDS_MEMORY 0x000D
#define IDS_VIRTUAL 0x000E
#define IDS_SWAPSIZE 0x000F
#define IDS_SWAPFREE 0x0010
#define IDS_SWAPSLACK 0x0011
#define IDS_SPOOLSIZE 0x0012
#define IDS_CPULOAD 0x0013
#define IDS_BATTERY 0x0014
#define IDS_TASKCOUNT 0x0015
#define IDS_PROCESSCOUNT 0x0016
#define IDS_THREADCOUNT 0x0017
#define IDS_TOTALFREE 0x0018
#define IDS_DRIVE_FREE 0x0019
#define IDS_DRIVEERROR 0x001A
#define IDS_PARAMETERLIST 0x001B
#define IDS_PARMS_RESET 0x001C
#define IDS_PARMS_EXCLUDE 0x001D
#define IDS_ERROR_PRFOPENPROFILE 0x001E
#define IDS_ERROR_CREATEHELP 0x001F
#define IDS_ERROR_CREATEFRAME 0x0020
#define IDS_ERROR_WINREGISTERCLASS 0x0021
#define IDS_ERROR_CREATECLIENT 0x0022
#define IDS_ERROR_DOSGETCTRYINFO 0x0023
#define IDS_ERROR_BADCODEPAGE 0x0024
#define IDS_DAY 0x0025
#define IDS_DAYS 0x0026
#define IDS_DAYSOFWEEK 0x0027
#define IDS_APM_ERROR 0x0028
#define IDS_APM_AC 0x0029
#define IDS_APM_CHARGING 0x002A
#define IDS_CONFIG_PAGE_ITEMS 0x002B
#define IDS_CONFIG_PAGE_OPTIONS 0x002C
#define IDS_CONFIG_PAGE_COLORS 0x002D
#define IDS_CONFIG_PAGE_ANCHOR 0x002E
#define IDS_PAGE 0x002F
#define IDS_OF 0x0030
#define IDS_EXCEPTION 0x0031
#define IDS_HMERR 0x8000
#define IDS_HMERR_EXTHELPUNDEFINED 0x8001
#define IDS_HMERR_NO_FRAME_WND_IN_CHAIN 0x8002
#define IDS_HMERR_INVALID_ASSOC_APP_WND 0x8003
#define IDS_HMERR_INVALID_ASSOC_HELP_IN 0x8004
#define IDS_HMERR_INVALID_DESTROY_HELP_ 0x8005
#define IDS_HMERR_NO_HELP_INST_IN_CHAIN 0x8006
#define IDS_HMERR_INVALID_HELP_INSTANCE 0x8007
#define IDS_HMERR_INVALID_QUERY_APP_WND 0x8008
#define IDS_HMERR_HELP_INST_CALLED_INVA 0x8009
#define IDS_HMERR_HELPTABLE_UNDEFINE 0x800A
#define IDS_HMERR_HELP_INSTANCE_UNDEFIN 0x800B
#define IDS_HMERR_HELPITEM_NOT_FOUND 0x800C
#define IDS_HMERR_INVALID_HELPSUBITEM_S 0x800D
#define IDS_HMERR_HELPSUBITEM_NOT_FOUND 0x800E
#define IDS_HMERR_INDEX_NOT_FOUND 0x800F
#define IDS_HMERR_CONTENT_NOT_FOUND 0x8010
#define IDS_HMERR_OPEN_LIB_FILE 0x8011
#define IDS_HMERR_READ_LIB_FILE 0x8012
#define IDS_HMERR_CLOSE_LIB_FILE 0x8013
#define IDS_HMERR_INVALID_LIB_FILE 0x8014
#define IDS_HMERR_NO_MEMORY 0x8015
#define IDS_HMERR_ALLOCATE_SEGMENT 0x8016
#define IDS_HMERR_FREE_MEMORY 0x8017
#define IDS_HMERR_PANEL_NOT_FOUND 0x8018
#define IDS_HMERR_DATABASE_NOT_OPEN 0x8019
#define IDS_HMERR_UNKNOWN 0x801A
#define IDS_HELPMODE_FRAME 0x801B
#define IDS_HELPMODE_MENU 0x801C
#define IDS_HELPMODE_WINDOW 0x801D
#define IDS_HELPMODE_UNKNOWN 0x801E
#define IDS_HELPSUBITEMNOTFOUND 0x801F
#endif