組込み定数

UWSCで予め用意されている定数を組込み定数と言います。組込み定数を変数名として宣言したり値を変更しようとするとエラーが発生します。

UWSCで使える組込み定数は以下のものがあります。

定数名
TRUE1
FALSE0
NULL(ヌルポインタ)
EMPTY(値の無い状態を示す)
NOTHING(オブジェクトの無い状態を示す)
ACTIVATE1
CLOSE2
CLOSE23
HIDE4
SHOW5
MIN6
MAX7
NORMAL8
TOPMOST9
NOTOPMOST10
TOPNOACTV11
ERR_VALUE-999999
GET_SLIDER-10000000
GET_MENU_HND__GET_MENU_HND__
GET_SYSMENU_HND__GET_SYSMENU_HND__
CLICK0
DOWN1
UP2
LEFT0
RIGHT1
MIDDLE2
WHEEL5
TOUCH7
F_READ2
F_WRITE4
F_EXISTS1
F_TAB256
F_NOCR128
F_WRITE816
F_WRITE8B32
F_WRITE1664
F_WRITE18
F_LINECOUNT-1
F_ALLTEXT-2
F_INSERT-1
XL_NEW1
XL_BOOK2
XL_OOOC3
CLK_BTN1
CLK_LIST2
CLK_TAB8
CLK_MENU4
CLK_TREEVIEW16
CLK_LISTVIEW32
CLK_TOOLBAR64
CLK_LINK128
CLK_ACC32768
CLK_SHORT256
CLK_BACK512
CLK_MUSMOVE1024
CLK_RIGHTCLK4096
CLK_LEFTCLK2048
CLK_DBLCLK8192
CLK_FROMLAST65536
CLK_API536870912
CLK_UIA1073741824
STR_EDIT0
STR_STATIC1
STR_STATUS2
STR_ACC_EDIT3
STR_ACC_STATIC4
STR_ACC_CELL5
BTN_OK1
BTN_CANCEL2
BTN_YES4
BTN_NO8
BTN_ABORT16
BTN_RETRY32
BTN_IGNORE64
SLCT_BTN1
SLCT_CHK2
SLCT_RDO4
SLCT_LST16
SLCT_STR64
SLCT_NUM128
ITM_BTN1
ITM_LIST2
ITM_TAB8
ITM_MENU4
ITM_TREEVIEW16
ITM_LISTVIEW32
ITM_EDIT131072
ITM_STATIC262144
ITM_STATUSBAR524288
ITM_TOOLBAR64
ITM_LINK128
ITM_ACCCLK4194304
ITM_ACCCLK2272629760
ITM_ACCTXT8388608
ITM_ACCEDIT16777216
ITM_FROMLAST65536
ITM_BACK512
ST_TITLE9
ST_CLASS14
ST_X1
ST_Y2
ST_WIDTH3
ST_HEIGHT4
ST_CLX5
ST_CLY6
ST_CLWIDTH7
ST_CLHEIGHT8
ST_PARENT16
ST_ICON10
ST_MAXIMIZED11
ST_VISIBLE12
ST_ACTIVE13
ST_BUSY15
ST_ISID21
ST_WIN6419
ST_PATH17
ST_PROCESS18
ST_MONITOR20
CUR_APPSTARTING1
CUR_ARROW2
CUR_CROSS3
CUR_HAND4
CUR_HELP5
CUR_IBEAM6
CUR_NO8
CUR_SIZEALL10
CUR_SIZENESW11
CUR_SIZENS12
CUR_SIZENWSE13
CUR_SIZEWE14
CUR_UPARROW15
CUR_WAIT16
ACC_ACC1
ACC_API2
ACC_NAME3
ACC_VALUE4
ACC_ROLE5
ACC_STATE6
ACC_DESCRIPTION7
ACC_LOCATION8
ACC_BACK512
P_POWEROFF16
P_LOGOFF128
P_REBOOT64
P_SUSPEND256
P_SUSPEND2512
P_MONIPOWER1024
P_MONIPOWER22048
P_MONIPOWER34096
P_SCREENSAVE8192
P_UWSC_REEXEC16384
P_FORCE8
TGL_IME10004
TGL_NUMLOCK10000
TGL_CAPSLOCK10001
TGL_SCROLLLOCK10002
TGL_KANALOCK10003
GET_ACTIVE_WIN__GET_ACTIVE_WIN__
GET_FROMPOINT_WIN__GET_FROMPOINT_WIN__
GET_FROMPOINT_OBJ__GET_FROMPOINT_OBJ__
GET_THISUWSC_WIN__GET_THISUWSC_WIN__
GET_LOGPRINT_WIN__GET_LOGPRINT_WIN__
GET_BALLOON_WIN__GET_FUKIDASI_WIN__
GET_FORM_WIN__GET_FORM_WIN__
GET_FORM_WIN2__GET_FORM_WIN2__
GET_SCHEDULE_WIN__GET_SCHEDULE_WIN__
SC_LOWERCASE256
SC_UPPERCASE512
SC_HIRAGANA1048576
SC_KATAKANA2097152
SC_HALFWIDTH4194304
SC_FULLWIDTH8388608
MOD_ALT1
MOD_CONTROL2
MOD_SHIFT4
MOD_WIN8
FOM_NOICON1
FOM_MINIMIZE256
FOM_MAXIMIZE512
FOM_NOHIDE2
FOM_NOSUBMIT4
FOM_NORESIZE8
FOM_BROWSER128
FOM_FORMHIDE4096
FOM_TOPMOST16
FOM_NOTASKBAR16384
FOM_FORM28192
CODE_ANSI1
CODE_URL2
CODE_UTF83
CODE_HTML4
CODE_BYTEARRAY5
CODE_BYTEARRAYW6
CALC_ADD1
CALC_MIN2
CALC_MAX3
CALC_AVR4
IMG_MSK_BGR165793
IMG_MSK_BGR2197379
IMG_MSK_BGR3460551
IMG_MSK_BGR4986895
IMG_MSK_B165536
IMG_MSK_B2196608
IMG_MSK_B3458752
IMG_MSK_B4983040
IMG_MSK_G1256
IMG_MSK_G2768
IMG_MSK_G31792
IMG_MSK_G43840
IMG_MSK_R11
IMG_MSK_R23
IMG_MSK_R37
IMG_MSK_R415
SLD_POS0
SLD_MIN1
SLD_MAX2
SLD_PAGE3
SLD_BAR4
SLD_X5
SLD_Y6
MON_X0
MON_Y1
MON_WIDTH2
MON_HEIGHT3
MON_NAME5
COL_RGB3
COL_R4
COL_G5
COL_B6
MORG_CLIENT1
MORG_DIRECT2
MORG_FORE1
MORG_BACK2
LOCK_KEYBOARD1
LOCK_MOUSE2
HASH_CASECARE4096
HASH_SORT8192
HASH_EXISTS-103
HASH_REMOVE-104
HASH_KEY-101
HASH_VAL-102
HASH_REMOVEALL-109
VAR_EMPTY0
VAR_NULL1
VAR_SMALLINT2
VAR_INTEGER3
VAR_SINGLE4
VAR_DOUBLE5
VAR_CURRENCY6
VAR_DATE7
VAR_DISPATCH9
VAR_ERROR10
VAR_BOOLEAN11
VAR_VARIANT12
VAR_UNKNOWN13
VAR_SBYTE16
VAR_BYTE17
VAR_WORD18
VAR_DWORD19
VAR_INT6420
VAR_ASTR256
VAR_USTR258
VAR_ARRAY8192
SNSR_Biometric_HumanPresense1
SNSR_Biometric_HumanProximity2
SNSR_Electrical_Capacitance5
SNSR_Electrical_Resistance6
SNSR_Electrical_Inductance7
SNSR_Electrical_Current8
SNSR_Electrical_Voltage9
SNSR_Electrical_Power10
SNSR_Environmental_Temperature15
SNSR_Environmental_Pressure16
SNSR_Environmental_Humidity17
SNSR_Environmental_WindDirection18
SNSR_Environmental_WindSpeed19
SNSR_Light_Lux20
SNSR_Light_Temperature21
SNSR_Mechanical_Force25
SNSR_Mechanical_AbsPressure26
SNSR_Mechanical_GaugePressure27
SNSR_Mechanical_Weight28
SNSR_Motion_AccelerationX30
SNSR_Motion_AccelerationY31
SNSR_Motion_AccelerationZ32
SNSR_Motion_AngleAccelX33
SNSR_Motion_AngleAccelY34
SNSR_Motion_AngleAccelZ35
SNSR_Motion_Speed36
SNSR_Scanner_RFIDTag40
SNSR_Scanner_BarcodeData41
SNSR_Orientation_TiltX45
SNSR_Orientation_TiltY46
SNSR_Orientation_TiltZ47
SNSR_Orientation_DistanceX48
SNSR_Orientation_DistanceY49
SNSR_Orientation_DistanceZ50
SNSR_Orientation_MagHeading51
SNSR_Orientation_TrueHeading52
SNSR_Orientation_CompMagHeading53
SNSR_Orientation_CompTrueHeading54
SNSR_Location_Altitude60
SNSR_Location_Latitude61
SNSR_Location_Longitude62
SNSR_Location_Speed63
QSRT_A0
QSRT_D1
QSRT_UNICODEA2
QSRT_UNICODED3
QSRT_NATURALA4
QSRT_NATURALD5
VK_A65
VK_B66
VK_C67
VK_D68
VK_E69
VK_F70
VK_G71
VK_H72
VK_I73
VK_J74
VK_K75
VK_L76
VK_M77
VK_N78
VK_O79
VK_P80
VK_Q81
VK_R82
VK_S83
VK_T84
VK_U85
VK_V86
VK_W87
VK_X88
VK_Y89
VK_Z90
VK_048
VK_149
VK_250
VK_351
VK_452
VK_553
VK_654
VK_755
VK_856
VK_957
VK_START92
VK_BACK8
VK_TAB9
VK_CLEAR12
VK_ESC27
VK_ESCAPE27
VK_RETURN13
VK_ENTER13
VK_RRETURN901
VK_SHIFT16
VK_RSHIFT161
VK_WIN91
VK_RWIN92
VK_ALT18
VK_MENU18
VK_RALT165
VK_CTRL17
VK_CONTROL17
VK_RCTRL163
VK_PAUSE19
VK_CAPITAL20
VK_KANA21
VK_FINAL24
VK_KANJI25
VK_CONVERT28
VK_NONCONVERT29
VK_ACCEPT30
VK_MODECHANGE31
VK_SPACE32
VK_PRIOR33
VK_NEXT34
VK_END35
VK_HOME36
VK_LEFT37
VK_UP38
VK_RIGHT39
VK_DOWN40
VK_SELECT41
VK_PRINT42
VK_EXECUTE43
VK_SNAPSHOT44
VK_INSERT45
VK_DELETE46
VK_HELP47
VK_APPS93
VK_MULTIPLY106
VK_ADD107
VK_SEPARATOR108
VK_SUBTRACT109
VK_DECIMAL110
VK_DIVIDE111
VK_NUMPAD096
VK_F1112
VK_F2113
VK_F3114
VK_F4115
VK_F5116
VK_F6117
VK_F7118
VK_F8119
VK_F9120
VK_F10121
VK_F11122
VK_F12123
VK_NUMLOCK144
VK_SCROLL145
VK_PLAY250
VK_ZOOM251
VK_SLEEP95
VK_BROWSER_BACK166
VK_BROWSER_FORWARD167
VK_BROWSER_REFRESH168
VK_BROWSER_STOP169
VK_BROWSER_SEARCH170
VK_BROWSER_FAVORITES171
VK_BROWSER_HOME172
VK_VOLUME_MUTE173
VK_VOLUME_DOWN174
VK_VOLUME_UP175
VK_MEDIA_NEXT_TRACK176
VK_MEDIA_PREV_TRACK177
VK_MEDIA_STOP178
VK_MEDIA_PLAY_PAUSE179
VK_LAUNCH_MEDIA_SELECT181
VK_LAUNCH_MAIL180
VK_LAUNCH_APP1182
VK_LAUNCH_APP2183
VK_OEM_PLUS187
VK_OEM_COMMA188
VK_OEM_MINUS189
VK_OEM_PERIOD190
VK_OEM_1186
VK_OEM_2191
VK_OEM_3192
VK_OEM_4219
VK_OEM_5220
VK_OEM_6221
VK_OEM_7222
VK_OEM_8223
VK_OEM_RESET233
VK_OEM_JUMP234
VK_OEM_PA1235
VK_OEM_PA2236
VK_OEM_PA3237
EMPTYPARAM__EMPTYPARAM__

EMPTYPARAM

PARAM(パラメータ)がEMPTY(空)のときに指定する定数です。COMで引数を省略するときに使います。