WndProc函数的使用

1. 函数作用描述

C# Winform中WndProc 函数作用:
主要用在拦截并处理系统消息和自定义消息

windows程序会产生很多消息,比如你单击鼠标,移动窗口都会产生消息。这个函数就是默认的消息处理函数。你可以重载这个函数来制定自己的消息处理流程.

在Winform程序中,可以重写WndProc函数,来捕捉所有发生的窗口消息。

这样,我们就可以"篡改"传入的消息,而人为的让窗口改变行为。

protected override void WndProc(ref Message m)
{
	if (m.Msg == 0x0219)
	{//设备改变
		if (m.WParam.ToInt32() == 0x8004)
		{//usb串口拔出
			string[] ports = System.IO.Ports.SerialPort.GetPortNames();//重新获取串口
			portcomboBox.Items.Clear();//清除comboBox里面的数据
			portcomboBox.Items.AddRange(ports);//给comboBox1添加数据
			if (openportbutton.Text == "断开")
			{//用户打开过串口
				if (!serialPort1.IsOpen)
				{//用户打开的串口被关闭:说明热插拔是用户打开的串口
					openportbutton.Text = "连接";
					serialPort1.Dispose();//释放掉原先的串口资源
					portcomboBox.SelectedIndex = portcomboBox.Items.Count > 0 ? 0 : -1;//显示获取的第一个串口号
				}
				else
				{
					portcomboBox.Text = serialPortName;//显示用户打开的那个串口号
				}
			}
			else
			{//用户没有打开过串口
				portcomboBox.SelectedIndex = portcomboBox.Items.Count > 0 ? 0 : -1;//显示获取的第一个串口号
			}
		}
		else if (m.WParam.ToInt32() == 0x8000)
		{//usb串口连接上
			string[] ports = System.IO.Ports.SerialPort.GetPortNames();//重新获取串口
			portcomboBox.Items.Clear();
			portcomboBox.Items.AddRange(ports);
			if (openportbutton.Text == "断开")
			{//用户打开过一个串口
				portcomboBox.Text = serialPortName;//显示用户打开的那个串口号
			}
			else
			{
				portcomboBox.SelectedIndex = portcomboBox.Items.Count > 0 ? 0 : -1;//显示获取的第一个串口号
			}
		}
	}
	base.WndProc(ref m);
}

2. Message相关种类与映射表

HexDecimalSymbolic
00000WM_NULL
00011WM_CREATE
00022WM_DESTROY
00033WM_MOVE
00055WM_SIZE
00066WM_ACTIVATE
00077WM_SETFOCUS
00088WM_KILLFOCUS
000a10WM_ENABLE
000b11WM_SETREDRAW
000c12WM_SETTEXT
000d13WM_GETTEXT
000e14WM_GETTEXTLENGTH
000f15WM_PAINT
001016WM_CLOSE
001117WM_QUERYENDSESSION
001218WM_QUIT
001319WM_QUERYOPEN
001420WM_ERASEBKGND
001521WM_SYSCOLORCHANGE
001622WM_ENDSESSION
001824WM_SHOWWINDOW
001925WM_CTLCOLOR
001a26WM_WININICHANGE
001b27WM_DEVMODECHANGE
001c28WM_ACTIVATEAPP
001d29WM_FONTCHANGE
001e30WM_TIMECHANGE
001f31WM_CANCELMODE
002032WM_SETCURSOR
002133WM_MOUSEACTIVATE
002234WM_CHILDACTIVATE
002335WM_QUEUESYNC
002436WM_GETMINMAXINFO
002638WM_PAINTICON
002739WM_ICONERASEBKGND
002840WM_NEXTDLGCTL
002a42WM_SPOOLERSTATUS
002b43WM_DRAWITEM
002c44WM_MEASUREITEM
002d45WM_DELETEITEM
002e46WM_VKEYTOITEM
002f47WM_CHARTOITEM
003048WM_SETFONT
003149WM_GETFONT
003250WM_SETHOTKEY
003351WM_GETHOTKEY
003755WM_QUERYDRAGICON
003957WM_COMPAREITEM
003d61WM_GETOBJECT
004165WM_COMPACTING
004468WM_COMMNOTIFY
004670WM_WINDOWPOSCHANGING
004771WM_WINDOWPOSCHANGED
004872WM_POWER
004973WM_COPYGLOBALDATA
004a74WM_COPYDATA
004b75WM_CANCELJOURNAL
004e78WM_NOTIFY
005080WM_INPUTLANGCHANGEREQUEST
005181WM_INPUTLANGCHANGE
005282WM_TCARD
005383WM_HELP
005484WM_USERCHANGED
005585WM_NOTIFYFORMAT
007b123WM_CONTEXTMENU
007c124WM_STYLECHANGING
007d125WM_STYLECHANGED
007e126WM_DISPLAYCHANGE
007f127WM_GETICON
0080128WM_SETICON
0081129WM_NCCREATE
0082130WM_NCDESTROY
0083131WM_NCCALCSIZE
0084132WM_NCHITTEST
0085133WM_NCPAINT
0086134WM_NCACTIVATE
0087135WM_GETDLGCODE
0088136WM_SYNCPAINT
00a0160WM_NCMOUSEMOVE
00a1161WM_NCLBUTTONDOWN
00a2162WM_NCLBUTTONUP
00a3163WM_NCLBUTTONDBLCLK
00a4164WM_NCRBUTTONDOWN
00a5165WM_NCRBUTTONUP
00a6166WM_NCRBUTTONDBLCLK
00a7167WM_NCMBUTTONDOWN
00a8168WM_NCMBUTTONUP
00a9169WM_NCMBUTTONDBLCLK
00ab171WM_NCXBUTTONDOWN
00ac172WM_NCXBUTTONUP
00ad173WM_NCXBUTTONDBLCLK
00b0176EM_GETSEL
00b1177EM_SETSEL
00b2178EM_GETRECT
00b3179EM_SETRECT
00b4180EM_SETRECTNP
00b5181EM_SCROLL
00b6182EM_LINESCROLL
00b7183EM_SCROLLCARET
00b8185EM_GETMODIFY
00b9187EM_SETMODIFY
00ba188EM_GETLINECOUNT
00bb189EM_LINEINDEX
00bc190EM_SETHANDLE
00bd191EM_GETHANDLE
00be192EM_GETTHUMB
00c1193EM_LINELENGTH
00c2194EM_REPLACESEL
00c3195EM_SETFONT
00c4196EM_GETLINE
00c5197EM_LIMITTEXT
00c5197EM_SETLIMITTEXT
00c6198EM_CANUNDO
00c7199EM_UNDO
00c8200EM_FMTLINES
00c9201EM_LINEFROMCHAR
00ca202EM_SETWORDBREAK
00cb203EM_SETTABSTOPS
00cc204EM_SETPASSWORDCHAR
00cd205EM_EMPTYUNDOBUFFER
00ce206EM_GETFIRSTVISIBLELINE
00cf207EM_SETREADONLY
00d0209EM_SETWORDBREAKPROC
00d1209EM_GETWORDBREAKPROC
00d2210EM_GETPASSWORDCHAR
00d3211EM_SETMARGINS
00d4212EM_GETMARGINS
00d5213EM_GETLIMITTEXT
00d6214EM_POSFROMCHAR
00d7215EM_CHARFROMPOS
00d8216EM_SETIMESTATUS
00d9217EM_GETIMESTATUS
00e0224SBM_SETPOS
00e1225SBM_GETPOS
00e2226SBM_SETRANGE
00e3227SBM_GETRANGE
00e4228SBM_ENABLE_ARROWS
00e6230SBM_SETRANGEREDRAW
00e9233SBM_SETSCROLLINFO
00ea234SBM_GETSCROLLINFO
00eb235SBM_GETSCROLLBARINFO
00f0240BM_GETCHECK
00f1241BM_SETCHECK
00f2242BM_GETSTATE
00f3243BM_SETSTATE
00f4244BM_SETSTYLE
00f5245BM_CLICK
00f6246BM_GETIMAGE
00f7247BM_SETIMAGE
00f8248BM_SETDONTCLICK
00ff255WM_INPUT
0100256WM_KEYDOWN
0100256WM_KEYFIRST
0101257WM_KEYUP
0102258WM_CHAR
0103259WM_DEADCHAR
0104260WM_SYSKEYDOWN
0105261WM_SYSKEYUP
0106262WM_SYSCHAR
0107263WM_SYSDEADCHAR
0109265WM_UNICHAR / WM_KEYLAST
0109265WM_WNT_CONVERTREQUESTEX
010a266WM_CONVERTREQUEST
010b267WM_CONVERTRESULT
010c268WM_INTERIM
010d269WM_IME_STARTCOMPOSITION
010e270WM_IME_ENDCOMPOSITION
010f271WM_IME_COMPOSITION
010f271WM_IME_KEYLAST
0110272WM_INITDIALOG
0111273WM_COMMAND
0112274WM_SYSCOMMAND
0113275WM_TIMER
0114276WM_HSCROLL
0115277WM_VSCROLL
0116278WM_INITMENU
0117279WM_INITMENUPOPUP
0118280WM_SYSTIMER
011f287WM_MENUSELECT
0120288WM_MENUCHAR
0121289WM_ENTERIDLE
0122290WM_MENURBUTTONUP
0123291WM_MENUDRAG
0124292WM_MENUGETOBJECT
0125293WM_UNINITMENUPOPUP
0126294WM_MENUCOMMAND
0127295WM_CHANGEUISTATE
0128296WM_UPDATEUISTATE
0129297WM_QUERYUISTATE
0131305WM_LBTRACKPOINT
0132306WM_CTLCOLORMSGBOX
0133307WM_CTLCOLOREDIT
0134308WM_CTLCOLORLISTBOX
0135309WM_CTLCOLORBTN
0136310WM_CTLCOLORDLG
0137311WM_CTLCOLORSCROLLBAR
0138312WM_CTLCOLORSTATIC
0200512WM_MOUSEFIRST
0200512WM_MOUSEMOVE
0201513WM_LBUTTONDOWN
0202514WM_LBUTTONUP
0203515WM_LBUTTONDBLCLK
0204516WM_RBUTTONDOWN
0205517WM_RBUTTONUP
0206518WM_RBUTTONDBLCLK
0207519WM_MBUTTONDOWN
0208520WM_MBUTTONUP
0209521WM_MBUTTONDBLCLK
0209521WM_MOUSELAST
020a522WM_MOUSEWHEEL
020b523WM_XBUTTONDOWN
020c524WM_XBUTTONUP
020d525WM_XBUTTONDBLCLK
020e526WM_MOUSEHWHEEL
0210528WM_PARENTNOTIFY
0211529WM_ENTERMENULOOP
0212530WM_EXITMENULOOP
0213531WM_NEXTMENU
0214532WM_SIZING
0215533WM_CAPTURECHANGED
0216534WM_MOVING
0218536WM_POWERBROADCAST
0219537WM_DEVICECHANGE
0220544WM_MDICREATE
0221545WM_MDIDESTROY
0222546WM_MDIACTIVATE
0223547WM_MDIRESTORE
0224548WM_MDINEXT
0225549WM_MDIMAXIMIZE
0226550WM_MDITILE
0227551WM_MDICASCADE
0228552WM_MDIICONARRANGE
0229553WM_MDIGETACTIVE
0230560WM_MDISETMENU
0231561WM_ENTERSIZEMOVE
0232562WM_EXITSIZEMOVE
0233563WM_DROPFILES
0234564WM_MDIREFRESHMENU
0280640WM_IME_REPORT
0281641WM_IME_SETCONTEXT
0282642WM_IME_NOTIFY
0283643WM_IME_CONTROL
0284644WM_IME_COMPOSITIONFULL
0285645WM_IME_SELECT
0286646WM_IME_CHAR
0288648WM_IME_REQUEST
0290656WM_IMEKEYDOWN
0290656WM_IME_KEYDOWN
0291657WM_IMEKEYUP
0291657WM_IME_KEYUP
02a0672WM_NCMOUSEHOVER
02a1673WM_MOUSEHOVER
02a2674WM_NCMOUSELEAVE
02a3675WM_MOUSELEAVE
0300768WM_CUT
0301769WM_COPY
0302770WM_PASTE
0303771WM_CLEAR
0304772WM_UNDO
0305773WM_RENDERFORMAT
0306774WM_RENDERALLFORMATS
0307775WM_DESTROYCLIPBOARD
0308776WM_DRAWCLIPBOARD
0309777WM_PAINTCLIPBOARD
030a778WM_VSCROLLCLIPBOARD
030b779WM_SIZECLIPBOARD
030c780WM_ASKCBFORMATNAME
030d781WM_CHANGECBCHAIN
030e782WM_HSCROLLCLIPBOARD
030f783WM_QUERYNEWPALETTE
0310784WM_PALETTEISCHANGING
0311785WM_PALETTECHANGED
0312786WM_HOTKEY
0317791WM_PRINT
0318792WM_PRINTCLIENT
0319793WM_APPCOMMAND
0358856WM_HANDHELDFIRST
035f863WM_HANDHELDLAST
0360864WM_AFXFIRST
037f895WM_AFXLAST
0380896WM_PENWINFIRST
0381897WM_RCRESULT
0382898WM_HOOKRCRESULT
0383899WM_GLOBALRCCHANGE
0383899WM_PENMISCINFO
0384900WM_SKB
0385901WM_HEDITCTL
0385901WM_PENCTL
0386902WM_PENMISC
0387903WM_CTLINIT
0388904WM_PENEVENT
038f911WM_PENWINLAST
04001024DDM_SETFMT
04001024DM_GETDEFID
04001024NIN_SELECT
04001024TBM_GETPOS
04001024WM_PSD_PAGESETUPDLG
04001024WM_USER
04011025CBEM_INSERTITEMA
04011025DDM_DRAW
04011025DM_SETDEFID
04011025HKM_SETHOTKEY
04011025PBM_SETRANGE
04011025RB_INSERTBANDA
04011025SB_SETTEXTA
04011025TB_ENABLEBUTTON
04011025TBM_GETRANGEMIN
04011025TTM_ACTIVATE
04011025WM_CHOOSEFONT_GETLOGFONT
04011025WM_PSD_FULLPAGERECT
04021026CBEM_SETIMAGELIST
04021026DDM_CLOSE
04021026DM_REPOSITION
04021026HKM_GETHOTKEY
04021026PBM_SETPOS
04021026RB_DELETEBAND
04021026SB_GETTEXTA
04021026TB_CHECKBUTTON
04021026TBM_GETRANGEMAX
04021026WM_PSD_MINMARGINRECT
04031027CBEM_GETIMAGELIST
04031027DDM_BEGIN
04031027HKM_SETRULES
04031027PBM_DELTAPOS
04031027RB_GETBARINFO
04031027SB_GETTEXTLENGTHA
04031027TBM_GETTIC
04031027TB_PRESSBUTTON
04031027TTM_SETDELAYTIME
04031027WM_PSD_MARGINRECT
04041028CBEM_GETITEMA
04041028DDM_END
04041028PBM_SETSTEP
04041028RB_SETBARINFO
04041028SB_SETPARTS
04041028TB_HIDEBUTTON
04041028TBM_SETTIC
04041028TTM_ADDTOOLA
04041028WM_PSD_GREEKTEXTRECT
04051029CBEM_SETITEMA
04051029PBM_STEPIT
04051029TB_INDETERMINATE
04051029TBM_SETPOS
04051029TTM_DELTOOLA
04051029WM_PSD_ENVSTAMPRECT
04061030CBEM_GETCOMBOCONTROL
04061030PBM_SETRANGE32
04061030RB_SETBANDINFOA
04061030SB_GETPARTS
04061030TB_MARKBUTTON
04061030TBM_SETRANGE
04061030TTM_NEWTOOLRECTA
04061030WM_PSD_YAFULLPAGERECT
04071031CBEM_GETEDITCONTROL
04071031PBM_GETRANGE
04071031RB_SETPARENT
04071031SB_GETBORDERS
04071031TBM_SETRANGEMIN
04071031TTM_RELAYEVENT
04081032CBEM_SETEXSTYLE
04081032PBM_GETPOS
04081032RB_HITTEST
04081032SB_SETMINHEIGHT
04081032TBM_SETRANGEMAX
04081032TTM_GETTOOLINFOA
04091033CBEM_GETEXSTYLE
04091033CBEM_GETEXTENDEDSTYLE
04091033PBM_SETBARCOLOR
04091033RB_GETRECT
04091033SB_SIMPLE
04091033TB_ISBUTTONENABLED
04091033TBM_CLEARTICS
04091033TTM_SETTOOLINFOA
040a1034CBEM_HASEDITCHANGED
040a1034RB_INSERTBANDW
040a1034SB_GETRECT
040a1034TB_ISBUTTONCHECKED
040a1034TBM_SETSEL
040a1034TTM_HITTESTA
040a1034WIZ_QUERYNUMPAGES
040b1035CBEM_INSERTITEMW
040b1035RB_SETBANDINFOW
040b1035SB_SETTEXTW
040b1035TB_ISBUTTONPRESSED
040b1035TBM_SETSELSTART
040b1035TTM_GETTEXTA
040b1035WIZ_NEXT
040c1036CBEM_SETITEMW
040c1036RB_GETBANDCOUNT
040c1036SB_GETTEXTLENGTHW
040c1036TB_ISBUTTONHIDDEN
040c1036TBM_SETSELEND
040c1036TTM_UPDATETIPTEXTA
040c1036WIZ_PREV
040d1037CBEM_GETITEMW
040d1037RB_GETROWCOUNT
040d1037SB_GETTEXTW
040d1037TB_ISBUTTONINDETERMINATE
040d1037TTM_GETTOOLCOUNT
040e1038CBEM_SETEXTENDEDSTYLE
040e1038RB_GETROWHEIGHT
040e1038SB_ISSIMPLE
040e1038TB_ISBUTTONHIGHLIGHTED
040e1038TBM_GETPTICS
040e1038TTM_ENUMTOOLSA
040f1039SB_SETICON
040f1039TBM_GETTICPOS
040f1039TTM_GETCURRENTTOOLA
04101040RB_IDTOINDEX
04101040SB_SETTIPTEXTA
04101040TBM_GETNUMTICS
04101040TTM_WINDOWFROMPOINT
04111041RB_GETTOOLTIPS
04111041SB_SETTIPTEXTW
04111041TBM_GETSELSTART
04111041TB_SETSTATE
04111041TTM_TRACKACTIVATE
04121042RB_SETTOOLTIPS
04121042SB_GETTIPTEXTA
04121042TB_GETSTATE
04121042TBM_GETSELEND
04121042TTM_TRACKPOSITION
04131043RB_SETBKCOLOR
04131043SB_GETTIPTEXTW
04131043TB_ADDBITMAP
04131043TBM_CLEARSEL
04131043TTM_SETTIPBKCOLOR
04141044RB_GETBKCOLOR
04141044SB_GETICON
04141044TB_ADDBUTTONSA
04141044TBM_SETTICFREQ
04141044TTM_SETTIPTEXTCOLOR
04151045RB_SETTEXTCOLOR
04151045TB_INSERTBUTTONA
04151045TBM_SETPAGESIZE
04151045TTM_GETDELAYTIME
04161046RB_GETTEXTCOLOR
04161046TB_DELETEBUTTON
04161046TBM_GETPAGESIZE
04161046TTM_GETTIPBKCOLOR
04171047RB_SIZETORECT
04171047TB_GETBUTTON
04171047TBM_SETLINESIZE
04171047TTM_GETTIPTEXTCOLOR
04181048RB_BEGINDRAG
04181048TB_BUTTONCOUNT
04181048TBM_GETLINESIZE
04181048TTM_SETMAXTIPWIDTH
04191049RB_ENDDRAG
04191049TB_COMMANDTOINDEX
04191049TBM_GETTHUMBRECT
04191049TTM_GETMAXTIPWIDTH
041a1050RB_DRAGMOVE
041a1050TBM_GETCHANNELRECT
041a1050TB_SAVERESTOREA
041a1050TTM_SETMARGIN
041b1051RB_GETBARHEIGHT
041b1051TB_CUSTOMIZE
041b1051TBM_SETTHUMBLENGTH
041b1051TTM_GETMARGIN
041c1052RB_GETBANDINFOW
041c1052TB_ADDSTRINGA
041c1052TBM_GETTHUMBLENGTH
041c1052TTM_POP
041d1053RB_GETBANDINFOA
041d1053TB_GETITEMRECT
041d1053TBM_SETTOOLTIPS
041d1053TTM_UPDATE
041e1054RB_MINIMIZEBAND
041e1054TB_BUTTONSTRUCTSIZE
041e1054TBM_GETTOOLTIPS
041e1054TTM_GETBUBBLESIZE
041f1055RB_MAXIMIZEBAND
041f1055TBM_SETTIPSIDE
041f1055TB_SETBUTTONSIZE
041f1055TTM_ADJUSTRECT
04201056TBM_SETBUDDY
04201056TB_SETBITMAPSIZE
04201056TTM_SETTITLEA
04211057MSG_FTS_JUMP_VA
04211057TB_AUTOSIZE
04211057TBM_GETBUDDY
04211057TTM_SETTITLEW
04221058RB_GETBANDBORDERS
04231059MSG_FTS_JUMP_QWORD
04231059RB_SHOWBAND
04231059TB_GETTOOLTIPS
04241060MSG_REINDEX_REQUEST
04241060TB_SETTOOLTIPS
04251061MSG_FTS_WHERE_IS_IT
04251061RB_SETPALETTE
04251061TB_SETPARENT
04261062RB_GETPALETTE
04271063RB_MOVEBAND
04271063TB_SETROWS
04281064TB_GETROWS
04291065TB_GETBITMAPFLAGS
042a1066TB_SETCMDID
042b1067RB_PUSHCHEVRON
042b1067TB_CHANGEBITMAP
042c1068TB_GETBITMAP
042d1069MSG_GET_DEFFONT
042d1069TB_GETBUTTONTEXTA
042e1070TB_REPLACEBITMAP
042f1071TB_SETINDENT
04301072TB_SETIMAGELIST
04311073TB_GETIMAGELIST
04321074TB_LOADIMAGES
04321074EM_CANPASTE
04321074TTM_ADDTOOLW
04331075EM_DISPLAYBAND
04331075TB_GETRECT
04331075TTM_DELTOOLW
04341076EM_EXGETSEL
04341076TB_SETHOTIMAGELIST
04341076TTM_NEWTOOLRECTW
04351077EM_EXLIMITTEXT
04351077TB_GETHOTIMAGELIST
04351077TTM_GETTOOLINFOW
04361078EM_EXLINEFROMCHAR
04361078TB_SETDISABLEDIMAGELIST
04361078TTM_SETTOOLINFOW
04371079EM_EXSETSEL
04371079TB_GETDISABLEDIMAGELIST
04371079TTM_HITTESTW
04381080EM_FINDTEXT
04381080TB_SETSTYLE
04381080TTM_GETTEXTW
04391081EM_FORMATRANGE
04391081TB_GETSTYLE
04391081TTM_UPDATETIPTEXTW
043a1082EM_GETCHARFORMAT
043a1082TB_GETBUTTONSIZE
043a1082TTM_ENUMTOOLSW
043b1083EM_GETEVENTMASK
043b1083TB_SETBUTTONWIDTH
043b1083TTM_GETCURRENTTOOLW
043c1084EM_GETOLEINTERFACE
043c1084TB_SETMAXTEXTROWS
043d1085EM_GETPARAFORMAT
043d1085TB_GETTEXTROWS
043e1086EM_GETSELTEXT
043e1086TB_GETOBJECT
043f1087EM_HIDESELECTION
043f1087TB_GETBUTTONINFOW
04401088EM_PASTESPECIAL
04401088TB_SETBUTTONINFOW
04411089EM_REQUESTRESIZE
04411089TB_GETBUTTONINFOA
04421090EM_SELECTIONTYPE
04421090TB_SETBUTTONINFOA
04431091EM_SETBKGNDCOLOR
04431091TB_INSERTBUTTONW
04441092EM_SETCHARFORMAT
04441092TB_ADDBUTTONSW
04451093EM_SETEVENTMASK
04451093TB_HITTEST
04461094EM_SETOLECALLBACK
04461094TB_SETDRAWTEXTFLAGS
04471095EM_SETPARAFORMAT
04471095TB_GETHOTITEM
04481096EM_SETTARGETDEVICE
04481096TB_SETHOTITEM
04491097EM_STREAMIN
04491097TB_SETANCHORHIGHLIGHT
044a1098EM_STREAMOUT
044a1098TB_GETANCHORHIGHLIGHT
044b1099EM_GETTEXTRANGE
044b1099TB_GETBUTTONTEXTW
044c1100EM_FINDWORDBREAK
044c1100TB_SAVERESTOREW
044d1101EM_SETOPTIONS
044d1101TB_ADDSTRINGW
044e1102EM_GETOPTIONS
044e1102TB_MAPACCELERATORA
044f1103EM_FINDTEXTEX
044f1103TB_GETINSERTMARK
04501104EM_GETWORDBREAKPROCEX
04501104TB_SETINSERTMARK
04511105EM_SETWORDBREAKPROCEX
04511105TB_INSERTMARKHITTEST
04521106EM_SETUNDOLIMIT
04521106TB_MOVEBUTTON
04531107TB_GETMAXSIZE
04541108EM_REDO
04541108TB_SETEXTENDEDSTYLE
04551109EM_CANREDO
04551109TB_GETEXTENDEDSTYLE
04561110EM_GETUNDONAME
04561110TB_GETPADDING
04571111EM_GETREDONAME
04571111TB_SETPADDING
04581112EM_STOPGROUPTYPING
04581112TB_SETINSERTMARKCOLOR
04591113EM_SETTEXTMODE
04591113TB_GETINSERTMARKCOLOR
045a1114EM_GETTEXTMODE
045a1114TB_MAPACCELERATORW
045b1115EM_AUTOURLDETECT
045b1115TB_GETSTRINGW
045c1116EM_GETAUTOURLDETECT
045c1116TB_GETSTRINGA
045d1117EM_SETPALETTE
045e1118EM_GETTEXTEX
045f1119EM_GETTEXTLENGTHEX
04601120EM_SHOWSCROLLBAR
04611121EM_SETTEXTEX
04631123TAPI_REPLY
04641124ACM_OPENA
04641124BFFM_SETSTATUSTEXTA
04641124CDM_FIRST
04641124CDM_GETSPEC
04641124EM_SETPUNCTUATION
04641124IPM_CLEARADDRESS
04641124WM_CAP_UNICODE_START
04651125ACM_PLAY
04651125BFFM_ENABLEOK
04651125CDM_GETFILEPATH
04651125EM_GETPUNCTUATION
04651125IPM_SETADDRESS
04651125PSM_SETCURSEL
04651125UDM_SETRANGE
04651125WM_CHOOSEFONT_SETLOGFONT
04661126ACM_STOP
04661126BFFM_SETSELECTIONA
04661126CDM_GETFOLDERPATH
04661126EM_SETWORDWRAPMODE
04661126IPM_GETADDRESS
04661126PSM_REMOVEPAGE
04661126UDM_GETRANGE
04661126WM_CAP_SET_CALLBACK_ERRORW
04661126WM_CHOOSEFONT_SETFLAGS
04671127ACM_OPENW
04671127BFFM_SETSELECTIONW
04671127CDM_GETFOLDERIDLIST
04671127EM_GETWORDWRAPMODE
04671127IPM_SETRANGE
04671127PSM_ADDPAGE
04671127UDM_SETPOS
04671127WM_CAP_SET_CALLBACK_STATUSW
04681128BFFM_SETSTATUSTEXTW
04681128CDM_SETCONTROLTEXT
04681128EM_SETIMECOLOR
04681128IPM_SETFOCUS
04681128PSM_CHANGED
04681128UDM_GETPOS
04691129CDM_HIDECONTROL
04691129EM_GETIMECOLOR
04691129IPM_ISBLANK
04691129PSM_RESTARTWINDOWS
04691129UDM_SETBUDDY
046a1130CDM_SETDEFEXT
046a1130EM_SETIMEOPTIONS
046a1130PSM_REBOOTSYSTEM
046a1130UDM_GETBUDDY
046b1131EM_GETIMEOPTIONS
046b1131PSM_CANCELTOCLOSE
046b1131UDM_SETACCEL
046c1132EM_CONVPOSITION
046c1132EM_CONVPOSITION
046c1132PSM_QUERYSIBLINGS
046c1132UDM_GETACCEL
046d1133MCIWNDM_GETZOOM
046d1133PSM_UNCHANGED
046d1133UDM_SETBASE
046e1134PSM_APPLY
046e1134UDM_GETBASE
046f1135PSM_SETTITLEA
046f1135UDM_SETRANGE32
04701136PSM_SETWIZBUTTONS
04701136UDM_GETRANGE32
04701136WM_CAP_DRIVER_GET_NAMEW
04711137PSM_PRESSBUTTON
04711137UDM_SETPOS32
04711137WM_CAP_DRIVER_GET_VERSIONW
04721138PSM_SETCURSELID
04721138UDM_GETPOS32
04731139PSM_SETFINISHTEXTA
04741140PSM_GETTABCONTROL
04751141PSM_ISDIALOGMESSAGE
04761142MCIWNDM_REALIZE
04761142PSM_GETCURRENTPAGEHWND
04771143MCIWNDM_SETTIMEFORMATA
04771143PSM_INSERTPAGE
04781144EM_SETLANGOPTIONS
04781144MCIWNDM_GETTIMEFORMATA
04781144PSM_SETTITLEW
04781144WM_CAP_FILE_SET_CAPTURE_FILEW
04791145EM_GETLANGOPTIONS
04791145MCIWNDM_VALIDATEMEDIA
04791145PSM_SETFINISHTEXTW
04791145WM_CAP_FILE_GET_CAPTURE_FILEW
047a1146EM_GETIMECOMPMODE
047b1147EM_FINDTEXTW
047b1147MCIWNDM_PLAYTO
047b1147WM_CAP_FILE_SAVEASW
047c1148EM_FINDTEXTEXW
047c1148MCIWNDM_GETFILENAMEA
047d1149EM_RECONVERSION
047d1149MCIWNDM_GETDEVICEA
047d1149PSM_SETHEADERTITLEA
047d1149WM_CAP_FILE_SAVEDIBW
047e1150EM_SETIMEMODEBIAS
047e1150MCIWNDM_GETPALETTE
047e1150PSM_SETHEADERTITLEW
047f1151EM_GETIMEMODEBIAS
047f1151MCIWNDM_SETPALETTE
047f1151PSM_SETHEADERSUBTITLEA
04801152MCIWNDM_GETERRORA
04801152PSM_SETHEADERSUBTITLEW
04811153PSM_HWNDTOINDEX
04821154PSM_INDEXTOHWND
04831155MCIWNDM_SETINACTIVETIMER
04831155PSM_PAGETOINDEX
04841156PSM_INDEXTOPAGE
04851157DL_BEGINDRAG
04851157MCIWNDM_GETINACTIVETIMER
04851157PSM_IDTOINDEX
04861158DL_DRAGGING
04861158PSM_INDEXTOID
04871159DL_DROPPED
04871159PSM_GETRESULT
04881160DL_CANCELDRAG
04881160PSM_RECALCPAGESIZES
048c1164MCIWNDM_GET_SOURCE
048d1165MCIWNDM_PUT_SOURCE
048e1166MCIWNDM_GET_DEST
048f1167MCIWNDM_PUT_DEST
04901168MCIWNDM_CAN_PLAY
04911169MCIWNDM_CAN_WINDOW
04921170MCIWNDM_CAN_RECORD
04931171MCIWNDM_CAN_SAVE
04941172MCIWNDM_CAN_EJECT
04951173MCIWNDM_CAN_CONFIG
04961174IE_GETINK
04961174IE_MSGFIRST
04961174MCIWNDM_PALETTEKICK
04971175IE_SETINK
04981176IE_GETPENTIP
04991177IE_SETPENTIP
049a1178IE_GETERASERTIP
049b1179IE_SETERASERTIP
049c1180IE_GETBKGND
049d1181IE_SETBKGND
049e1182IE_GETGRIDORIGIN
049f1183IE_SETGRIDORIGIN
04a01184IE_GETGRIDPEN
04a11185IE_SETGRIDPEN
04a21186IE_GETGRIDSIZE
04a31187IE_SETGRIDSIZE
04a41188IE_GETMODE
04a51189IE_SETMODE
04a61190IE_GETINKRECT
04a61190WM_CAP_SET_MCI_DEVICEW
04a71191WM_CAP_GET_MCI_DEVICEW
04b41204WM_CAP_PAL_OPENW
04b51205WM_CAP_PAL_SAVEW
04b81208IE_GETAPPDATA
04b91209IE_SETAPPDATA
04ba1210IE_GETDRAWOPTS
04bb1211IE_SETDRAWOPTS
04bc1212IE_GETFORMAT
04bd1213IE_SETFORMAT
04be1214IE_GETINKINPUT
04bf1215IE_SETINKINPUT
04c01216IE_GETNOTIFY
04c11217IE_SETNOTIFY
04c21218IE_GETRECOG
04c31219IE_SETRECOG
04c41220IE_GETSECURITY
04c51221IE_SETSECURITY
04c61222IE_GETSEL
04c71223IE_SETSEL
04c81224CDM_LAST
04c81224EM_SETBIDIOPTIONS
04c81224IE_DOCOMMAND
04c81224MCIWNDM_NOTIFYMODE
04c91225EM_GETBIDIOPTIONS
04c91225IE_GETCOMMAND
04ca1226EM_SETTYPOGRAPHYOPTIONS
04ca1226IE_GETCOUNT
04cb1227EM_GETTYPOGRAPHYOPTIONS
04cb1227IE_GETGESTURE
04cb1227MCIWNDM_NOTIFYMEDIA
04cc1228EM_SETEDITSTYLE
04cc1228IE_GETMENU
04cd1229EM_GETEDITSTYLE
04cd1229IE_GETPAINTDC
04cd1229MCIWNDM_NOTIFYERROR
04ce1230IE_GETPDEVENT
04cf1231IE_GETSELCOUNT
04d01232IE_GETSELITEMS
04d11233IE_GETSTYLE
04db1243MCIWNDM_SETTIMEFORMATW
04dc1244EM_OUTLINE
04dc1244MCIWNDM_GETTIMEFORMATW
04dd1245EM_GETSCROLLPOS
04de1246EM_SETSCROLLPOS
04de1246EM_SETSCROLLPOS
04df1247EM_SETFONTSIZE
04e01248EM_GETZOOM
04e01248MCIWNDM_GETFILENAMEW
04e11249EM_SETZOOM
04e11249MCIWNDM_GETDEVICEW
04e21250EM_GETVIEWKIND
04e31251EM_SETVIEWKIND
04e41252EM_GETPAGE
04e41252MCIWNDM_GETERRORW
04e51253EM_SETPAGE
04e61254EM_GETHYPHENATEINFO
04e71255EM_SETHYPHENATEINFO
04eb1259EM_GETPAGEROTATE
04ec1260EM_SETPAGEROTATE
04ed1261EM_GETCTFMODEBIAS
04ee1262EM_SETCTFMODEBIAS
04f01264EM_GETCTFOPENSTATUS
04f11265EM_SETCTFOPENSTATUS
04f21266EM_GETIMECOMPTEXT
04f31267EM_ISIME
04f41268EM_GETIMEPROPERTY
050d1293EM_GETQUERYRTFOBJ
050e1294EM_SETQUERYRTFOBJ
06001536FM_GETFOCUS
06011537FM_GETDRIVEINFOA
06021538FM_GETSELCOUNT
06031539FM_GETSELCOUNTLFN
06041540FM_GETFILESELA
06051541FM_GETFILESELLFNA
06061542FM_REFRESH_WINDOWS
06071543FM_RELOAD_EXTENSIONS
06111553FM_GETDRIVEINFOW
06141556FM_GETFILESELW
06151557FM_GETFILESELLFNW
06591625WLX_WM_SAS
07e82024SM_GETSELCOUNT
07e82024UM_GETSELCOUNT
07e82024WM_CPL_LAUNCH
07e92025SM_GETSERVERSELA
07e92025UM_GETUSERSELA
07e92025WM_CPL_LAUNCHED
07ea2026SM_GETSERVERSELW
07ea2026UM_GETUSERSELW
07eb2027SM_GETCURFOCUSA
07eb2027UM_GETGROUPSELA
07ec2028SM_GETCURFOCUSW
07ec2028UM_GETGROUPSELW
07ed2029SM_GETOPTIONS
07ed2029UM_GETCURFOCUSA
07ee2030UM_GETCURFOCUSW
07ef2031UM_GETOPTIONS
07f02032UM_GETOPTIONS2
10004096LVM_FIRST
10004096LVM_GETBKCOLOR
10014097LVM_SETBKCOLOR
10024098LVM_GETIMAGELIST
10034099LVM_SETIMAGELIST
10044100LVM_GETITEMCOUNT
10054101LVM_GETITEMA
10064102LVM_SETITEMA
10074103LVM_INSERTITEMA
10084104LVM_DELETEITEM
10094105LVM_DELETEALLITEMS
100a4106LVM_GETCALLBACKMASK
100b4107LVM_SETCALLBACKMASK
100c4108LVM_GETNEXTITEM
100d4109LVM_FINDITEMA
100e4110LVM_GETITEMRECT
100f4111LVM_SETITEMPOSITION
10104112LVM_GETITEMPOSITION
10114113LVM_GETSTRINGWIDTHA
10124114LVM_HITTEST
10134115LVM_ENSUREVISIBLE
10144116LVM_SCROLL
10154117LVM_REDRAWITEMS
10164118LVM_ARRANGE
10174119LVM_EDITLABELA
10184120LVM_GETEDITCONTROL
10194121LVM_GETCOLUMNA
101a4122LVM_SETCOLUMNA
101b4123LVM_INSERTCOLUMNA
101c4124LVM_DELETECOLUMN
101d4125LVM_GETCOLUMNWIDTH
101e4126LVM_SETCOLUMNWIDTH
101f4127LVM_GETHEADER
10214129LVM_CREATEDRAGIMAGE
10224130LVM_GETVIEWRECT
10234131LVM_GETTEXTCOLOR
10244132LVM_SETTEXTCOLOR
10254133LVM_GETTEXTBKCOLOR
10264134LVM_SETTEXTBKCOLOR
10274135LVM_GETTOPINDEX
10284136LVM_GETCOUNTPERPAGE
10294137LVM_GETORIGIN
102a4138LVM_UPDATE
102b4139LVM_SETITEMSTATE
102c4140LVM_GETITEMSTATE
102d4141LVM_GETITEMTEXTA
102e4142LVM_SETITEMTEXTA
102f4143LVM_SETITEMCOUNT
10304144LVM_SORTITEMS
10314145LVM_SETITEMPOSITION32
10324146LVM_GETSELECTEDCOUNT
10334147LVM_GETITEMSPACING
10344148LVM_GETISEARCHSTRINGA
10354149LVM_SETICONSPACING
10364150LVM_SETEXTENDEDLISTVIEWSTYLE
10374151LVM_GETEXTENDEDLISTVIEWSTYLE
10384152LVM_GETSUBITEMRECT
10394153LVM_SUBITEMHITTEST
103a4154LVM_SETCOLUMNORDERARRAY
103b4155LVM_GETCOLUMNORDERARRAY
103c4156LVM_SETHOTITEM
103d4157LVM_GETHOTITEM
103e4158LVM_SETHOTCURSOR
103f4159LVM_GETHOTCURSOR
10404160LVM_APPROXIMATEVIEWRECT
10414161LVM_SETWORKAREAS
10424162LVM_GETSELECTIONMARK
10434163LVM_SETSELECTIONMARK
10444164LVM_SETBKIMAGEA
10454165LVM_GETBKIMAGEA
10464166LVM_GETWORKAREAS
10474167LVM_SETHOVERTIME
10484168LVM_GETHOVERTIME
10494169LVM_GETNUMBEROFWORKAREAS
104a4170LVM_SETTOOLTIPS
104b4171LVM_GETITEMW
104c4172LVM_SETITEMW
104d4173LVM_INSERTITEMW
104e4174LVM_GETTOOLTIPS
10534179LVM_FINDITEMW
10574183LVM_GETSTRINGWIDTHW
105f4191LVM_GETCOLUMNW
10604192LVM_SETCOLUMNW
10614193LVM_INSERTCOLUMNW
10734211LVM_GETITEMTEXTW
10744212LVM_SETITEMTEXTW
10754213LVM_GETISEARCHSTRINGW
10764214LVM_EDITLABELW
108b4235LVM_GETBKIMAGEW
108c4236LVM_SETSELECTEDCOLUMN
108d4237LVM_SETTILEWIDTH
108e4238LVM_SETVIEW
108f4239LVM_GETVIEW
10914241LVM_INSERTGROUP
10934243LVM_SETGROUPINFO
10954245LVM_GETGROUPINFO
10964246LVM_REMOVEGROUP
10974247LVM_MOVEGROUP
109a4250LVM_MOVEITEMTOGROUP
109b4251LVM_SETGROUPMETRICS
109c4252LVM_GETGROUPMETRICS
109d4253LVM_ENABLEGROUPVIEW
109e4254LVM_SORTGROUPS
109f4255LVM_INSERTGROUPSORTED
10a04256LVM_REMOVEALLGROUPS
10a14257LVM_HASGROUP
10a24258LVM_SETTILEVIEWINFO
10a34259LVM_GETTILEVIEWINFO
10a44260LVM_SETTILEINFO
10a54261LVM_GETTILEINFO
10a64262LVM_SETINSERTMARK
10a74263LVM_GETINSERTMARK
10a84264LVM_INSERTMARKHITTEST
10a94265LVM_GETINSERTMARKRECT
10aa4266LVM_SETINSERTMARKCOLOR
10ab4267LVM_GETINSERTMARKCOLOR
10ad4269LVM_SETINFOTIP
10ae4270LVM_GETSELECTEDCOLUMN
10af4271LVM_ISGROUPVIEWENABLED
10b04272LVM_GETOUTLINECOLOR
10b14273LVM_SETOUTLINECOLOR
10b34275LVM_CANCELEDITLABEL
10b44276LVM_MAPINDEXTOID
10b54277LVM_MAPIDTOINDEX
10b64278LVM_ISITEMVISIBLE
20008192OCM__BASE
20058197LVM_SETUNICODEFORMAT
20068198LVM_GETUNICODEFORMAT
20198217OCM_CTLCOLOR
202b8235OCM_DRAWITEM
202c8236OCM_MEASUREITEM
202d8237OCM_DELETEITEM
202e8238OCM_VKEYTOITEM
202f8239OCM_CHARTOITEM
20398249OCM_COMPAREITEM
204e8270OCM_NOTIFY
21118465OCM_COMMAND
21148468OCM_HSCROLL
21158469OCM_VSCROLL
21328498OCM_CTLCOLORMSGBOX
21338499OCM_CTLCOLOREDIT
21348500OCM_CTLCOLORLISTBOX
21358501OCM_CTLCOLORBTN
21368502OCM_CTLCOLORDLG
21378503OCM_CTLCOLORSCROLLBAR
21388504OCM_CTLCOLORSTATIC
22108720OCM_PARENTNOTIFY
800032768DBT_DEVICEARRIVAL
800132769DBT_DEVICEQUERYREMOVE
800232770DBT_DEVICEQUERYREMOVEFAILED
800332771DBT_DEVICEREMOVEPENDING
800432772DBT_DEVICEREMOVECOMPLETE
800532773DBT_DEVICETYPESPECIFIC
cccd52429WM_RASDIALEVENT
  • 可以利用以上映射关系对应获得相关的时间操作

  • 映射关系代码

	/// <summary>
	/// Window API enumerations
	/// </summary>
	#region Peek Message Flags
	public enum PeekMessageFlags
	{
		PM_NOREMOVE = 0,
		PM_REMOVE = 1,
		PM_NOYIELD = 2
	}
	#endregion
	#region Windows Messages
	public enum WinMsg
	{
		WM_NULL = 0x0000,
		WM_CREATE = 0x0001,
		WM_DESTROY = 0x0002,
		WM_MOVE = 0x0003,
		WM_SIZE = 0x0005,
		WM_ACTIVATE = 0x0006,
		WM_SETFOCUS = 0x0007,
		WM_KILLFOCUS = 0x0008,
		WM_ENABLE = 0x000A,
		WM_SETREDRAW = 0x000B,
		WM_SETTEXT = 0x000C,
		WM_GETTEXT = 0x000D,
		WM_GETTEXTLENGTH = 0x000E,
		WM_PAINT = 0x000F,
		WM_CLOSE = 0x0010,
		WM_QUERYENDSESSION = 0x0011,
		WM_QUIT = 0x0012,
		WM_QUERYOPEN = 0x0013,
		WM_ERASEBKGND = 0x0014,
		WM_SYSCOLORCHANGE = 0x0015,
		WM_ENDSESSION = 0x0016,
		WM_SHOWWINDOW = 0x0018,
		WM_CTLCOLOR = 0x0019,
		WM_WININICHANGE = 0x001A,
		WM_SETTINGCHANGE = 0x001A,
		WM_DEVMODECHANGE = 0x001B,
		WM_ACTIVATEAPP = 0x001C,
		WM_FONTCHANGE = 0x001D,
		WM_TIMECHANGE = 0x001E,
		WM_CANCELMODE = 0x001F,
		WM_SETCURSOR = 0x0020,
		WM_MOUSEACTIVATE = 0x0021,
		WM_CHILDACTIVATE = 0x0022,
		WM_QUEUESYNC = 0x0023,
		WM_GETMINMAXINFO = 0x0024,
		WM_PAINTICON = 0x0026,
		WM_ICONERASEBKGND = 0x0027,
		WM_NEXTDLGCTL = 0x0028,
		WM_SPOOLERSTATUS = 0x002A,
		WM_DRAWITEM = 0x002B,
		WM_MEASUREITEM = 0x002C,
		WM_DELETEITEM = 0x002D,
		WM_VKEYTOITEM = 0x002E,
		WM_CHARTOITEM = 0x002F,
		WM_SETFONT = 0x0030,
		WM_GETFONT = 0x0031,
		WM_SETHOTKEY = 0x0032,
		WM_GETHOTKEY = 0x0033,
		WM_QUERYDRAGICON = 0x0037,
		WM_COMPAREITEM = 0x0039,
		WM_GETOBJECT = 0x003D,
		WM_COMPACTING = 0x0041,
		WM_COMMNOTIFY = 0x0044,
		WM_WINDOWPOSCHANGING = 0x0046,
		WM_WINDOWPOSCHANGED = 0x0047,
		WM_POWER = 0x0048,
		WM_COPYDATA = 0x004A,
		WM_CANCELJOURNAL = 0x004B,
		WM_NOTIFY = 0x004E,
		WM_INPUTLANGCHANGEREQUEST = 0x0050,
		WM_INPUTLANGCHANGE = 0x0051,
		WM_TCARD = 0x0052,
		WM_HELP = 0x0053,
		WM_USERCHANGED = 0x0054,
		WM_NOTIFYFORMAT = 0x0055,
		WM_CONTEXTMENU = 0x007B,
		WM_STYLECHANGING = 0x007C,
		WM_STYLECHANGED = 0x007D,
		WM_DISPLAYCHANGE = 0x007E,
		WM_GETICON = 0x007F,
		WM_SETICON = 0x0080,
		WM_NCCREATE = 0x0081,
		WM_NCDESTROY = 0x0082,
		WM_NCCALCSIZE = 0x0083,
		WM_NCHITTEST = 0x0084,
		WM_NCPAINT = 0x0085,
		WM_NCACTIVATE = 0x0086,
		WM_GETDLGCODE = 0x0087,
		WM_SYNCPAINT = 0x0088,
		WM_NCMOUSEMOVE = 0x00A0,
		WM_NCLBUTTONDOWN = 0x00A1,
		WM_NCLBUTTONUP = 0x00A2,
		WM_NCLBUTTONDBLCLK = 0x00A3,
		WM_NCRBUTTONDOWN = 0x00A4,
		WM_NCRBUTTONUP = 0x00A5,
		WM_NCRBUTTONDBLCLK = 0x00A6,
		WM_NCMBUTTONDOWN = 0x00A7,
		WM_NCMBUTTONUP = 0x00A8,
		WM_NCMBUTTONDBLCLK = 0x00A9,
		WM_KEYDOWN = 0x0100,
		WM_KEYUP = 0x0101,
		WM_CHAR = 0x0102,
		WM_DEADCHAR = 0x0103,
		WM_SYSKEYDOWN = 0x0104,
		WM_SYSKEYUP = 0x0105,
		WM_SYSCHAR = 0x0106,
		WM_SYSDEADCHAR = 0x0107,
		WM_KEYLAST = 0x0108,
		WM_IME_STARTCOMPOSITION = 0x010D,
		WM_IME_ENDCOMPOSITION = 0x010E,
		WM_IME_COMPOSITION = 0x010F,
		WM_IME_KEYLAST = 0x010F,
		WM_INITDIALOG = 0x0110,
		WM_COMMAND = 0x0111,
		WM_SYSCOMMAND = 0x0112,
		WM_TIMER = 0x0113,
		WM_HSCROLL = 0x0114,
		WM_VSCROLL = 0x0115,
		WM_INITMENU = 0x0116,
		WM_INITMENUPOPUP = 0x0117,
		WM_MENUSELECT = 0x011F,
		WM_MENUCHAR = 0x0120,
		WM_ENTERIDLE = 0x0121,
		WM_MENURBUTTONUP = 0x0122,
		WM_MENUDRAG = 0x0123,
		WM_MENUGETOBJECT = 0x0124,
		WM_UNINITMENUPOPUP = 0x0125,
		WM_MENUCOMMAND = 0x0126,
		WM_CTLCOLORWinMsgBOX = 0x0132,
		WM_CTLCOLOREDIT = 0x0133,
		WM_CTLCOLORLISTBOX = 0x0134,
		WM_CTLCOLORBTN = 0x0135,
		WM_CTLCOLORDLG = 0x0136,
		WM_CTLCOLORSCROLLBAR = 0x0137,
		WM_CTLCOLORSTATIC = 0x0138,
		WM_MOUSEMOVE = 0x0200,
		WM_LBUTTONDOWN = 0x0201,
		WM_LBUTTONUP = 0x0202,
		WM_LBUTTONDBLCLK = 0x0203,
		WM_RBUTTONDOWN = 0x0204,
		WM_RBUTTONUP = 0x0205,
		WM_RBUTTONDBLCLK = 0x0206,
		WM_MBUTTONDOWN = 0x0207,
		WM_MBUTTONUP = 0x0208,
		WM_MBUTTONDBLCLK = 0x0209,
		WM_MOUSEWHEEL = 0x020A,
		WM_PARENTNOTIFY = 0x0210,
		WM_ENTERMENULOOP = 0x0211,
		WM_EXITMENULOOP = 0x0212,
		WM_NEXTMENU = 0x0213,
		WM_SIZING = 0x0214,
		WM_CAPTURECHANGED = 0x0215,
		WM_MOVING = 0x0216,
		WM_DEVICECHANGE = 0x0219,
		WM_MDICREATE = 0x0220,
		WM_MDIDESTROY = 0x0221,
		WM_MDIACTIVATE = 0x0222,
		WM_MDIRESTORE = 0x0223,
		WM_MDINEXT = 0x0224,
		WM_MDIMAXIMIZE = 0x0225,
		WM_MDITILE = 0x0226,
		WM_MDICASCADE = 0x0227,
		WM_MDIICONARRANGE = 0x0228,
		WM_MDIGETACTIVE = 0x0229,
		WM_MDISETMENU = 0x0230,
		WM_ENTERSIZEMOVE = 0x0231,
		WM_EXITSIZEMOVE = 0x0232,
		WM_DROPFILES = 0x0233,
		WM_MDIREFRESHMENU = 0x0234,
		WM_IME_SETCONTEXT = 0x0281,
		WM_IME_NOTIFY = 0x0282,
		WM_IME_CONTROL = 0x0283,
		WM_IME_COMPOSITIONFULL = 0x0284,
		WM_IME_SELECT = 0x0285,
		WM_IME_CHAR = 0x0286,
		WM_IME_REQUEST = 0x0288,
		WM_IME_KEYDOWN = 0x0290,
		WM_IME_KEYUP = 0x0291,
		WM_MOUSEHOVER = 0x02A1,
		WM_MOUSELEAVE = 0x02A3,
		WM_CUT = 0x0300,
		WM_COPY = 0x0301,
		WM_PASTE = 0x0302,
		WM_CLEAR = 0x0303,
		WM_UNDO = 0x0304,
		WM_RENDERFORMAT = 0x0305,
		WM_RENDERALLFORMATS = 0x0306,
		WM_DESTROYCLIPBOARD = 0x0307,
		WM_DRAWCLIPBOARD = 0x0308,
		WM_PAINTCLIPBOARD = 0x0309,
		WM_VSCROLLCLIPBOARD = 0x030A,
		WM_SIZECLIPBOARD = 0x030B,
		WM_ASKCBFORMATNAME = 0x030C,
		WM_CHANGECBCHAIN = 0x030D,
		WM_HSCROLLCLIPBOARD = 0x030E,
		WM_QUERYNEWPALETTE = 0x030F,
		WM_PALETTEISCHANGING = 0x0310,
		WM_PALETTECHANGED = 0x0311,
		WM_HOTKEY = 0x0312,
		WM_PRINT = 0x0317,
		WM_PRINTCLIENT = 0x0318,
		WM_HANDHELDFIRST = 0x0358,
		WM_HANDHELDLAST = 0x035F,
		WM_AFXFIRST = 0x0360,
		WM_AFXLAST = 0x037F,
		WM_PENWINFIRST = 0x0380,
		WM_PENWINLAST = 0x038F,
		WM_APP = 0x8000,
		WM_USER = 0x0400,
		WM_REFLECT = WM_USER + 0x1c00
	}
	#endregion
	#region Window Styles
	public enum WindowStyles : uint
	{
		WS_OVERLAPPED = 0x00000000,
		WS_POPUP = 0x80000000,
		WS_CHILD = 0x40000000,
		WS_MINIMIZE = 0x20000000,
		WS_VISIBLE = 0x10000000,
		WS_DISABLED = 0x08000000,
		WS_CLIPSIBLINGS = 0x04000000,
		WS_CLIPCHILDREN = 0x02000000,
		WS_MAXIMIZE = 0x01000000,
		WS_CAPTION = 0x00C00000,
		WS_BORDER = 0x00800000,
		WS_DLGFRAME = 0x00400000,
		WS_VSCROLL = 0x00200000,
		WS_HSCROLL = 0x00100000,
		WS_SYSMENU = 0x00080000,
		WS_THICKFRAME = 0x00040000,
		WS_GROUP = 0x00020000,
		WS_TABSTOP = 0x00010000,
		WS_MINIMIZEBOX = 0x00020000,
		WS_MAXIMIZEBOX = 0x00010000,
		WS_TILED = 0x00000000,
		WS_ICONIC = 0x20000000,
		WS_SIZEBOX = 0x00040000,
		WS_POPUPWINDOW = 0x80880000,
		WS_OVERLAPPEDWINDOW = 0x00CF0000,
		WS_TILEDWINDOW = 0x00CF0000,
		WS_CHILDWINDOW = 0x40000000
	}
	#endregion
	#region Window Extended Styles
	public enum WindowExStyles
	{
		WS_EX_DLGMODALFRAME = 0x00000001,
		WS_EX_NOPARENTNOTIFY = 0x00000004,
		WS_EX_TOPMOST = 0x00000008,
		WS_EX_ACCEPTFILES = 0x00000010,
		WS_EX_TRANSPARENT = 0x00000020,
		WS_EX_MDICHILD = 0x00000040,
		WS_EX_TOOLWINDOW = 0x00000080,
		WS_EX_WINDOWEDGE = 0x00000100,
		WS_EX_CLIENTEDGE = 0x00000200,
		WS_EX_CONTEXTHELP = 0x00000400,
		WS_EX_RIGHT = 0x00001000,
		WS_EX_LEFT = 0x00000000,
		WS_EX_RTLREADING = 0x00002000,
		WS_EX_LTRREADING = 0x00000000,
		WS_EX_LEFTSCROLLBAR = 0x00004000,
		WS_EX_RIGHTSCROLLBAR = 0x00000000,
		WS_EX_CONTROLPARENT = 0x00010000,
		WS_EX_STATICEDGE = 0x00020000,
		WS_EX_APPWINDOW = 0x00040000,
		WS_EX_OVERLAPPEDWINDOW = 0x00000300,
		WS_EX_PALETTEWINDOW = 0x00000188,
		WS_EX_LAYERED = 0x00080000
	}
	#endregion
	#region ShowWindow Styles
	public enum ShowWindowStyles : short
	{
		SW_HIDE = 0,
		SW_SHOWNORMAL = 1,
		SW_NORMAL = 1,
		SW_SHOWMINIMIZED = 2,
		SW_SHOWMAXIMIZED = 3,
		SW_MAXIMIZE = 3,
		SW_SHOWNOACTIVATE = 4,
		SW_SHOW = 5,
		SW_MINIMIZE = 6,
		SW_SHOWMINNOACTIVE = 7,
		SW_SHOWNA = 8,
		SW_RESTORE = 9,
		SW_SHOWDEFAULT = 10,
		SW_FORCEMINIMIZE = 11,
		SW_MAX = 11
	}
	#endregion
	#region SetWindowPos Z Order
	public enum SetWindowPosZOrder
	{
		HWND_TOP = 0,
		HWND_BOTTOM = 1,
		HWND_TOPMOST = -1,
		HWND_NOTOPMOST = -2
	}
	#endregion
	#region SetWindowPosFlags
	public enum SetWindowPosFlags : uint
	{
		SWP_NOSIZE = 0x0001,
		SWP_NOMOVE = 0x0002,
		SWP_NOZORDER = 0x0004,
		SWP_NOREDRAW = 0x0008,
		SWP_NOACTIVATE = 0x0010,
		SWP_FRAMECHANGED = 0x0020,
		SWP_SHOWWINDOW = 0x0040,
		SWP_HIDEWINDOW = 0x0080,
		SWP_NOCOPYBITS = 0x0100,
		SWP_NOOWNERZORDER = 0x0200,
		SWP_NOSENDCHANGING = 0x0400,
		SWP_DRAWFRAME = 0x0020,
		SWP_NOREPOSITION = 0x0200,
		SWP_DEFERERASE = 0x2000,
		SWP_ASYNCWINDOWPOS = 0x4000
	}
	#endregion
	#region Virtual Keys
	public enum VirtualKeys
	{
		VK_LBUTTON = 0x01,
		VK_CANCEL = 0x03,
		VK_BACK = 0x08,
		VK_TAB = 0x09,
		VK_CLEAR = 0x0C,
		VK_RETURN = 0x0D,
		VK_SHIFT = 0x10,
		VK_CONTROL = 0x11,
		VK_MENU = 0x12,
		VK_CAPITAL = 0x14,
		VK_ESCAPE = 0x1B,
		VK_SPACE = 0x20,
		VK_PRIOR = 0x21,
		VK_NEXT = 0x22,
		VK_END = 0x23,
		VK_HOME = 0x24,
		VK_LEFT = 0x25,
		VK_UP = 0x26,
		VK_RIGHT = 0x27,
		VK_DOWN = 0x28,
		VK_SELECT = 0x29,
		VK_EXECUTE = 0x2B,
		VK_SNAPSHOT = 0x2C,
		VK_HELP = 0x2F,
		VK_0 = 0x30,
		VK_1 = 0x31,
		VK_2 = 0x32,
		VK_3 = 0x33,
		VK_4 = 0x34,
		VK_5 = 0x35,
		VK_6 = 0x36,
		VK_7 = 0x37,
		VK_8 = 0x38,
		VK_9 = 0x39,
		VK_A = 0x41,
		VK_B = 0x42,
		VK_C = 0x43,
		VK_D = 0x44,
		VK_E = 0x45,
		VK_F = 0x46,
		VK_G = 0x47,
		VK_H = 0x48,
		VK_I = 0x49,
		VK_J = 0x4A,
		VK_K = 0x4B,
		VK_L = 0x4C,
		VK_M = 0x4D,
		VK_N = 0x4E,
		VK_O = 0x4F,
		VK_P = 0x50,
		VK_Q = 0x51,
		VK_R = 0x52,
		VK_S = 0x53,
		VK_T = 0x54,
		VK_U = 0x55,
		VK_V = 0x56,
		VK_W = 0x57,
		VK_X = 0x58,
		VK_Y = 0x59,
		VK_Z = 0x5A,
		VK_NUMPAD0 = 0x60,
		VK_NUMPAD1 = 0x61,
		VK_NUMPAD2 = 0x62,
		VK_NUMPAD3 = 0x63,
		VK_NUMPAD4 = 0x64,
		VK_NUMPAD5 = 0x65,
		VK_NUMPAD6 = 0x66,
		VK_NUMPAD7 = 0x67,
		VK_NUMPAD8 = 0x68,
		VK_NUMPAD9 = 0x69,
		VK_MULTIPLY = 0x6A,
		VK_ADD = 0x6B,
		VK_SEPARATOR = 0x6C,
		VK_SUBTRACT = 0x6D,
		VK_DECIMAL = 0x6E,
		VK_DIVIDE = 0x6F,
		VK_ATTN = 0xF6,
		VK_CRSEL = 0xF7,
		VK_EXSEL = 0xF8,
		VK_EREOF = 0xF9,
		VK_PLAY = 0xFA,
		VK_ZOOM = 0xFB,
		VK_NONAME = 0xFC,
		VK_PA1 = 0xFD,
		VK_OEM_CLEAR = 0xFE,
		VK_LWIN = 0x5B,
		VK_RWIN = 0x5C,
		VK_APPS = 0x5D,
		VK_LSHIFT = 0xA0,
		VK_RSHIFT = 0xA1,
		VK_LCONTROL = 0xA2,
		VK_RCONTROL = 0xA3,
		VK_LMENU = 0xA4,
		VK_RMENU = 0xA5
	}
	#endregion
	#region PatBlt Types
	public enum PatBltTypes
	{
		SRCCOPY = 0x00CC0020,
		SRCPAINT = 0x00EE0086,
		SRCAND = 0x008800C6,
		SRCINVERT = 0x00660046,
		SRCERASE = 0x00440328,
		NOTSRCCOPY = 0x00330008,
		NOTSRCERASE = 0x001100A6,
		MERGECOPY = 0x00C000CA,
		MERGEPAINT = 0x00BB0226,
		PATCOPY = 0x00F00021,
		PATPAINT = 0x00FB0A09,
		PATINVERT = 0x005A0049,
		DSTINVERT = 0x00550009,
		BLACKNESS = 0x00000042,
		WHITENESS = 0x00FF0062
	}
	#endregion
	#region Clipboard Formats
	public enum ClipboardFormats : uint
	{
		CF_TEXT = 1,
		CF_BITMAP = 2,
		CF_METAFILEPICT = 3,
		CF_SYLK = 4,
		CF_DIF = 5,
		CF_TIFF = 6,
		CF_OEMTEXT = 7,
		CF_DIB = 8,
		CF_PALETTE = 9,
		CF_PENDATA = 10,
		CF_RIFF = 11,
		CF_WAVE = 12,
		CF_UNICODETEXT = 13,
		CF_ENHMETAFILE = 14,
		CF_HDROP = 15,
		CF_LOCALE = 16,
		CF_MAX = 17,
		CF_OWNERDISPLAY = 0x0080,
		CF_DSPTEXT = 0x0081,
		CF_DSPBITMAP = 0x0082,
		CF_DSPMETAFILEPICT = 0x0083,
		CF_DSPENHMETAFILE = 0x008E,
		CF_PRIVATEFIRST = 0x0200,
		CF_PRIVATELAST = 0x02FF,
		CF_GDIOBJFIRST = 0x0300,
		CF_GDIOBJLAST = 0x03FF
	}
	#endregion
	#region Common Controls Initialization flags
	public enum CommonControlInitFlags
	{
		ICC_LISTVIEW_CLASSES = 0x00000001,
		ICC_TREEVIEW_CLASSES = 0x00000002,
		ICC_BAR_CLASSES = 0x00000004,
		ICC_TAB_CLASSES = 0x00000008,
		ICC_UPDOWN_CLASS = 0x00000010,
		ICC_PROGRESS_CLASS = 0x00000020,
		ICC_HOTKEY_CLASS = 0x00000040,
		ICC_ANIMATE_CLASS = 0x00000080,
		ICC_WIN95_CLASSES = 0x000000FF,
		ICC_DATE_CLASSES = 0x00000100,
		ICC_USEREX_CLASSES = 0x00000200,
		ICC_COOL_CLASSES = 0x00000400,
		ICC_INTERNET_CLASSES = 0x00000800,
		ICC_PAGESCROLLER_CLASS = 0x00001000,
		ICC_NATIVEFNTCTL_CLASS = 0x00002000
	}
	#endregion
	#region Common Controls Styles
	public enum CommonControlStyles
	{
		CCS_TOP = 0x00000001,
		CCS_NOMOVEY = 0x00000002,
		CCS_BOTTOM = 0x00000003,
		CCS_NORESIZE = 0x00000004,
		CCS_NOPARENTALIGN = 0x00000008,
		CCS_ADJUSTABLE = 0x00000020,
		CCS_NODIVIDER = 0x00000040,
		CCS_VERT = 0x00000080,
		CCS_LEFT = (CCS_VERT | CCS_TOP),
		CCS_RIGHT = (CCS_VERT | CCS_BOTTOM),
		CCS_NOMOVEX = (CCS_VERT | CCS_NOMOVEY)
	}
	#endregion
	#region ToolBar Styles
	public enum ToolBarStyles
	{
		TBSTYLE_BUTTON = 0x0000,
		TBSTYLE_SEP = 0x0001,
		TBSTYLE_CHECK = 0x0002,
		TBSTYLE_GROUP = 0x0004,
		TBSTYLE_CHECKGROUP = (TBSTYLE_GROUP | TBSTYLE_CHECK),
		TBSTYLE_DROPDOWN = 0x0008,
		TBSTYLE_AUTOSIZE = 0x0010,
		TBSTYLE_NOPREFIX = 0x0020,
		TBSTYLE_TOOLTIPS = 0x0100,
		TBSTYLE_WRAPABLE = 0x0200,
		TBSTYLE_ALTDRAG = 0x0400,
		TBSTYLE_FLAT = 0x0800,
		TBSTYLE_LIST = 0x1000,
		TBSTYLE_CUSTOMERASE = 0x2000,
		TBSTYLE_REGISTERDROP = 0x4000,
		TBSTYLE_TRANSPARENT = 0x8000,
		TBSTYLE_EX_DRAWDDARROWS = 0x00000001
	}
	#endregion
	#region ToolBar Ex Styles
	public enum ToolBarExStyles
	{
		TBSTYLE_EX_DRAWDDARROWS = 0x1,
		TBSTYLE_EX_HIDECLIPPEDBUTTONS = 0x10,
		TBSTYLE_EX_DOUBLEBUFFER = 0x80
	}
	#endregion
	#region ToolBar Messages
	public enum ToolBarMessages
	{
		WM_USER = 0x0400,
		TB_ENABLEBUTTON = (WM_USER + 1),
		TB_CHECKBUTTON = (WM_USER + 2),
		TB_PRESSBUTTON = (WM_USER + 3),
		TB_HIDEBUTTON = (WM_USER + 4),
		TB_INDETERMINATE = (WM_USER + 5),
		TB_MARKBUTTON = (WM_USER + 6),
		TB_ISBUTTONENABLED = (WM_USER + 9),
		TB_ISBUTTONCHECKED = (WM_USER + 10),
		TB_ISBUTTONPRESSED = (WM_USER + 11),
		TB_ISBUTTONHIDDEN = (WM_USER + 12),
		TB_ISBUTTONINDETERMINATE = (WM_USER + 13),
		TB_ISBUTTONHIGHLIGHTED = (WM_USER + 14),
		TB_SETSTATE = (WM_USER + 17),
		TB_GETSTATE = (WM_USER + 18),
		TB_ADDBITMAP = (WM_USER + 19),
		TB_ADDBUTTONSA = (WM_USER + 20),
		TB_INSERTBUTTONA = (WM_USER + 21),
		TB_ADDBUTTONS = (WM_USER + 20),
		TB_INSERTBUTTON = (WM_USER + 21),
		TB_DELETEBUTTON = (WM_USER + 22),
		TB_GETBUTTON = (WM_USER + 23),
		TB_BUTTONCOUNT = (WM_USER + 24),
		TB_COMMANDTOINDEX = (WM_USER + 25),
		TB_SAVERESTOREA = (WM_USER + 26),
		TB_CUSTOMIZE = (WM_USER + 27),
		TB_ADDSTRINGA = (WM_USER + 28),
		TB_GETITEMRECT = (WM_USER + 29),
		TB_BUTTONSTRUCTSIZE = (WM_USER + 30),
		TB_SETBUTTONSIZE = (WM_USER + 31),
		TB_SETBITMAPSIZE = (WM_USER + 32),
		TB_AUTOSIZE = (WM_USER + 33),
		TB_GETTOOLTIPS = (WM_USER + 35),
		TB_SETTOOLTIPS = (WM_USER + 36),
		TB_SETPARENT = (WM_USER + 37),
		TB_SETROWS = (WM_USER + 39),
		TB_GETROWS = (WM_USER + 40),
		TB_GETBITMAPFLAGS = (WM_USER + 41),
		TB_SETCMDID = (WM_USER + 42),
		TB_CHANGEBITMAP = (WM_USER + 43),
		TB_GETBITMAP = (WM_USER + 44),
		TB_GETBUTTONTEXTA = (WM_USER + 45),
		TB_GETBUTTONTEXTW = (WM_USER + 75),
		TB_REPLACEBITMAP = (WM_USER + 46),
		TB_SETINDENT = (WM_USER + 47),
		TB_SETIMAGELIST = (WM_USER + 48),
		TB_GETIMAGELIST = (WM_USER + 49),
		TB_LOADIMAGES = (WM_USER + 50),
		TB_GETRECT = (WM_USER + 51),
		TB_SETHOTIMAGELIST = (WM_USER + 52),
		TB_GETHOTIMAGELIST = (WM_USER + 53),
		TB_SETDISABLEDIMAGELIST = (WM_USER + 54),
		TB_GETDISABLEDIMAGELIST = (WM_USER + 55),
		TB_SETSTYLE = (WM_USER + 56),
		TB_GETSTYLE = (WM_USER + 57),
		TB_GETBUTTONSIZE = (WM_USER + 58),
		TB_SETBUTTONWIDTH = (WM_USER + 59),
		TB_SETMAXTEXTROWS = (WM_USER + 60),
		TB_GETTEXTROWS = (WM_USER + 61),
		TB_GETOBJECT = (WM_USER + 62),
		TB_GETBUTTONINFOW = (WM_USER + 63),
		TB_SETBUTTONINFOW = (WM_USER + 64),
		TB_GETBUTTONINFOA = (WM_USER + 65),
		TB_SETBUTTONINFOA = (WM_USER + 66),
		TB_INSERTBUTTONW = (WM_USER + 67),
		TB_ADDBUTTONSW = (WM_USER + 68),
		TB_HITTEST = (WM_USER + 69),
		TB_SETDRAWTEXTFLAGS = (WM_USER + 70),
		TB_GETHOTITEM = (WM_USER + 71),
		TB_SETHOTITEM = (WM_USER + 72),
		TB_SETANCHORHIGHLIGHT = (WM_USER + 73),
		TB_GETANCHORHIGHLIGHT = (WM_USER + 74),
		TB_SAVERESTOREW = (WM_USER + 76),
		TB_ADDSTRINGW = (WM_USER + 77),
		TB_MAPACCELERATORA = (WM_USER + 78),
		TB_GETINSERTMARK = (WM_USER + 79),
		TB_SETINSERTMARK = (WM_USER + 80),
		TB_INSERTMARKHITTEST = (WM_USER + 81),
		TB_MOVEBUTTON = (WM_USER + 82),
		TB_GETMAXSIZE = (WM_USER + 83),
		TB_SETEXTENDEDSTYLE = (WM_USER + 84),
		TB_GETEXTENDEDSTYLE = (WM_USER + 85),
		TB_GETPADDING = (WM_USER + 86),
		TB_SETPADDING = (WM_USER + 87),
		TB_SETINSERTMARKCOLOR = (WM_USER + 88),
		TB_GETINSERTMARKCOLOR = (WM_USER + 89)
	}
	#endregion
	#region ToolBar Notifications
	public enum ToolBarNotifications
	{
		TTN_NEEDTEXTA = ((0 - 520) - 0),
		TTN_NEEDTEXTW = ((0 - 520) - 10),
		TBN_QUERYINSERT = ((0 - 700) - 6),
		TBN_DROPDOWN = ((0 - 700) - 10),
		TBN_HOTITEMCHANGE = ((0 - 700) - 13)
	}
	#endregion
	#region Reflected Messages
	public enum ReflectedMessages
	{
		OCM__BASE = (WinMsg.WM_USER + 0x1c00),
		OCM_COMMAND = (OCM__BASE + WinMsg.WM_COMMAND),
		OCM_CTLCOLORBTN = (OCM__BASE + WinMsg.WM_CTLCOLORBTN),
		OCM_CTLCOLOREDIT = (OCM__BASE + WinMsg.WM_CTLCOLOREDIT),
		OCM_CTLCOLORDLG = (OCM__BASE + WinMsg.WM_CTLCOLORDLG),
		OCM_CTLCOLORLISTBOX = (OCM__BASE + WinMsg.WM_CTLCOLORLISTBOX),
		OCM_CTLCOLORWinMsgBOX = (OCM__BASE + WinMsg.WM_CTLCOLORWinMsgBOX),
		OCM_CTLCOLORSCROLLBAR = (OCM__BASE + WinMsg.WM_CTLCOLORSCROLLBAR),
		OCM_CTLCOLORSTATIC = (OCM__BASE + WinMsg.WM_CTLCOLORSTATIC),
		OCM_CTLCOLOR = (OCM__BASE + WinMsg.WM_CTLCOLOR),
		OCM_DRAWITEM = (OCM__BASE + WinMsg.WM_DRAWITEM),
		OCM_MEASUREITEM = (OCM__BASE + WinMsg.WM_MEASUREITEM),
		OCM_DELETEITEM = (OCM__BASE + WinMsg.WM_DELETEITEM),
		OCM_VKEYTOITEM = (OCM__BASE + WinMsg.WM_VKEYTOITEM),
		OCM_CHARTOITEM = (OCM__BASE + WinMsg.WM_CHARTOITEM),
		OCM_COMPAREITEM = (OCM__BASE + WinMsg.WM_COMPAREITEM),
		OCM_HSCROLL = (OCM__BASE + WinMsg.WM_HSCROLL),
		OCM_VSCROLL = (OCM__BASE + WinMsg.WM_VSCROLL),
		OCM_PARENTNOTIFY = (OCM__BASE + WinMsg.WM_PARENTNOTIFY),
		OCM_NOTIFY = (OCM__BASE + WinMsg.WM_NOTIFY)
	}
	#endregion
	#region Notification Messages
	public enum NotificationMessages
	{
		NM_FIRST = (0 - 0),
		NM_CUSTOMDRAW = (NM_FIRST - 12),
		NM_NCHITTEST = (NM_FIRST - 14)
	}
	#endregion
	#region ToolTip Flags
	public enum ToolTipFlags
	{
		TTF_CENTERTIP = 0x0002,
		TTF_RTLREADING = 0x0004,
		TTF_SUBCLASS = 0x0010,
		TTF_TRACK = 0x0020,
		TTF_ABSOLUTE = 0x0080,
		TTF_TRANSPARENT = 0x0100,
		TTF_DI_SETITEM = 0x8000
	}
	#endregion
	#region Custom Draw Return Flags
	public enum CustomDrawReturnFlags
	{
		CDRF_DODEFAULT = 0x00000000,
		CDRF_NEWFONT = 0x00000002,
		CDRF_SKIPDEFAULT = 0x00000004,
		CDRF_NOTIFYPOSTPAINT = 0x00000010,
		CDRF_NOTIFYITEMDRAW = 0x00000020,
		CDRF_NOTIFYSUBITEMDRAW = 0x00000020,
		CDRF_NOTIFYPOSTERASE = 0x00000040
	}
	#endregion
	#region Custom Draw Item State Flags
	public enum CustomDrawItemStateFlags
	{
		CDIS_SELECTED = 0x0001,
		CDIS_GRAYED = 0x0002,
		CDIS_DISABLED = 0x0004,
		CDIS_CHECKED = 0x0008,
		CDIS_FOCUS = 0x0010,
		CDIS_DEFAULT = 0x0020,
		CDIS_HOT = 0x0040,
		CDIS_MARKED = 0x0080,
		CDIS_INDETERMINATE = 0x0100
	}
	#endregion
	#region Custom Draw Draw State Flags
	public enum CustomDrawDrawStateFlags
	{
		CDDS_PREPAINT = 0x00000001,
		CDDS_POSTPAINT = 0x00000002,
		CDDS_PREERASE = 0x00000003,
		CDDS_POSTERASE = 0x00000004,
		CDDS_ITEM = 0x00010000,
		CDDS_ITEMPREPAINT = (CDDS_ITEM | CDDS_PREPAINT),
		CDDS_ITEMPOSTPAINT = (CDDS_ITEM | CDDS_POSTPAINT),
		CDDS_ITEMPREERASE = (CDDS_ITEM | CDDS_PREERASE),
		CDDS_ITEMPOSTERASE = (CDDS_ITEM | CDDS_POSTERASE),
		CDDS_SUBITEM = 0x00020000
	}
	#endregion
	#region Toolbar button info flags
	public enum ToolBarButtonInfoFlags
	{
		TBIF_IMAGE = 0x00000001,
		TBIF_TEXT = 0x00000002,
		TBIF_STATE = 0x00000004,
		TBIF_STYLE = 0x00000008,
		TBIF_LPARAM = 0x00000010,
		TBIF_COMMAND = 0x00000020,
		TBIF_SIZE = 0x00000040,
		I_IMAGECALLBACK = -1,
		I_IMAGENONE = -2
	}
	#endregion
	#region Toolbar button styles
	public enum ToolBarButtonStyles
	{
		TBSTYLE_BUTTON = 0x0000,
		TBSTYLE_SEP = 0x0001,
		TBSTYLE_CHECK = 0x0002,
		TBSTYLE_GROUP = 0x0004,
		TBSTYLE_CHECKGROUP = (TBSTYLE_GROUP | TBSTYLE_CHECK),
		TBSTYLE_DROPDOWN = 0x0008,
		TBSTYLE_AUTOSIZE = 0x0010,
		TBSTYLE_NOPREFIX = 0x0020,
		TBSTYLE_TOOLTIPS = 0x0100,
		TBSTYLE_WRAPABLE = 0x0200,
		TBSTYLE_ALTDRAG = 0x0400,
		TBSTYLE_FLAT = 0x0800,
		TBSTYLE_LIST = 0x1000,
		TBSTYLE_CUSTOMERASE = 0x2000,
		TBSTYLE_REGISTERDROP = 0x4000,
		TBSTYLE_TRANSPARENT = 0x8000,
		TBSTYLE_EX_DRAWDDARROWS = 0x00000001
	}
	#endregion
	#region Toolbar button state
	public enum ToolBarButtonStates
	{
		TBSTATE_CHECKED = 0x01,
		TBSTATE_PRESSED = 0x02,
		TBSTATE_ENABLED = 0x04,
		TBSTATE_HIDDEN = 0x08,
		TBSTATE_INDETERMINATE = 0x10,
		TBSTATE_WRAP = 0x20,
		TBSTATE_ELLIPSES = 0x40,
		TBSTATE_MARKED = 0x80
	}
	#endregion
	#region Windows Hook Codes
	public enum WindowsHookCodes
	{
		WH_MSGFILTER = (-1),
		WH_JOURNALRECORD = 0,
		WH_JOURNALPLAYBACK = 1,
		WH_KEYBOARD = 2,
		WH_GETMESSAGE = 3,
		WH_CALLWNDPROC = 4,
		WH_CBT = 5,
		WH_SYSMSGFILTER = 6,
		WH_MOUSE = 7,
		WH_HARDWARE = 8,
		WH_DEBUG = 9,
		WH_SHELL = 10,
		WH_FOREGROUNDIDLE = 11,
		WH_CALLWNDPROCRET = 12,
		WH_KEYBOARD_LL = 13,
		WH_MOUSE_LL = 14
	}
	#endregion
	#region Mouse Hook Filters
	public enum MouseHookFilters
	{
		MSGF_DIALOGBOX = 0,
		MSGF_MESSAGEBOX = 1,
		MSGF_MENU = 2,
		MSGF_SCROLLBAR = 5,
		MSGF_NEXTWINDOW = 6
	}
	#endregion
	#region Draw Text format flags
	public enum DrawTextFormatFlags
	{
		DT_TOP = 0x00000000,
		DT_LEFT = 0x00000000,
		DT_CENTER = 0x00000001,
		DT_RIGHT = 0x00000002,
		DT_VCENTER = 0x00000004,
		DT_BOTTOM = 0x00000008,
		DT_WORDBREAK = 0x00000010,
		DT_SINGLELINE = 0x00000020,
		DT_EXPANDTABS = 0x00000040,
		DT_TABSTOP = 0x00000080,
		DT_NOCLIP = 0x00000100,
		DT_EXTERNALLEADING = 0x00000200,
		DT_CALCRECT = 0x00000400,
		DT_NOPREFIX = 0x00000800,
		DT_INTERNAL = 0x00001000,
		DT_EDITCONTROL = 0x00002000,
		DT_PATH_ELLIPSIS = 0x00004000,
		DT_END_ELLIPSIS = 0x00008000,
		DT_MODIFYSTRING = 0x00010000,
		DT_RTLREADING = 0x00020000,
		DT_WORD_ELLIPSIS = 0x00040000
	}
	#endregion
	#region Rebar Styles
	public enum RebarStyles
	{
		RBS_TOOLTIPS = 0x0100,
		RBS_VARHEIGHT = 0x0200,
		RBS_BANDBORDERS = 0x0400,
		RBS_FIXEDORDER = 0x0800,
		RBS_REGISTERDROP = 0x1000,
		RBS_AUTOSIZE = 0x2000,
		RBS_VERTICALGRIPPER = 0x4000,
		RBS_DBLCLKTOGGLE = 0x8000,
	}
	#endregion
	#region Rebar Notifications
	public enum RebarNotifications
	{
		RBN_FIRST = (0 - 831),
		RBN_HEIGHTCHANGE = (RBN_FIRST - 0),
		RBN_GETOBJECT = (RBN_FIRST - 1),
		RBN_LAYOUTCHANGED = (RBN_FIRST - 2),
		RBN_AUTOSIZE = (RBN_FIRST - 3),
		RBN_BEGINDRAG = (RBN_FIRST - 4),
		RBN_ENDDRAG = (RBN_FIRST - 5),
		RBN_DELETINGBAND = (RBN_FIRST - 6),
		RBN_DELETEDBAND = (RBN_FIRST - 7),
		RBN_CHILDSIZE = (RBN_FIRST - 8),
		RBN_CHEVRONPUSHED = (RBN_FIRST - 10)
	}
	#endregion
	#region Rebar Messages
	public enum RebarMessages
	{
		CCM_FIRST = 0x2000,
		WM_USER = 0x0400,
		RB_INSERTBANDA = (WM_USER + 1),
		RB_DELETEBAND = (WM_USER + 2),
		RB_GETBARINFO = (WM_USER + 3),
		RB_SETBARINFO = (WM_USER + 4),
		RB_GETBANDINFO = (WM_USER + 5),
		RB_SETBANDINFOA = (WM_USER + 6),
		RB_SETPARENT = (WM_USER + 7),
		RB_HITTEST = (WM_USER + 8),
		RB_GETRECT = (WM_USER + 9),
		RB_INSERTBANDW = (WM_USER + 10),
		RB_SETBANDINFOW = (WM_USER + 11),
		RB_GETBANDCOUNT = (WM_USER + 12),
		RB_GETROWCOUNT = (WM_USER + 13),
		RB_GETROWHEIGHT = (WM_USER + 14),
		RB_IDTOINDEX = (WM_USER + 16),
		RB_GETTOOLTIPS = (WM_USER + 17),
		RB_SETTOOLTIPS = (WM_USER + 18),
		RB_SETBKCOLOR = (WM_USER + 19),
		RB_GETBKCOLOR = (WM_USER + 20),
		RB_SETTEXTCOLOR = (WM_USER + 21),
		RB_GETTEXTCOLOR = (WM_USER + 22),
		RB_SIZETORECT = (WM_USER + 23),
		RB_SETCOLORSCHEME = (CCM_FIRST + 2),
		RB_GETCOLORSCHEME = (CCM_FIRST + 3),
		RB_BEGINDRAG = (WM_USER + 24),
		RB_ENDDRAG = (WM_USER + 25),
		RB_DRAGMOVE = (WM_USER + 26),
		RB_GETBARHEIGHT = (WM_USER + 27),
		RB_GETBANDINFOW = (WM_USER + 28),
		RB_GETBANDINFOA = (WM_USER + 29),
		RB_MINIMIZEBAND = (WM_USER + 30),
		RB_MAXIMIZEBAND = (WM_USER + 31),
		RB_GETDROPTARGET = (CCM_FIRST + 4),
		RB_GETBANDBORDERS = (WM_USER + 34),
		RB_SHOWBAND = (WM_USER + 35),
		RB_SETPALETTE = (WM_USER + 37),
		RB_GETPALETTE = (WM_USER + 38),
		RB_MOVEBAND = (WM_USER + 39),
		RB_SETUNICODEFORMAT = (CCM_FIRST + 5),
		RB_GETUNICODEFORMAT = (CCM_FIRST + 6)
	}
	#endregion
	#region Rebar Info Mask
	public enum RebarInfoMask
	{
		RBBIM_STYLE = 0x00000001,
		RBBIM_COLORS = 0x00000002,
		RBBIM_TEXT = 0x00000004,
		RBBIM_IMAGE = 0x00000008,
		RBBIM_CHILD = 0x00000010,
		RBBIM_CHILDSIZE = 0x00000020,
		RBBIM_SIZE = 0x00000040,
		RBBIM_BACKGROUND = 0x00000080,
		RBBIM_ID = 0x00000100,
		RBBIM_IDEALSIZE = 0x00000200,
		RBBIM_LPARAM = 0x00000400,
		BBIM_HEADERSIZE = 0x00000800
	}
	#endregion
	#region Rebar Styles
	public enum RebarStylesEx
	{
		RBBS_BREAK = 0x1,
		RBBS_CHILDEDGE = 0x4,
		RBBS_FIXEDBMP = 0x20,
		RBBS_GRIPPERALWAYS = 0x80,
		RBBS_USECHEVRON = 0x200
	}
	#endregion
	#region Object types
	public enum ObjectTypes
	{
		OBJ_PEN = 1,
		OBJ_BRUSH = 2,
		OBJ_DC = 3,
		OBJ_METADC = 4,
		OBJ_PAL = 5,
		OBJ_FONT = 6,
		OBJ_BITMAP = 7,
		OBJ_REGION = 8,
		OBJ_METAFILE = 9,
		OBJ_MEMDC = 10,
		OBJ_EXTPEN = 11,
		OBJ_ENHMETADC = 12,
		OBJ_ENHMETAFILE = 13
	}
	#endregion
	#region WM_MENUCHAR return values
	public enum MenuCharReturnValues
	{
		MNC_IGNORE = 0,
		MNC_CLOSE = 1,
		MNC_EXECUTE = 2,
		MNC_SELECT = 3
	}
	#endregion
	#region Background Mode
	public enum BackgroundMode
	{
		TRANSPARENT = 1,
		OPAQUE = 2
	}
	#endregion
	#region ListView Messages
	public enum ListViewMessages
	{
		LVM_FIRST = 0x1000,
		LVM_GETSUBITEMRECT = (LVM_FIRST + 56),
		LVM_GETITEMSTATE = (LVM_FIRST + 44),
		LVM_GETITEMTEXTW = (LVM_FIRST + 115)
	}
	#endregion
	#region Header Control Messages
	public enum HeaderControlMessages : int
	{
		HDM_FIRST = 0x1200,
		HDM_GETITEMRECT = (HDM_FIRST + 7),
		HDM_HITTEST = (HDM_FIRST + 6),
		HDM_SETIMAGELIST = (HDM_FIRST + 8),
		HDM_GETITEMW = (HDM_FIRST + 11),
		HDM_ORDERTOINDEX = (HDM_FIRST + 15)
	}
	#endregion
	#region Header Control Notifications
	public enum HeaderControlNotifications
	{
		HDN_FIRST = (0 - 300),
		HDN_BEGINTRACKW = (HDN_FIRST - 26),
		HDN_ENDTRACKW = (HDN_FIRST - 27),
		HDN_ITEMCLICKW = (HDN_FIRST - 22),
	}
	#endregion
	#region Header Control HitTest Flags
	public enum HeaderControlHitTestFlags : uint
	{
		HHT_NOWHERE = 0x0001,
		HHT_ONHEADER = 0x0002,
		HHT_ONDIVIDER = 0x0004,
		HHT_ONDIVOPEN = 0x0008,
		HHT_ABOVE = 0x0100,
		HHT_BELOW = 0x0200,
		HHT_TORIGHT = 0x0400,
		HHT_TOLEFT = 0x0800
	}
	#endregion
	#region List View sub item portion
	public enum SubItemPortion
	{
		LVIR_BOUNDS = 0,
		LVIR_ICON = 1,
		LVIR_LABEL = 2
	}
	#endregion
	#region Cursor Type
	public enum CursorType : uint
	{
		IDC_ARROW = 32512U,
		IDC_IBEAM = 32513U,
		IDC_WAIT = 32514U,
		IDC_CROSS = 32515U,
		IDC_UPARROW = 32516U,
		IDC_SIZE = 32640U,
		IDC_ICON = 32641U,
		IDC_SIZENWSE = 32642U,
		IDC_SIZENESW = 32643U,
		IDC_SIZEWE = 32644U,
		IDC_SIZENS = 32645U,
		IDC_SIZEALL = 32646U,
		IDC_NO = 32648U,
		IDC_HAND = 32649U,
		IDC_APPSTARTING = 32650U,
		IDC_HELP = 32651U
	}
	#endregion
	#region Tracker Event Flags
	public enum TrackerEventFlags : uint
	{
		TME_HOVER = 0x00000001,
		TME_LEAVE = 0x00000002,
		TME_QUERY = 0x40000000,
		TME_CANCEL = 0x80000000
	}
	#endregion
	#region Mouse Activate Flags
	public enum MouseActivateFlags
	{
		MA_ACTIVATE = 1,
		MA_ACTIVATEANDEAT = 2,
		MA_NOACTIVATE = 3,
		MA_NOACTIVATEANDEAT = 4
	}
	#endregion
	#region Dialog Codes
	public enum DialogCodes
	{
		DLGC_WANTARROWS = 0x0001,
		DLGC_WANTTAB = 0x0002,
		DLGC_WANTALLKEYS = 0x0004,
		DLGC_WANTMESSAGE = 0x0004,
		DLGC_HASSETSEL = 0x0008,
		DLGC_DEFPUSHBUTTON = 0x0010,
		DLGC_UNDEFPUSHBUTTON = 0x0020,
		DLGC_RADIOBUTTON = 0x0040,
		DLGC_WANTCHARS = 0x0080,
		DLGC_STATIC = 0x0100,
		DLGC_BUTTON = 0x2000
	}
	#endregion
	#region Update Layered Windows Flags
	public enum UpdateLayeredWindowsFlags
	{
		ULW_COLORKEY = 0x00000001,
		ULW_ALPHA = 0x00000002,
		ULW_OPAQUE = 0x00000004
	}
	#endregion
	#region Alpha Flags
	public enum AlphaFlags : byte
	{
		AC_SRC_OVER = 0x00,
		AC_SRC_ALPHA = 0x01
	}
	#endregion
	#region ComboBox messages
	public enum ComboBoxMessages
	{
		CB_GETDROPPEDSTATE = 0x0157
	}
	#endregion
	#region SetWindowLong indexes
	public enum SetWindowLongOffsets
	{
		GWL_WNDPROC = (-4),
		GWL_HINSTANCE = (-6),
		GWL_HWNDPARENT = (-8),
		GWL_STYLE = (-16),
		GWL_EXSTYLE = (-20),
		GWL_USERDATA = (-21),
		GWL_ID = (-12)
	}
	#endregion
	#region TreeView Messages
	public enum TreeViewMessages
	{
		TV_FIRST = 0x1100,
		TVM_GETITEMRECT = (TV_FIRST + 4),
		TVM_GETITEMW = (TV_FIRST + 62)
	}
	#endregion
	#region TreeViewItem Flags
	public enum TreeViewItemFlags
	{
		TVIF_TEXT = 0x0001,
		TVIF_IMAGE = 0x0002,
		TVIF_PARAM = 0x0004,
		TVIF_STATE = 0x0008,
		TVIF_HANDLE = 0x0010,
		TVIF_SELECTEDIMAGE = 0x0020,
		TVIF_CHILDREN = 0x0040,
		TVIF_INTEGRAL = 0x0080
	}
	#endregion
	#region ListViewItem flags
	public enum ListViewItemFlags
	{
		LVIF_TEXT = 0x0001,
		LVIF_IMAGE = 0x0002,
		LVIF_PARAM = 0x0004,
		LVIF_STATE = 0x0008,
		LVIF_INDENT = 0x0010,
		LVIF_NORECOMPUTE = 0x0800
	}
	#endregion
	#region HeaderItem flags
	public enum HeaderItemFlags
	{
		HDI_WIDTH = 0x0001,
		HDI_HEIGHT = HDI_WIDTH,
		HDI_TEXT = 0x0002,
		HDI_FORMAT = 0x0004,
		HDI_LPARAM = 0x0008,
		HDI_BITMAP = 0x0010,
		HDI_IMAGE = 0x0020,
		HDI_DI_SETITEM = 0x0040,
		HDI_ORDER = 0x0080
	}
	#endregion
	#region GetDCExFlags
	public enum GetDCExFlags
	{
		DCX_WINDOW = 0x00000001,
		DCX_CACHE = 0x00000002,
		DCX_NORESETATTRS = 0x00000004,
		DCX_CLIPCHILDREN = 0x00000008,
		DCX_CLIPSIBLINGS = 0x00000010,
		DCX_PARENTCLIP = 0x00000020,
		DCX_EXCLUDERGN = 0x00000040,
		DCX_INTERSECTRGN = 0x00000080,
		DCX_EXCLUDEUPDATE = 0x00000100,
		DCX_INTERSECTUPDATE = 0x00000200,
		DCX_LOCKWINDOWUPDATE = 0x00000400,
		DCX_VALIDATE = 0x00200000
	}
	#endregion
	#region HitTest
	public enum HitTest
	{
		HTERROR = (-2),
		HTTRANSPARENT = (-1),
		HTNOWHERE = 0,
		HTCLIENT = 1,
		HTCAPTION = 2,
		HTSYSMENU = 3,
		HTGROWBOX = 4,
		HTSIZE = HTGROWBOX,
		HTMENU = 5,
		HTHSCROLL = 6,
		HTVSCROLL = 7,
		HTMINBUTTON = 8,
		HTMAXBUTTON = 9,
		HTLEFT = 10,
		HTRIGHT = 11,
		HTTOP = 12,
		HTTOPLEFT = 13,
		HTTOPRIGHT = 14,
		HTBOTTOM = 15,
		HTBOTTOMLEFT = 16,
		HTBOTTOMRIGHT = 17,
		HTBORDER = 18,
		HTREDUCE = HTMINBUTTON,
		HTZOOM = HTMAXBUTTON,
		HTSIZEFIRST = HTLEFT,
		HTSIZELAST = HTBOTTOMRIGHT,
		HTOBJECT = 19,
		HTCLOSE = 20,
		HTHELP = 21
	}
	#endregion
	#region ActivateFlags
	public enum ActivateState
	{
		WA_INACTIVE = 0,
		WA_ACTIVE = 1,
		WA_CLICKACTIVE = 2
	}
	#endregion
	#region StrechModeFlags
	public enum StrechModeFlags
	{
		BLACKONWHITE = 1,
		WHITEONBLACK = 2,
		COLORONCOLOR = 3,
		HALFTONE = 4,
		MAXSTRETCHBLTMODE = 4
	}
	#endregion
	#region ScrollBarFlags
	public enum ScrollBarFlags
	{
		SBS_HORZ = 0x0000,
		SBS_VERT = 0x0001,
		SBS_TOPALIGN = 0x0002,
		SBS_LEFTALIGN = 0x0002,
		SBS_BOTTOMALIGN = 0x0004,
		SBS_RIGHTALIGN = 0x0004,
		SBS_SIZEBOXTOPLEFTALIGN = 0x0002,
		SBS_SIZEBOXBOTTOMRIGHTALIGN = 0x0004,
		SBS_SIZEBOX = 0x0008,
		SBS_SIZEGRIP = 0x0010
	}
	#endregion
	#region System Metrics Codes
	public enum SystemMetricsCodes
	{
		SM_CXSCREEN = 0,
		SM_CYSCREEN = 1,
		SM_CXVSCROLL = 2,
		SM_CYHSCROLL = 3,
		SM_CYCAPTION = 4,
		SM_CXBORDER = 5,
		SM_CYBORDER = 6,
		SM_CXDLGFRAME = 7,
		SM_CYDLGFRAME = 8,
		SM_CYVTHUMB = 9,
		SM_CXHTHUMB = 10,
		SM_CXICON = 11,
		SM_CYICON = 12,
		SM_CXCURSOR = 13,
		SM_CYCURSOR = 14,
		SM_CYMENU = 15,
		SM_CXFULLSCREEN = 16,
		SM_CYFULLSCREEN = 17,
		SM_CYKANJIWINDOW = 18,
		SM_MOUSEPRESENT = 19,
		SM_CYVSCROLL = 20,
		SM_CXHSCROLL = 21,
		SM_DEBUG = 22,
		SM_SWAPBUTTON = 23,
		SM_RESERVED1 = 24,
		SM_RESERVED2 = 25,
		SM_RESERVED3 = 26,
		SM_RESERVED4 = 27,
		SM_CXMIN = 28,
		SM_CYMIN = 29,
		SM_CXSIZE = 30,
		SM_CYSIZE = 31,
		SM_CXFRAME = 32,
		SM_CYFRAME = 33,
		SM_CXMINTRACK = 34,
		SM_CYMINTRACK = 35,
		SM_CXDOUBLECLK = 36,
		SM_CYDOUBLECLK = 37,
		SM_CXICONSPACING = 38,
		SM_CYICONSPACING = 39,
		SM_MENUDROPALIGNMENT = 40,
		SM_PENWINDOWS = 41,
		SM_DBCSENABLED = 42,
		SM_CMOUSEBUTTONS = 43,
		SM_CXFIXEDFRAME = SM_CXDLGFRAME,
		SM_CYFIXEDFRAME = SM_CYDLGFRAME,
		SM_CXSIZEFRAME = SM_CXFRAME,
		SM_CYSIZEFRAME = SM_CYFRAME,
		SM_SECURE = 44,
		SM_CXEDGE = 45,
		SM_CYEDGE = 46,
		SM_CXMINSPACING = 47,
		SM_CYMINSPACING = 48,
		SM_CXSMICON = 49,
		SM_CYSMICON = 50,
		SM_CYSMCAPTION = 51,
		SM_CXSMSIZE = 52,
		SM_CYSMSIZE = 53,
		SM_CXMENUSIZE = 54,
		SM_CYMENUSIZE = 55,
		SM_ARRANGE = 56,
		SM_CXMINIMIZED = 57,
		SM_CYMINIMIZED = 58,
		SM_CXMAXTRACK = 59,
		SM_CYMAXTRACK = 60,
		SM_CXMAXIMIZED = 61,
		SM_CYMAXIMIZED = 62,
		SM_NETWORK = 63,
		SM_CLEANBOOT = 67,
		SM_CXDRAG = 68,
		SM_CYDRAG = 69,
		SM_SHOWSOUNDS = 70,
		SM_CXMENUCHECK = 71,
		SM_CYMENUCHECK = 72,
		SM_SLOWMACHINE = 73,
		SM_MIDEASTENABLED = 74,
		SM_MOUSEWHEELPRESENT = 75,
		SM_XVIRTUALSCREEN = 76,
		SM_YVIRTUALSCREEN = 77,
		SM_CXVIRTUALSCREEN = 78,
		SM_CYVIRTUALSCREEN = 79,
		SM_CMONITORS = 80,
		SM_SAMEDISPLAYFORMAT = 81,
		SM_CMETRICS = 83
	}
	#endregion
	#region ScrollBarTypes
	public enum ScrollBarTypes
	{
		SB_HORZ = 0,
		SB_VERT = 1,
		SB_CTL = 2,
		SB_BOTH = 3
	}
	#endregion
	#region SrollBarInfoFlags
	public enum ScrollBarInfoFlags
	{
		SIF_RANGE = 0x0001,
		SIF_PAGE = 0x0002,
		SIF_POS = 0x0004,
		SIF_DISABLENOSCROLL = 0x0008,
		SIF_TRACKPOS = 0x0010,
		SIF_ALL = (SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS)
	}
	#endregion
	#region Enable ScrollBar flags
	public enum EnableScrollBarFlags
	{
		ESB_ENABLE_BOTH = 0x0000,
		ESB_DISABLE_BOTH = 0x0003,
		ESB_DISABLE_LEFT = 0x0001,
		ESB_DISABLE_RIGHT = 0x0002,
		ESB_DISABLE_UP = 0x0001,
		ESB_DISABLE_DOWN = 0x0002,
		ESB_DISABLE_LTUP = ESB_DISABLE_LEFT,
		ESB_DISABLE_RTDN = ESB_DISABLE_RIGHT
	}
	#endregion
	#region Scroll Requests
	public enum ScrollBarRequests
	{
		SB_LINEUP = 0,
		SB_LINELEFT = 0,
		SB_LINEDOWN = 1,
		SB_LINERIGHT = 1,
		SB_PAGEUP = 2,
		SB_PAGELEFT = 2,
		SB_PAGEDOWN = 3,
		SB_PAGERIGHT = 3,
		SB_THUMBPOSITION = 4,
		SB_THUMBTRACK = 5,
		SB_TOP = 6,
		SB_LEFT = 6,
		SB_BOTTOM = 7,
		SB_RIGHT = 7,
		SB_ENDSCROLL = 8
	}
	#endregion
	#region SrollWindowEx flags
	public enum ScrollWindowExFlags
	{
		SW_SCROLLCHILDREN = 0x0001,
		SW_INVALIDATE = 0x0002,
		SW_ERASE = 0x0004,
		SW_SMOOTHSCROLL = 0x0010
	}
	#endregion
	#region ImageListFlags
	public enum ImageListFlags
	{
		ILC_MASK = 0x0001,
		ILC_COLOR = 0x0000,
		ILC_COLORDDB = 0x00FE,
		ILC_COLOR4 = 0x0004,
		ILC_COLOR8 = 0x0008,
		ILC_COLOR16 = 0x0010,
		ILC_COLOR24 = 0x0018,
		ILC_COLOR32 = 0x0020,
		ILC_PALETTE = 0x0800
	}
	#endregion
	#region List View Notifications
	public enum ListViewNotifications
	{
		LVN_FIRST = (0 - 100),
		LVN_GETDISPINFOW = (LVN_FIRST - 77),
		LVN_SETDISPINFOA = (LVN_FIRST - 51)
	}
	#endregion
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值