プログラミング工房 > HSP > サンプルスクリプト > 

ウィンドウメッセージ定数マクロ

>> ダウンロード

/***********************************************************

	ウィンドウメッセージ定義

	【2006/02/27 更新】

	(S) =	アプリケーションから明示的に送信して使う
		ことができるメッセージ
		(ネット上の資料を参考にして独断で判断した
		ものです。またすべてのメッセージについて確
		認しているわけではありません)

***********************************************************/

#const	global	WM_ACTIVATE		0x0006
#const	global	WM_ACTIVATEAPP		0x001c
#const	global	WM_ASKCBFORMATNAME		0x030c
#const	global	WM_CANCELJOURNAL		0x004b
#const	global	WM_CANCELMODE		0x001f
#const	global	WM_CAPTURECHANGED		0x0215
#const	global	WM_CHANGECBCHAIN		0x030d
#const	global	WM_CHAR			0x0102		// (S)
#const	global	WM_CHARTOITEM		0x002f
#const	global	WM_CHILDACTIVATE		0x0022
#const	global	WM_CHOOSEFONT_GETLOGFONT	0x0401		// (S)
#const	global	WM_CHOOSEFONT_SETLOGFONT	0x0465
#const	global	WM_CHOOSEFONT_SETFLAGS	0x0466
#const	global	WM_CLEAR			0x0303		// (S)
#const	global	WM_CLOSE			0x0010
#const	global	WM_COMMAND		0x0111		// (S)
#const	global	WM_COMPACTING		0x0041
#const	global	WM_COMPAREITEM		0x0039
#const	global	WM_CONTEXTMENU		0x007b
#const	global	WM_COPY			0x0301		// (S)
#const	global	WM_COPYDATA		0x004a		// (S)
#const	global	WM_CREATE			0x0001
#const	global	WM_CTLCOLORBTN		0x0135
#const	global	WM_CTLCOLORDLG		0x0136
#const	global	WM_CTLCOLOREDIT		0x0133
#const	global	WM_CTLCOLORLISTBOX		0x0134
#const	global	WM_CTLCOLORMSGBOX		0x0132
#const	global	WM_CTLCOLORSCROLLBAR	0x0137
#const	global	WM_CTLCOLORSTATIC		0x0138
#const	global	WM_CUT			0x0300		// (S)
#const	global	WM_DEADCHAR		0x0103
#const	global	WM_DELETEITEM		0x002d
#const	global	WM_DESTROY		0x0002
#const	global	WM_DESTROYCLIPBOARD	0x0307
#const	global	WM_DEVICECHANGE		0x0219
#const	global	WM_DEVMODECHANGE		0x001b
#const	global	WM_DISPLAYCHANGE		0x007e
#const	global	WM_DRAWCLIPBOARD		0x0308
#const	global	WM_DRAWITEM		0x002b
#const	global	WM_DROPFILES		0x0233
#const	global	WM_ENABLE			0x000a
#const	global	WM_ENDSESSION		0x0016
#const	global	WM_ENTERIDLE		0x0121
#const	global	WM_ENTERMENULOOP		0x0211
#const	global	WM_ENTERSIZEMOVE		0x0231
#const	global	WM_ERASEBKGND		0x0014
#const	global	WM_EXITMENULOOP		0x0212
#const	global	WM_EXITSIZEMOVE		0x0232
#const	global	WM_FONTCHANGE		0x001d
#const	global	WM_GETDLGCODE		0x0087
#const	global	WM_GETFONT		0x0031		// (S)
#const	global	WM_GETHOTKEY		0x0033		// (S)
#const	global	WM_GETICON		0x007f		// (S)
#const	global	WM_GETMINMAXINFO		0x0024
#const	global	WM_GETTEXT		0x000d		// (S)
#const	global	WM_GETTEXTLENGTH		0x000e		// (S)
#const	global	WM_HELP			0x0053
#const	global	WM_HOTKEY			0x0312
#const	global	WM_HSCROLL		0x0114		// (S)
#const	global	WM_HSCROLLCLIPBOARD	0x030e
#const	global	WM_ICONERASEBKGND		0x0027
#const	global	WM_IME_CHAR		0x0286
#const	global	WM_IME_COMPOSITION		0x010f
#const	global	WM_IME_COMPOSITIONFULL	0x0284
#const	global	WM_IME_CONTROL		0x0283		// (S)
#const	global	WM_IME_ENDCOMPOSITION	0x010e
#const	global	WM_IME_KEYDOWN		0x0290
#const	global	WM_IME_KEYUP		0x0291
#const	global	WM_IME_NOTIFY		0x0282
#const	global	WM_IME_SELECT		0x0285
#const	global	WM_IME_SETCONTEXT		0x0281
#const	global	WM_IME_STARTCOMPOSITION	0x010d
#const	global	WM_INITDIALOG		0x0110
#const	global	WM_INITMENU		0x0116
#const	global	WM_INITMENUPOPUP		0x0117
#const	global	WM_INPUTLANGCHANGE		0x0051
#const	global	WM_INPUTLANGCHANGEREQUEST	0x0050
#const	global	WM_KEYDOWN		0x0100		// (S)
#const	global	WM_KEYUP			0x0101		// (S)
#const	global	WM_KILLFOCUS		0x0008
#const	global	WM_LBUTTONDBLCLK		0x0203		// (S)
#const	global	WM_LBUTTONDOWN		0x0201		// (S)
#const	global	WM_LBUTTONUP		0x0202		// (S)
#const	global	WM_MBUTTONDBLCLK		0x0209		// (S)
#const	global	WM_MBUTTONDOWN		0x0207		// (S)
#const	global	WM_MBUTTONUP		0x0208		// (S)
#const	global	WM_MDIACTIVATE		0x0222		// (S)
#const	global	WM_MDICASCADE		0x0227		// (S)
#const	global	WM_MDICREATE		0x0220		// (S)
#const	global	WM_MDIDESTROY		0x0221		// (S)
#const	global	WM_MDIGETACTIVE		0x0229		// (S)
#const	global	WM_MDIICONARRANGE		0x0228		// (S)
#const	global	WM_MDIMAXIMIZE		0x0225		// (S)
#const	global	WM_MDINEXT		0x0224		// (S)
#const	global	WM_MDIREFRESHMENU		0x0234
#const	global	WM_MDIRESTORE		0x0223		// (S)
#const	global	WM_MDISETMENU		0x0230		// (S)
#const	global	WM_MDITILE		0x0226		// (S)
#const	global	WM_MEASUREITEM		0x002c
#const	global	WM_MENUCHAR		0x0120
#const	global	WM_MENUSELECT		0x011f
#const	global	WM_MOUSEACTIVATE		0x0021
#const	global	WM_MOUSEMOVE		0x0200
#const	global	WM_MOVE			0x0003
#const	global	WM_MOVING			0x0216
#const	global	WM_NCACTIVATE		0x0086
#const	global	WM_NCCALCSIZE		0x0083
#const	global	WM_NCCREATE		0x0081
#const	global	WM_NCDESTROY		0x0082
#const	global	WM_NCHITTEST		0x0084		// (S)
#const	global	WM_NCLBUTTONDBLCLK		0x00a3
#const	global	WM_NCLBUTTONDOWN		0x00a1
#const	global	WM_NCLBUTTONUP		0x00a2
#const	global	WM_NCMBUTTONDBLCLK		0x00a9
#const	global	WM_NCMBUTTONDOWN		0x00a7
#const	global	WM_NCMBUTTONUP		0x00a8
#const	global	WM_NCMOUSEMOVE		0x00a0
#const	global	WM_NCPAINT		0x0085
#const	global	WM_NCRBUTTONDBLCLK		0x00a6
#const	global	WM_NCRBUTTONDOWN		0x00a4
#const	global	WM_NCRBUTTONUP		0x00a5
#const	global	WM_NEXTDLGCTL		0x0028		// (S)
#const	global	WM_NOTIFY			0x004e
#const	global	WM_NOTIFYFORMAT		0x0055
#const	global	WM_NULL        		0x0000
#const	global	WM_PAINT			0x000f
#const	global	WM_PAINTCLIPBOARD		0x0309
#const	global	WM_PAINTICON		0x0026
#const	global	WM_PALETTECHANGED		0x0311
#const	global	WM_PALETTEISCHANGING	0x0310
#const	global	WM_PARENTNOTIFY		0x0210
#const	global	WM_PASTE			0x0302		// (S)
#const	global	WM_PENWINFIRST  		0x0380
#const	global	WM_PENWINLAST  		0x038f
#const	global	WM_POWER			0x0048
#const	global	WM_POWERBROADCAST		0x0218
#const	global	WM_PRINT			0x0317
#const	global	WM_PRINTCLIENT		0x0318
#const	global	WM_PSD_ENVSTAMPRECT	0x0405
#const	global	WM_PSD_FULLPAGERECT	0x0401
#const	global	WM_PSD_GREEKTEXTRECT	0x0404
#const	global	WM_PSD_MARGINRECT		0x0403
#const	global	WM_PSD_MINMARGINRECT	0x0402
#const	global	WM_PSD_PAGESETUPDLG	0x0400
#const	global	WM_PSD_YAFULLPAGERECT	0x0406
#const	global	WM_QUERYDRAGICON		0x0037
#const	global	WM_QUERYENDSESSION		0x0011
#const	global	WM_QUERYNEWPALETTE		0x030f
#const	global	WM_QUERYOPEN		0x0013
#const	global	WM_QUEUESYNC		0x0023
#const	global	WM_QUIT			0x0012
#const	global	WM_RBUTTONDBLCLK		0x0206		// (S)
#const	global	WM_RBUTTONDOWN		0x0204		// (S)
#const	global	WM_RBUTTONUP		0x0205		// (S)
#const	global	WM_RENDERALLFORMATS	0x0306
#const	global	WM_RENDERFORMAT		0x0305
#const	global	WM_SETCURSOR		0x0020
#const	global	WM_SETFOCUS		0x0007
#const	global	WM_SETFONT		0x0030		// (S)
#const	global	WM_SETHOTKEY		0x0032		// (S)
#const	global	WM_SETICON		0x0080		// (S)
#const	global	WM_SETREDRAW		0x000b		// (S)
#const	global	WM_SETTEXT		0x000c		// (S)
#const	global	WM_SETTINGCHANGE		0x001a
#const	global	WM_SHOWWINDOW		0x0018
#const	global	WM_SIZE			0x0005
#const	global	WM_SIZECLIPBOARD		0x030b
#const	global	WM_SIZING			0x0214
#const	global	WM_SPOOLERSTATUS		0x002a
#const	global	WM_STYLECHANGED		0x007d
#const	global	WM_STYLECHANGING		0x007c
#const	global	WM_SYSCHAR		0x0106		// (S)
#const	global	WM_SYSCOLORCHANGE		0x0015
#const	global	WM_SYSCOMMAND		0x0112		// (S)
#const	global	WM_SYSDEADCHAR		0x0107		// (S)
#const	global	WM_SYSKEYDOWN		0x0104		// (S)
#const	global	WM_SYSKEYUP		0x0105		// (S)
#const	global	WM_TCARD			0x0052
#const	global	WM_TIMECHANGE		0x001e
#const	global	WM_TIMER			0x0113
#const	global	WM_UNDO			0x0304		// (S)
#const	global	WM_USER			0x0400
#const	global	WM_USERCHANGED		0x0054
#const	global	WM_VKEYTOITEM		0x002e
#const	global	WM_VSCROLL		0x0115		// (S)
#const	global	WM_VSCROLLCLIPBOARD	0x030a
#const	global	WM_WINDOWPOSCHANGED	0x0047
#const	global	WM_WINDOWPOSCHANGING	0x0046
#const	global	WM_WININICHANGE		0x001a

#const	global	WM_KEYFIRST		0x0100
#const	global	WM_KEYLAST		0x0108
#const	global	WM_MOUSEFIRST		0x0200
#const	global	WM_MOUSELAST		0x0209