这里写目录标题
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相关种类与映射表
Hex | Decimal | Symbolic |
---|---|---|
0000 | 0 | WM_NULL |
0001 | 1 | WM_CREATE |
0002 | 2 | WM_DESTROY |
0003 | 3 | WM_MOVE |
0005 | 5 | WM_SIZE |
0006 | 6 | WM_ACTIVATE |
0007 | 7 | WM_SETFOCUS |
0008 | 8 | WM_KILLFOCUS |
000a | 10 | WM_ENABLE |
000b | 11 | WM_SETREDRAW |
000c | 12 | WM_SETTEXT |
000d | 13 | WM_GETTEXT |
000e | 14 | WM_GETTEXTLENGTH |
000f | 15 | WM_PAINT |
0010 | 16 | WM_CLOSE |
0011 | 17 | WM_QUERYENDSESSION |
0012 | 18 | WM_QUIT |
0013 | 19 | WM_QUERYOPEN |
0014 | 20 | WM_ERASEBKGND |
0015 | 21 | WM_SYSCOLORCHANGE |
0016 | 22 | WM_ENDSESSION |
0018 | 24 | WM_SHOWWINDOW |
0019 | 25 | WM_CTLCOLOR |
001a | 26 | WM_WININICHANGE |
001b | 27 | WM_DEVMODECHANGE |
001c | 28 | WM_ACTIVATEAPP |
001d | 29 | WM_FONTCHANGE |
001e | 30 | WM_TIMECHANGE |
001f | 31 | WM_CANCELMODE |
0020 | 32 | WM_SETCURSOR |
0021 | 33 | WM_MOUSEACTIVATE |
0022 | 34 | WM_CHILDACTIVATE |
0023 | 35 | WM_QUEUESYNC |
0024 | 36 | WM_GETMINMAXINFO |
0026 | 38 | WM_PAINTICON |
0027 | 39 | WM_ICONERASEBKGND |
0028 | 40 | WM_NEXTDLGCTL |
002a | 42 | WM_SPOOLERSTATUS |
002b | 43 | WM_DRAWITEM |
002c | 44 | WM_MEASUREITEM |
002d | 45 | WM_DELETEITEM |
002e | 46 | WM_VKEYTOITEM |
002f | 47 | WM_CHARTOITEM |
0030 | 48 | WM_SETFONT |
0031 | 49 | WM_GETFONT |
0032 | 50 | WM_SETHOTKEY |
0033 | 51 | WM_GETHOTKEY |
0037 | 55 | WM_QUERYDRAGICON |
0039 | 57 | WM_COMPAREITEM |
003d | 61 | WM_GETOBJECT |
0041 | 65 | WM_COMPACTING |
0044 | 68 | WM_COMMNOTIFY |
0046 | 70 | WM_WINDOWPOSCHANGING |
0047 | 71 | WM_WINDOWPOSCHANGED |
0048 | 72 | WM_POWER |
0049 | 73 | WM_COPYGLOBALDATA |
004a | 74 | WM_COPYDATA |
004b | 75 | WM_CANCELJOURNAL |
004e | 78 | WM_NOTIFY |
0050 | 80 | WM_INPUTLANGCHANGEREQUEST |
0051 | 81 | WM_INPUTLANGCHANGE |
0052 | 82 | WM_TCARD |
0053 | 83 | WM_HELP |
0054 | 84 | WM_USERCHANGED |
0055 | 85 | WM_NOTIFYFORMAT |
007b | 123 | WM_CONTEXTMENU |
007c | 124 | WM_STYLECHANGING |
007d | 125 | WM_STYLECHANGED |
007e | 126 | WM_DISPLAYCHANGE |
007f | 127 | WM_GETICON |
0080 | 128 | WM_SETICON |
0081 | 129 | WM_NCCREATE |
0082 | 130 | WM_NCDESTROY |
0083 | 131 | WM_NCCALCSIZE |
0084 | 132 | WM_NCHITTEST |
0085 | 133 | WM_NCPAINT |
0086 | 134 | WM_NCACTIVATE |
0087 | 135 | WM_GETDLGCODE |
0088 | 136 | WM_SYNCPAINT |
00a0 | 160 | WM_NCMOUSEMOVE |
00a1 | 161 | WM_NCLBUTTONDOWN |
00a2 | 162 | WM_NCLBUTTONUP |
00a3 | 163 | WM_NCLBUTTONDBLCLK |
00a4 | 164 | WM_NCRBUTTONDOWN |
00a5 | 165 | WM_NCRBUTTONUP |
00a6 | 166 | WM_NCRBUTTONDBLCLK |
00a7 | 167 | WM_NCMBUTTONDOWN |
00a8 | 168 | WM_NCMBUTTONUP |
00a9 | 169 | WM_NCMBUTTONDBLCLK |
00ab | 171 | WM_NCXBUTTONDOWN |
00ac | 172 | WM_NCXBUTTONUP |
00ad | 173 | WM_NCXBUTTONDBLCLK |
00b0 | 176 | EM_GETSEL |
00b1 | 177 | EM_SETSEL |
00b2 | 178 | EM_GETRECT |
00b3 | 179 | EM_SETRECT |
00b4 | 180 | EM_SETRECTNP |
00b5 | 181 | EM_SCROLL |
00b6 | 182 | EM_LINESCROLL |
00b7 | 183 | EM_SCROLLCARET |
00b8 | 185 | EM_GETMODIFY |
00b9 | 187 | EM_SETMODIFY |
00ba | 188 | EM_GETLINECOUNT |
00bb | 189 | EM_LINEINDEX |
00bc | 190 | EM_SETHANDLE |
00bd | 191 | EM_GETHANDLE |
00be | 192 | EM_GETTHUMB |
00c1 | 193 | EM_LINELENGTH |
00c2 | 194 | EM_REPLACESEL |
00c3 | 195 | EM_SETFONT |
00c4 | 196 | EM_GETLINE |
00c5 | 197 | EM_LIMITTEXT |
00c5 | 197 | EM_SETLIMITTEXT |
00c6 | 198 | EM_CANUNDO |
00c7 | 199 | EM_UNDO |
00c8 | 200 | EM_FMTLINES |
00c9 | 201 | EM_LINEFROMCHAR |
00ca | 202 | EM_SETWORDBREAK |
00cb | 203 | EM_SETTABSTOPS |
00cc | 204 | EM_SETPASSWORDCHAR |
00cd | 205 | EM_EMPTYUNDOBUFFER |
00ce | 206 | EM_GETFIRSTVISIBLELINE |
00cf | 207 | EM_SETREADONLY |
00d0 | 209 | EM_SETWORDBREAKPROC |
00d1 | 209 | EM_GETWORDBREAKPROC |
00d2 | 210 | EM_GETPASSWORDCHAR |
00d3 | 211 | EM_SETMARGINS |
00d4 | 212 | EM_GETMARGINS |
00d5 | 213 | EM_GETLIMITTEXT |
00d6 | 214 | EM_POSFROMCHAR |
00d7 | 215 | EM_CHARFROMPOS |
00d8 | 216 | EM_SETIMESTATUS |
00d9 | 217 | EM_GETIMESTATUS |
00e0 | 224 | SBM_SETPOS |
00e1 | 225 | SBM_GETPOS |
00e2 | 226 | SBM_SETRANGE |
00e3 | 227 | SBM_GETRANGE |
00e4 | 228 | SBM_ENABLE_ARROWS |
00e6 | 230 | SBM_SETRANGEREDRAW |
00e9 | 233 | SBM_SETSCROLLINFO |
00ea | 234 | SBM_GETSCROLLINFO |
00eb | 235 | SBM_GETSCROLLBARINFO |
00f0 | 240 | BM_GETCHECK |
00f1 | 241 | BM_SETCHECK |
00f2 | 242 | BM_GETSTATE |
00f3 | 243 | BM_SETSTATE |
00f4 | 244 | BM_SETSTYLE |
00f5 | 245 | BM_CLICK |
00f6 | 246 | BM_GETIMAGE |
00f7 | 247 | BM_SETIMAGE |
00f8 | 248 | BM_SETDONTCLICK |
00ff | 255 | WM_INPUT |
0100 | 256 | WM_KEYDOWN |
0100 | 256 | WM_KEYFIRST |
0101 | 257 | WM_KEYUP |
0102 | 258 | WM_CHAR |
0103 | 259 | WM_DEADCHAR |
0104 | 260 | WM_SYSKEYDOWN |
0105 | 261 | WM_SYSKEYUP |
0106 | 262 | WM_SYSCHAR |
0107 | 263 | WM_SYSDEADCHAR |
0109 | 265 | WM_UNICHAR / WM_KEYLAST |
0109 | 265 | WM_WNT_CONVERTREQUESTEX |
010a | 266 | WM_CONVERTREQUEST |
010b | 267 | WM_CONVERTRESULT |
010c | 268 | WM_INTERIM |
010d | 269 | WM_IME_STARTCOMPOSITION |
010e | 270 | WM_IME_ENDCOMPOSITION |
010f | 271 | WM_IME_COMPOSITION |
010f | 271 | WM_IME_KEYLAST |
0110 | 272 | WM_INITDIALOG |
0111 | 273 | WM_COMMAND |
0112 | 274 | WM_SYSCOMMAND |
0113 | 275 | WM_TIMER |
0114 | 276 | WM_HSCROLL |
0115 | 277 | WM_VSCROLL |
0116 | 278 | WM_INITMENU |
0117 | 279 | WM_INITMENUPOPUP |
0118 | 280 | WM_SYSTIMER |
011f | 287 | WM_MENUSELECT |
0120 | 288 | WM_MENUCHAR |
0121 | 289 | WM_ENTERIDLE |
0122 | 290 | WM_MENURBUTTONUP |
0123 | 291 | WM_MENUDRAG |
0124 | 292 | WM_MENUGETOBJECT |
0125 | 293 | WM_UNINITMENUPOPUP |
0126 | 294 | WM_MENUCOMMAND |
0127 | 295 | WM_CHANGEUISTATE |
0128 | 296 | WM_UPDATEUISTATE |
0129 | 297 | WM_QUERYUISTATE |
0131 | 305 | WM_LBTRACKPOINT |
0132 | 306 | WM_CTLCOLORMSGBOX |
0133 | 307 | WM_CTLCOLOREDIT |
0134 | 308 | WM_CTLCOLORLISTBOX |
0135 | 309 | WM_CTLCOLORBTN |
0136 | 310 | WM_CTLCOLORDLG |
0137 | 311 | WM_CTLCOLORSCROLLBAR |
0138 | 312 | WM_CTLCOLORSTATIC |
0200 | 512 | WM_MOUSEFIRST |
0200 | 512 | WM_MOUSEMOVE |
0201 | 513 | WM_LBUTTONDOWN |
0202 | 514 | WM_LBUTTONUP |
0203 | 515 | WM_LBUTTONDBLCLK |
0204 | 516 | WM_RBUTTONDOWN |
0205 | 517 | WM_RBUTTONUP |
0206 | 518 | WM_RBUTTONDBLCLK |
0207 | 519 | WM_MBUTTONDOWN |
0208 | 520 | WM_MBUTTONUP |
0209 | 521 | WM_MBUTTONDBLCLK |
0209 | 521 | WM_MOUSELAST |
020a | 522 | WM_MOUSEWHEEL |
020b | 523 | WM_XBUTTONDOWN |
020c | 524 | WM_XBUTTONUP |
020d | 525 | WM_XBUTTONDBLCLK |
020e | 526 | WM_MOUSEHWHEEL |
0210 | 528 | WM_PARENTNOTIFY |
0211 | 529 | WM_ENTERMENULOOP |
0212 | 530 | WM_EXITMENULOOP |
0213 | 531 | WM_NEXTMENU |
0214 | 532 | WM_SIZING |
0215 | 533 | WM_CAPTURECHANGED |
0216 | 534 | WM_MOVING |
0218 | 536 | WM_POWERBROADCAST |
0219 | 537 | WM_DEVICECHANGE |
0220 | 544 | WM_MDICREATE |
0221 | 545 | WM_MDIDESTROY |
0222 | 546 | WM_MDIACTIVATE |
0223 | 547 | WM_MDIRESTORE |
0224 | 548 | WM_MDINEXT |
0225 | 549 | WM_MDIMAXIMIZE |
0226 | 550 | WM_MDITILE |
0227 | 551 | WM_MDICASCADE |
0228 | 552 | WM_MDIICONARRANGE |
0229 | 553 | WM_MDIGETACTIVE |
0230 | 560 | WM_MDISETMENU |
0231 | 561 | WM_ENTERSIZEMOVE |
0232 | 562 | WM_EXITSIZEMOVE |
0233 | 563 | WM_DROPFILES |
0234 | 564 | WM_MDIREFRESHMENU |
0280 | 640 | WM_IME_REPORT |
0281 | 641 | WM_IME_SETCONTEXT |
0282 | 642 | WM_IME_NOTIFY |
0283 | 643 | WM_IME_CONTROL |
0284 | 644 | WM_IME_COMPOSITIONFULL |
0285 | 645 | WM_IME_SELECT |
0286 | 646 | WM_IME_CHAR |
0288 | 648 | WM_IME_REQUEST |
0290 | 656 | WM_IMEKEYDOWN |
0290 | 656 | WM_IME_KEYDOWN |
0291 | 657 | WM_IMEKEYUP |
0291 | 657 | WM_IME_KEYUP |
02a0 | 672 | WM_NCMOUSEHOVER |
02a1 | 673 | WM_MOUSEHOVER |
02a2 | 674 | WM_NCMOUSELEAVE |
02a3 | 675 | WM_MOUSELEAVE |
0300 | 768 | WM_CUT |
0301 | 769 | WM_COPY |
0302 | 770 | WM_PASTE |
0303 | 771 | WM_CLEAR |
0304 | 772 | WM_UNDO |
0305 | 773 | WM_RENDERFORMAT |
0306 | 774 | WM_RENDERALLFORMATS |
0307 | 775 | WM_DESTROYCLIPBOARD |
0308 | 776 | WM_DRAWCLIPBOARD |
0309 | 777 | WM_PAINTCLIPBOARD |
030a | 778 | WM_VSCROLLCLIPBOARD |
030b | 779 | WM_SIZECLIPBOARD |
030c | 780 | WM_ASKCBFORMATNAME |
030d | 781 | WM_CHANGECBCHAIN |
030e | 782 | WM_HSCROLLCLIPBOARD |
030f | 783 | WM_QUERYNEWPALETTE |
0310 | 784 | WM_PALETTEISCHANGING |
0311 | 785 | WM_PALETTECHANGED |
0312 | 786 | WM_HOTKEY |
0317 | 791 | WM_PRINT |
0318 | 792 | WM_PRINTCLIENT |
0319 | 793 | WM_APPCOMMAND |
0358 | 856 | WM_HANDHELDFIRST |
035f | 863 | WM_HANDHELDLAST |
0360 | 864 | WM_AFXFIRST |
037f | 895 | WM_AFXLAST |
0380 | 896 | WM_PENWINFIRST |
0381 | 897 | WM_RCRESULT |
0382 | 898 | WM_HOOKRCRESULT |
0383 | 899 | WM_GLOBALRCCHANGE |
0383 | 899 | WM_PENMISCINFO |
0384 | 900 | WM_SKB |
0385 | 901 | WM_HEDITCTL |
0385 | 901 | WM_PENCTL |
0386 | 902 | WM_PENMISC |
0387 | 903 | WM_CTLINIT |
0388 | 904 | WM_PENEVENT |
038f | 911 | WM_PENWINLAST |
0400 | 1024 | DDM_SETFMT |
0400 | 1024 | DM_GETDEFID |
0400 | 1024 | NIN_SELECT |
0400 | 1024 | TBM_GETPOS |
0400 | 1024 | WM_PSD_PAGESETUPDLG |
0400 | 1024 | WM_USER |
0401 | 1025 | CBEM_INSERTITEMA |
0401 | 1025 | DDM_DRAW |
0401 | 1025 | DM_SETDEFID |
0401 | 1025 | HKM_SETHOTKEY |
0401 | 1025 | PBM_SETRANGE |
0401 | 1025 | RB_INSERTBANDA |
0401 | 1025 | SB_SETTEXTA |
0401 | 1025 | TB_ENABLEBUTTON |
0401 | 1025 | TBM_GETRANGEMIN |
0401 | 1025 | TTM_ACTIVATE |
0401 | 1025 | WM_CHOOSEFONT_GETLOGFONT |
0401 | 1025 | WM_PSD_FULLPAGERECT |
0402 | 1026 | CBEM_SETIMAGELIST |
0402 | 1026 | DDM_CLOSE |
0402 | 1026 | DM_REPOSITION |
0402 | 1026 | HKM_GETHOTKEY |
0402 | 1026 | PBM_SETPOS |
0402 | 1026 | RB_DELETEBAND |
0402 | 1026 | SB_GETTEXTA |
0402 | 1026 | TB_CHECKBUTTON |
0402 | 1026 | TBM_GETRANGEMAX |
0402 | 1026 | WM_PSD_MINMARGINRECT |
0403 | 1027 | CBEM_GETIMAGELIST |
0403 | 1027 | DDM_BEGIN |
0403 | 1027 | HKM_SETRULES |
0403 | 1027 | PBM_DELTAPOS |
0403 | 1027 | RB_GETBARINFO |
0403 | 1027 | SB_GETTEXTLENGTHA |
0403 | 1027 | TBM_GETTIC |
0403 | 1027 | TB_PRESSBUTTON |
0403 | 1027 | TTM_SETDELAYTIME |
0403 | 1027 | WM_PSD_MARGINRECT |
0404 | 1028 | CBEM_GETITEMA |
0404 | 1028 | DDM_END |
0404 | 1028 | PBM_SETSTEP |
0404 | 1028 | RB_SETBARINFO |
0404 | 1028 | SB_SETPARTS |
0404 | 1028 | TB_HIDEBUTTON |
0404 | 1028 | TBM_SETTIC |
0404 | 1028 | TTM_ADDTOOLA |
0404 | 1028 | WM_PSD_GREEKTEXTRECT |
0405 | 1029 | CBEM_SETITEMA |
0405 | 1029 | PBM_STEPIT |
0405 | 1029 | TB_INDETERMINATE |
0405 | 1029 | TBM_SETPOS |
0405 | 1029 | TTM_DELTOOLA |
0405 | 1029 | WM_PSD_ENVSTAMPRECT |
0406 | 1030 | CBEM_GETCOMBOCONTROL |
0406 | 1030 | PBM_SETRANGE32 |
0406 | 1030 | RB_SETBANDINFOA |
0406 | 1030 | SB_GETPARTS |
0406 | 1030 | TB_MARKBUTTON |
0406 | 1030 | TBM_SETRANGE |
0406 | 1030 | TTM_NEWTOOLRECTA |
0406 | 1030 | WM_PSD_YAFULLPAGERECT |
0407 | 1031 | CBEM_GETEDITCONTROL |
0407 | 1031 | PBM_GETRANGE |
0407 | 1031 | RB_SETPARENT |
0407 | 1031 | SB_GETBORDERS |
0407 | 1031 | TBM_SETRANGEMIN |
0407 | 1031 | TTM_RELAYEVENT |
0408 | 1032 | CBEM_SETEXSTYLE |
0408 | 1032 | PBM_GETPOS |
0408 | 1032 | RB_HITTEST |
0408 | 1032 | SB_SETMINHEIGHT |
0408 | 1032 | TBM_SETRANGEMAX |
0408 | 1032 | TTM_GETTOOLINFOA |
0409 | 1033 | CBEM_GETEXSTYLE |
0409 | 1033 | CBEM_GETEXTENDEDSTYLE |
0409 | 1033 | PBM_SETBARCOLOR |
0409 | 1033 | RB_GETRECT |
0409 | 1033 | SB_SIMPLE |
0409 | 1033 | TB_ISBUTTONENABLED |
0409 | 1033 | TBM_CLEARTICS |
0409 | 1033 | TTM_SETTOOLINFOA |
040a | 1034 | CBEM_HASEDITCHANGED |
040a | 1034 | RB_INSERTBANDW |
040a | 1034 | SB_GETRECT |
040a | 1034 | TB_ISBUTTONCHECKED |
040a | 1034 | TBM_SETSEL |
040a | 1034 | TTM_HITTESTA |
040a | 1034 | WIZ_QUERYNUMPAGES |
040b | 1035 | CBEM_INSERTITEMW |
040b | 1035 | RB_SETBANDINFOW |
040b | 1035 | SB_SETTEXTW |
040b | 1035 | TB_ISBUTTONPRESSED |
040b | 1035 | TBM_SETSELSTART |
040b | 1035 | TTM_GETTEXTA |
040b | 1035 | WIZ_NEXT |
040c | 1036 | CBEM_SETITEMW |
040c | 1036 | RB_GETBANDCOUNT |
040c | 1036 | SB_GETTEXTLENGTHW |
040c | 1036 | TB_ISBUTTONHIDDEN |
040c | 1036 | TBM_SETSELEND |
040c | 1036 | TTM_UPDATETIPTEXTA |
040c | 1036 | WIZ_PREV |
040d | 1037 | CBEM_GETITEMW |
040d | 1037 | RB_GETROWCOUNT |
040d | 1037 | SB_GETTEXTW |
040d | 1037 | TB_ISBUTTONINDETERMINATE |
040d | 1037 | TTM_GETTOOLCOUNT |
040e | 1038 | CBEM_SETEXTENDEDSTYLE |
040e | 1038 | RB_GETROWHEIGHT |
040e | 1038 | SB_ISSIMPLE |
040e | 1038 | TB_ISBUTTONHIGHLIGHTED |
040e | 1038 | TBM_GETPTICS |
040e | 1038 | TTM_ENUMTOOLSA |
040f | 1039 | SB_SETICON |
040f | 1039 | TBM_GETTICPOS |
040f | 1039 | TTM_GETCURRENTTOOLA |
0410 | 1040 | RB_IDTOINDEX |
0410 | 1040 | SB_SETTIPTEXTA |
0410 | 1040 | TBM_GETNUMTICS |
0410 | 1040 | TTM_WINDOWFROMPOINT |
0411 | 1041 | RB_GETTOOLTIPS |
0411 | 1041 | SB_SETTIPTEXTW |
0411 | 1041 | TBM_GETSELSTART |
0411 | 1041 | TB_SETSTATE |
0411 | 1041 | TTM_TRACKACTIVATE |
0412 | 1042 | RB_SETTOOLTIPS |
0412 | 1042 | SB_GETTIPTEXTA |
0412 | 1042 | TB_GETSTATE |
0412 | 1042 | TBM_GETSELEND |
0412 | 1042 | TTM_TRACKPOSITION |
0413 | 1043 | RB_SETBKCOLOR |
0413 | 1043 | SB_GETTIPTEXTW |
0413 | 1043 | TB_ADDBITMAP |
0413 | 1043 | TBM_CLEARSEL |
0413 | 1043 | TTM_SETTIPBKCOLOR |
0414 | 1044 | RB_GETBKCOLOR |
0414 | 1044 | SB_GETICON |
0414 | 1044 | TB_ADDBUTTONSA |
0414 | 1044 | TBM_SETTICFREQ |
0414 | 1044 | TTM_SETTIPTEXTCOLOR |
0415 | 1045 | RB_SETTEXTCOLOR |
0415 | 1045 | TB_INSERTBUTTONA |
0415 | 1045 | TBM_SETPAGESIZE |
0415 | 1045 | TTM_GETDELAYTIME |
0416 | 1046 | RB_GETTEXTCOLOR |
0416 | 1046 | TB_DELETEBUTTON |
0416 | 1046 | TBM_GETPAGESIZE |
0416 | 1046 | TTM_GETTIPBKCOLOR |
0417 | 1047 | RB_SIZETORECT |
0417 | 1047 | TB_GETBUTTON |
0417 | 1047 | TBM_SETLINESIZE |
0417 | 1047 | TTM_GETTIPTEXTCOLOR |
0418 | 1048 | RB_BEGINDRAG |
0418 | 1048 | TB_BUTTONCOUNT |
0418 | 1048 | TBM_GETLINESIZE |
0418 | 1048 | TTM_SETMAXTIPWIDTH |
0419 | 1049 | RB_ENDDRAG |
0419 | 1049 | TB_COMMANDTOINDEX |
0419 | 1049 | TBM_GETTHUMBRECT |
0419 | 1049 | TTM_GETMAXTIPWIDTH |
041a | 1050 | RB_DRAGMOVE |
041a | 1050 | TBM_GETCHANNELRECT |
041a | 1050 | TB_SAVERESTOREA |
041a | 1050 | TTM_SETMARGIN |
041b | 1051 | RB_GETBARHEIGHT |
041b | 1051 | TB_CUSTOMIZE |
041b | 1051 | TBM_SETTHUMBLENGTH |
041b | 1051 | TTM_GETMARGIN |
041c | 1052 | RB_GETBANDINFOW |
041c | 1052 | TB_ADDSTRINGA |
041c | 1052 | TBM_GETTHUMBLENGTH |
041c | 1052 | TTM_POP |
041d | 1053 | RB_GETBANDINFOA |
041d | 1053 | TB_GETITEMRECT |
041d | 1053 | TBM_SETTOOLTIPS |
041d | 1053 | TTM_UPDATE |
041e | 1054 | RB_MINIMIZEBAND |
041e | 1054 | TB_BUTTONSTRUCTSIZE |
041e | 1054 | TBM_GETTOOLTIPS |
041e | 1054 | TTM_GETBUBBLESIZE |
041f | 1055 | RB_MAXIMIZEBAND |
041f | 1055 | TBM_SETTIPSIDE |
041f | 1055 | TB_SETBUTTONSIZE |
041f | 1055 | TTM_ADJUSTRECT |
0420 | 1056 | TBM_SETBUDDY |
0420 | 1056 | TB_SETBITMAPSIZE |
0420 | 1056 | TTM_SETTITLEA |
0421 | 1057 | MSG_FTS_JUMP_VA |
0421 | 1057 | TB_AUTOSIZE |
0421 | 1057 | TBM_GETBUDDY |
0421 | 1057 | TTM_SETTITLEW |
0422 | 1058 | RB_GETBANDBORDERS |
0423 | 1059 | MSG_FTS_JUMP_QWORD |
0423 | 1059 | RB_SHOWBAND |
0423 | 1059 | TB_GETTOOLTIPS |
0424 | 1060 | MSG_REINDEX_REQUEST |
0424 | 1060 | TB_SETTOOLTIPS |
0425 | 1061 | MSG_FTS_WHERE_IS_IT |
0425 | 1061 | RB_SETPALETTE |
0425 | 1061 | TB_SETPARENT |
0426 | 1062 | RB_GETPALETTE |
0427 | 1063 | RB_MOVEBAND |
0427 | 1063 | TB_SETROWS |
0428 | 1064 | TB_GETROWS |
0429 | 1065 | TB_GETBITMAPFLAGS |
042a | 1066 | TB_SETCMDID |
042b | 1067 | RB_PUSHCHEVRON |
042b | 1067 | TB_CHANGEBITMAP |
042c | 1068 | TB_GETBITMAP |
042d | 1069 | MSG_GET_DEFFONT |
042d | 1069 | TB_GETBUTTONTEXTA |
042e | 1070 | TB_REPLACEBITMAP |
042f | 1071 | TB_SETINDENT |
0430 | 1072 | TB_SETIMAGELIST |
0431 | 1073 | TB_GETIMAGELIST |
0432 | 1074 | TB_LOADIMAGES |
0432 | 1074 | EM_CANPASTE |
0432 | 1074 | TTM_ADDTOOLW |
0433 | 1075 | EM_DISPLAYBAND |
0433 | 1075 | TB_GETRECT |
0433 | 1075 | TTM_DELTOOLW |
0434 | 1076 | EM_EXGETSEL |
0434 | 1076 | TB_SETHOTIMAGELIST |
0434 | 1076 | TTM_NEWTOOLRECTW |
0435 | 1077 | EM_EXLIMITTEXT |
0435 | 1077 | TB_GETHOTIMAGELIST |
0435 | 1077 | TTM_GETTOOLINFOW |
0436 | 1078 | EM_EXLINEFROMCHAR |
0436 | 1078 | TB_SETDISABLEDIMAGELIST |
0436 | 1078 | TTM_SETTOOLINFOW |
0437 | 1079 | EM_EXSETSEL |
0437 | 1079 | TB_GETDISABLEDIMAGELIST |
0437 | 1079 | TTM_HITTESTW |
0438 | 1080 | EM_FINDTEXT |
0438 | 1080 | TB_SETSTYLE |
0438 | 1080 | TTM_GETTEXTW |
0439 | 1081 | EM_FORMATRANGE |
0439 | 1081 | TB_GETSTYLE |
0439 | 1081 | TTM_UPDATETIPTEXTW |
043a | 1082 | EM_GETCHARFORMAT |
043a | 1082 | TB_GETBUTTONSIZE |
043a | 1082 | TTM_ENUMTOOLSW |
043b | 1083 | EM_GETEVENTMASK |
043b | 1083 | TB_SETBUTTONWIDTH |
043b | 1083 | TTM_GETCURRENTTOOLW |
043c | 1084 | EM_GETOLEINTERFACE |
043c | 1084 | TB_SETMAXTEXTROWS |
043d | 1085 | EM_GETPARAFORMAT |
043d | 1085 | TB_GETTEXTROWS |
043e | 1086 | EM_GETSELTEXT |
043e | 1086 | TB_GETOBJECT |
043f | 1087 | EM_HIDESELECTION |
043f | 1087 | TB_GETBUTTONINFOW |
0440 | 1088 | EM_PASTESPECIAL |
0440 | 1088 | TB_SETBUTTONINFOW |
0441 | 1089 | EM_REQUESTRESIZE |
0441 | 1089 | TB_GETBUTTONINFOA |
0442 | 1090 | EM_SELECTIONTYPE |
0442 | 1090 | TB_SETBUTTONINFOA |
0443 | 1091 | EM_SETBKGNDCOLOR |
0443 | 1091 | TB_INSERTBUTTONW |
0444 | 1092 | EM_SETCHARFORMAT |
0444 | 1092 | TB_ADDBUTTONSW |
0445 | 1093 | EM_SETEVENTMASK |
0445 | 1093 | TB_HITTEST |
0446 | 1094 | EM_SETOLECALLBACK |
0446 | 1094 | TB_SETDRAWTEXTFLAGS |
0447 | 1095 | EM_SETPARAFORMAT |
0447 | 1095 | TB_GETHOTITEM |
0448 | 1096 | EM_SETTARGETDEVICE |
0448 | 1096 | TB_SETHOTITEM |
0449 | 1097 | EM_STREAMIN |
0449 | 1097 | TB_SETANCHORHIGHLIGHT |
044a | 1098 | EM_STREAMOUT |
044a | 1098 | TB_GETANCHORHIGHLIGHT |
044b | 1099 | EM_GETTEXTRANGE |
044b | 1099 | TB_GETBUTTONTEXTW |
044c | 1100 | EM_FINDWORDBREAK |
044c | 1100 | TB_SAVERESTOREW |
044d | 1101 | EM_SETOPTIONS |
044d | 1101 | TB_ADDSTRINGW |
044e | 1102 | EM_GETOPTIONS |
044e | 1102 | TB_MAPACCELERATORA |
044f | 1103 | EM_FINDTEXTEX |
044f | 1103 | TB_GETINSERTMARK |
0450 | 1104 | EM_GETWORDBREAKPROCEX |
0450 | 1104 | TB_SETINSERTMARK |
0451 | 1105 | EM_SETWORDBREAKPROCEX |
0451 | 1105 | TB_INSERTMARKHITTEST |
0452 | 1106 | EM_SETUNDOLIMIT |
0452 | 1106 | TB_MOVEBUTTON |
0453 | 1107 | TB_GETMAXSIZE |
0454 | 1108 | EM_REDO |
0454 | 1108 | TB_SETEXTENDEDSTYLE |
0455 | 1109 | EM_CANREDO |
0455 | 1109 | TB_GETEXTENDEDSTYLE |
0456 | 1110 | EM_GETUNDONAME |
0456 | 1110 | TB_GETPADDING |
0457 | 1111 | EM_GETREDONAME |
0457 | 1111 | TB_SETPADDING |
0458 | 1112 | EM_STOPGROUPTYPING |
0458 | 1112 | TB_SETINSERTMARKCOLOR |
0459 | 1113 | EM_SETTEXTMODE |
0459 | 1113 | TB_GETINSERTMARKCOLOR |
045a | 1114 | EM_GETTEXTMODE |
045a | 1114 | TB_MAPACCELERATORW |
045b | 1115 | EM_AUTOURLDETECT |
045b | 1115 | TB_GETSTRINGW |
045c | 1116 | EM_GETAUTOURLDETECT |
045c | 1116 | TB_GETSTRINGA |
045d | 1117 | EM_SETPALETTE |
045e | 1118 | EM_GETTEXTEX |
045f | 1119 | EM_GETTEXTLENGTHEX |
0460 | 1120 | EM_SHOWSCROLLBAR |
0461 | 1121 | EM_SETTEXTEX |
0463 | 1123 | TAPI_REPLY |
0464 | 1124 | ACM_OPENA |
0464 | 1124 | BFFM_SETSTATUSTEXTA |
0464 | 1124 | CDM_FIRST |
0464 | 1124 | CDM_GETSPEC |
0464 | 1124 | EM_SETPUNCTUATION |
0464 | 1124 | IPM_CLEARADDRESS |
0464 | 1124 | WM_CAP_UNICODE_START |
0465 | 1125 | ACM_PLAY |
0465 | 1125 | BFFM_ENABLEOK |
0465 | 1125 | CDM_GETFILEPATH |
0465 | 1125 | EM_GETPUNCTUATION |
0465 | 1125 | IPM_SETADDRESS |
0465 | 1125 | PSM_SETCURSEL |
0465 | 1125 | UDM_SETRANGE |
0465 | 1125 | WM_CHOOSEFONT_SETLOGFONT |
0466 | 1126 | ACM_STOP |
0466 | 1126 | BFFM_SETSELECTIONA |
0466 | 1126 | CDM_GETFOLDERPATH |
0466 | 1126 | EM_SETWORDWRAPMODE |
0466 | 1126 | IPM_GETADDRESS |
0466 | 1126 | PSM_REMOVEPAGE |
0466 | 1126 | UDM_GETRANGE |
0466 | 1126 | WM_CAP_SET_CALLBACK_ERRORW |
0466 | 1126 | WM_CHOOSEFONT_SETFLAGS |
0467 | 1127 | ACM_OPENW |
0467 | 1127 | BFFM_SETSELECTIONW |
0467 | 1127 | CDM_GETFOLDERIDLIST |
0467 | 1127 | EM_GETWORDWRAPMODE |
0467 | 1127 | IPM_SETRANGE |
0467 | 1127 | PSM_ADDPAGE |
0467 | 1127 | UDM_SETPOS |
0467 | 1127 | WM_CAP_SET_CALLBACK_STATUSW |
0468 | 1128 | BFFM_SETSTATUSTEXTW |
0468 | 1128 | CDM_SETCONTROLTEXT |
0468 | 1128 | EM_SETIMECOLOR |
0468 | 1128 | IPM_SETFOCUS |
0468 | 1128 | PSM_CHANGED |
0468 | 1128 | UDM_GETPOS |
0469 | 1129 | CDM_HIDECONTROL |
0469 | 1129 | EM_GETIMECOLOR |
0469 | 1129 | IPM_ISBLANK |
0469 | 1129 | PSM_RESTARTWINDOWS |
0469 | 1129 | UDM_SETBUDDY |
046a | 1130 | CDM_SETDEFEXT |
046a | 1130 | EM_SETIMEOPTIONS |
046a | 1130 | PSM_REBOOTSYSTEM |
046a | 1130 | UDM_GETBUDDY |
046b | 1131 | EM_GETIMEOPTIONS |
046b | 1131 | PSM_CANCELTOCLOSE |
046b | 1131 | UDM_SETACCEL |
046c | 1132 | EM_CONVPOSITION |
046c | 1132 | EM_CONVPOSITION |
046c | 1132 | PSM_QUERYSIBLINGS |
046c | 1132 | UDM_GETACCEL |
046d | 1133 | MCIWNDM_GETZOOM |
046d | 1133 | PSM_UNCHANGED |
046d | 1133 | UDM_SETBASE |
046e | 1134 | PSM_APPLY |
046e | 1134 | UDM_GETBASE |
046f | 1135 | PSM_SETTITLEA |
046f | 1135 | UDM_SETRANGE32 |
0470 | 1136 | PSM_SETWIZBUTTONS |
0470 | 1136 | UDM_GETRANGE32 |
0470 | 1136 | WM_CAP_DRIVER_GET_NAMEW |
0471 | 1137 | PSM_PRESSBUTTON |
0471 | 1137 | UDM_SETPOS32 |
0471 | 1137 | WM_CAP_DRIVER_GET_VERSIONW |
0472 | 1138 | PSM_SETCURSELID |
0472 | 1138 | UDM_GETPOS32 |
0473 | 1139 | PSM_SETFINISHTEXTA |
0474 | 1140 | PSM_GETTABCONTROL |
0475 | 1141 | PSM_ISDIALOGMESSAGE |
0476 | 1142 | MCIWNDM_REALIZE |
0476 | 1142 | PSM_GETCURRENTPAGEHWND |
0477 | 1143 | MCIWNDM_SETTIMEFORMATA |
0477 | 1143 | PSM_INSERTPAGE |
0478 | 1144 | EM_SETLANGOPTIONS |
0478 | 1144 | MCIWNDM_GETTIMEFORMATA |
0478 | 1144 | PSM_SETTITLEW |
0478 | 1144 | WM_CAP_FILE_SET_CAPTURE_FILEW |
0479 | 1145 | EM_GETLANGOPTIONS |
0479 | 1145 | MCIWNDM_VALIDATEMEDIA |
0479 | 1145 | PSM_SETFINISHTEXTW |
0479 | 1145 | WM_CAP_FILE_GET_CAPTURE_FILEW |
047a | 1146 | EM_GETIMECOMPMODE |
047b | 1147 | EM_FINDTEXTW |
047b | 1147 | MCIWNDM_PLAYTO |
047b | 1147 | WM_CAP_FILE_SAVEASW |
047c | 1148 | EM_FINDTEXTEXW |
047c | 1148 | MCIWNDM_GETFILENAMEA |
047d | 1149 | EM_RECONVERSION |
047d | 1149 | MCIWNDM_GETDEVICEA |
047d | 1149 | PSM_SETHEADERTITLEA |
047d | 1149 | WM_CAP_FILE_SAVEDIBW |
047e | 1150 | EM_SETIMEMODEBIAS |
047e | 1150 | MCIWNDM_GETPALETTE |
047e | 1150 | PSM_SETHEADERTITLEW |
047f | 1151 | EM_GETIMEMODEBIAS |
047f | 1151 | MCIWNDM_SETPALETTE |
047f | 1151 | PSM_SETHEADERSUBTITLEA |
0480 | 1152 | MCIWNDM_GETERRORA |
0480 | 1152 | PSM_SETHEADERSUBTITLEW |
0481 | 1153 | PSM_HWNDTOINDEX |
0482 | 1154 | PSM_INDEXTOHWND |
0483 | 1155 | MCIWNDM_SETINACTIVETIMER |
0483 | 1155 | PSM_PAGETOINDEX |
0484 | 1156 | PSM_INDEXTOPAGE |
0485 | 1157 | DL_BEGINDRAG |
0485 | 1157 | MCIWNDM_GETINACTIVETIMER |
0485 | 1157 | PSM_IDTOINDEX |
0486 | 1158 | DL_DRAGGING |
0486 | 1158 | PSM_INDEXTOID |
0487 | 1159 | DL_DROPPED |
0487 | 1159 | PSM_GETRESULT |
0488 | 1160 | DL_CANCELDRAG |
0488 | 1160 | PSM_RECALCPAGESIZES |
048c | 1164 | MCIWNDM_GET_SOURCE |
048d | 1165 | MCIWNDM_PUT_SOURCE |
048e | 1166 | MCIWNDM_GET_DEST |
048f | 1167 | MCIWNDM_PUT_DEST |
0490 | 1168 | MCIWNDM_CAN_PLAY |
0491 | 1169 | MCIWNDM_CAN_WINDOW |
0492 | 1170 | MCIWNDM_CAN_RECORD |
0493 | 1171 | MCIWNDM_CAN_SAVE |
0494 | 1172 | MCIWNDM_CAN_EJECT |
0495 | 1173 | MCIWNDM_CAN_CONFIG |
0496 | 1174 | IE_GETINK |
0496 | 1174 | IE_MSGFIRST |
0496 | 1174 | MCIWNDM_PALETTEKICK |
0497 | 1175 | IE_SETINK |
0498 | 1176 | IE_GETPENTIP |
0499 | 1177 | IE_SETPENTIP |
049a | 1178 | IE_GETERASERTIP |
049b | 1179 | IE_SETERASERTIP |
049c | 1180 | IE_GETBKGND |
049d | 1181 | IE_SETBKGND |
049e | 1182 | IE_GETGRIDORIGIN |
049f | 1183 | IE_SETGRIDORIGIN |
04a0 | 1184 | IE_GETGRIDPEN |
04a1 | 1185 | IE_SETGRIDPEN |
04a2 | 1186 | IE_GETGRIDSIZE |
04a3 | 1187 | IE_SETGRIDSIZE |
04a4 | 1188 | IE_GETMODE |
04a5 | 1189 | IE_SETMODE |
04a6 | 1190 | IE_GETINKRECT |
04a6 | 1190 | WM_CAP_SET_MCI_DEVICEW |
04a7 | 1191 | WM_CAP_GET_MCI_DEVICEW |
04b4 | 1204 | WM_CAP_PAL_OPENW |
04b5 | 1205 | WM_CAP_PAL_SAVEW |
04b8 | 1208 | IE_GETAPPDATA |
04b9 | 1209 | IE_SETAPPDATA |
04ba | 1210 | IE_GETDRAWOPTS |
04bb | 1211 | IE_SETDRAWOPTS |
04bc | 1212 | IE_GETFORMAT |
04bd | 1213 | IE_SETFORMAT |
04be | 1214 | IE_GETINKINPUT |
04bf | 1215 | IE_SETINKINPUT |
04c0 | 1216 | IE_GETNOTIFY |
04c1 | 1217 | IE_SETNOTIFY |
04c2 | 1218 | IE_GETRECOG |
04c3 | 1219 | IE_SETRECOG |
04c4 | 1220 | IE_GETSECURITY |
04c5 | 1221 | IE_SETSECURITY |
04c6 | 1222 | IE_GETSEL |
04c7 | 1223 | IE_SETSEL |
04c8 | 1224 | CDM_LAST |
04c8 | 1224 | EM_SETBIDIOPTIONS |
04c8 | 1224 | IE_DOCOMMAND |
04c8 | 1224 | MCIWNDM_NOTIFYMODE |
04c9 | 1225 | EM_GETBIDIOPTIONS |
04c9 | 1225 | IE_GETCOMMAND |
04ca | 1226 | EM_SETTYPOGRAPHYOPTIONS |
04ca | 1226 | IE_GETCOUNT |
04cb | 1227 | EM_GETTYPOGRAPHYOPTIONS |
04cb | 1227 | IE_GETGESTURE |
04cb | 1227 | MCIWNDM_NOTIFYMEDIA |
04cc | 1228 | EM_SETEDITSTYLE |
04cc | 1228 | IE_GETMENU |
04cd | 1229 | EM_GETEDITSTYLE |
04cd | 1229 | IE_GETPAINTDC |
04cd | 1229 | MCIWNDM_NOTIFYERROR |
04ce | 1230 | IE_GETPDEVENT |
04cf | 1231 | IE_GETSELCOUNT |
04d0 | 1232 | IE_GETSELITEMS |
04d1 | 1233 | IE_GETSTYLE |
04db | 1243 | MCIWNDM_SETTIMEFORMATW |
04dc | 1244 | EM_OUTLINE |
04dc | 1244 | MCIWNDM_GETTIMEFORMATW |
04dd | 1245 | EM_GETSCROLLPOS |
04de | 1246 | EM_SETSCROLLPOS |
04de | 1246 | EM_SETSCROLLPOS |
04df | 1247 | EM_SETFONTSIZE |
04e0 | 1248 | EM_GETZOOM |
04e0 | 1248 | MCIWNDM_GETFILENAMEW |
04e1 | 1249 | EM_SETZOOM |
04e1 | 1249 | MCIWNDM_GETDEVICEW |
04e2 | 1250 | EM_GETVIEWKIND |
04e3 | 1251 | EM_SETVIEWKIND |
04e4 | 1252 | EM_GETPAGE |
04e4 | 1252 | MCIWNDM_GETERRORW |
04e5 | 1253 | EM_SETPAGE |
04e6 | 1254 | EM_GETHYPHENATEINFO |
04e7 | 1255 | EM_SETHYPHENATEINFO |
04eb | 1259 | EM_GETPAGEROTATE |
04ec | 1260 | EM_SETPAGEROTATE |
04ed | 1261 | EM_GETCTFMODEBIAS |
04ee | 1262 | EM_SETCTFMODEBIAS |
04f0 | 1264 | EM_GETCTFOPENSTATUS |
04f1 | 1265 | EM_SETCTFOPENSTATUS |
04f2 | 1266 | EM_GETIMECOMPTEXT |
04f3 | 1267 | EM_ISIME |
04f4 | 1268 | EM_GETIMEPROPERTY |
050d | 1293 | EM_GETQUERYRTFOBJ |
050e | 1294 | EM_SETQUERYRTFOBJ |
0600 | 1536 | FM_GETFOCUS |
0601 | 1537 | FM_GETDRIVEINFOA |
0602 | 1538 | FM_GETSELCOUNT |
0603 | 1539 | FM_GETSELCOUNTLFN |
0604 | 1540 | FM_GETFILESELA |
0605 | 1541 | FM_GETFILESELLFNA |
0606 | 1542 | FM_REFRESH_WINDOWS |
0607 | 1543 | FM_RELOAD_EXTENSIONS |
0611 | 1553 | FM_GETDRIVEINFOW |
0614 | 1556 | FM_GETFILESELW |
0615 | 1557 | FM_GETFILESELLFNW |
0659 | 1625 | WLX_WM_SAS |
07e8 | 2024 | SM_GETSELCOUNT |
07e8 | 2024 | UM_GETSELCOUNT |
07e8 | 2024 | WM_CPL_LAUNCH |
07e9 | 2025 | SM_GETSERVERSELA |
07e9 | 2025 | UM_GETUSERSELA |
07e9 | 2025 | WM_CPL_LAUNCHED |
07ea | 2026 | SM_GETSERVERSELW |
07ea | 2026 | UM_GETUSERSELW |
07eb | 2027 | SM_GETCURFOCUSA |
07eb | 2027 | UM_GETGROUPSELA |
07ec | 2028 | SM_GETCURFOCUSW |
07ec | 2028 | UM_GETGROUPSELW |
07ed | 2029 | SM_GETOPTIONS |
07ed | 2029 | UM_GETCURFOCUSA |
07ee | 2030 | UM_GETCURFOCUSW |
07ef | 2031 | UM_GETOPTIONS |
07f0 | 2032 | UM_GETOPTIONS2 |
1000 | 4096 | LVM_FIRST |
1000 | 4096 | LVM_GETBKCOLOR |
1001 | 4097 | LVM_SETBKCOLOR |
1002 | 4098 | LVM_GETIMAGELIST |
1003 | 4099 | LVM_SETIMAGELIST |
1004 | 4100 | LVM_GETITEMCOUNT |
1005 | 4101 | LVM_GETITEMA |
1006 | 4102 | LVM_SETITEMA |
1007 | 4103 | LVM_INSERTITEMA |
1008 | 4104 | LVM_DELETEITEM |
1009 | 4105 | LVM_DELETEALLITEMS |
100a | 4106 | LVM_GETCALLBACKMASK |
100b | 4107 | LVM_SETCALLBACKMASK |
100c | 4108 | LVM_GETNEXTITEM |
100d | 4109 | LVM_FINDITEMA |
100e | 4110 | LVM_GETITEMRECT |
100f | 4111 | LVM_SETITEMPOSITION |
1010 | 4112 | LVM_GETITEMPOSITION |
1011 | 4113 | LVM_GETSTRINGWIDTHA |
1012 | 4114 | LVM_HITTEST |
1013 | 4115 | LVM_ENSUREVISIBLE |
1014 | 4116 | LVM_SCROLL |
1015 | 4117 | LVM_REDRAWITEMS |
1016 | 4118 | LVM_ARRANGE |
1017 | 4119 | LVM_EDITLABELA |
1018 | 4120 | LVM_GETEDITCONTROL |
1019 | 4121 | LVM_GETCOLUMNA |
101a | 4122 | LVM_SETCOLUMNA |
101b | 4123 | LVM_INSERTCOLUMNA |
101c | 4124 | LVM_DELETECOLUMN |
101d | 4125 | LVM_GETCOLUMNWIDTH |
101e | 4126 | LVM_SETCOLUMNWIDTH |
101f | 4127 | LVM_GETHEADER |
1021 | 4129 | LVM_CREATEDRAGIMAGE |
1022 | 4130 | LVM_GETVIEWRECT |
1023 | 4131 | LVM_GETTEXTCOLOR |
1024 | 4132 | LVM_SETTEXTCOLOR |
1025 | 4133 | LVM_GETTEXTBKCOLOR |
1026 | 4134 | LVM_SETTEXTBKCOLOR |
1027 | 4135 | LVM_GETTOPINDEX |
1028 | 4136 | LVM_GETCOUNTPERPAGE |
1029 | 4137 | LVM_GETORIGIN |
102a | 4138 | LVM_UPDATE |
102b | 4139 | LVM_SETITEMSTATE |
102c | 4140 | LVM_GETITEMSTATE |
102d | 4141 | LVM_GETITEMTEXTA |
102e | 4142 | LVM_SETITEMTEXTA |
102f | 4143 | LVM_SETITEMCOUNT |
1030 | 4144 | LVM_SORTITEMS |
1031 | 4145 | LVM_SETITEMPOSITION32 |
1032 | 4146 | LVM_GETSELECTEDCOUNT |
1033 | 4147 | LVM_GETITEMSPACING |
1034 | 4148 | LVM_GETISEARCHSTRINGA |
1035 | 4149 | LVM_SETICONSPACING |
1036 | 4150 | LVM_SETEXTENDEDLISTVIEWSTYLE |
1037 | 4151 | LVM_GETEXTENDEDLISTVIEWSTYLE |
1038 | 4152 | LVM_GETSUBITEMRECT |
1039 | 4153 | LVM_SUBITEMHITTEST |
103a | 4154 | LVM_SETCOLUMNORDERARRAY |
103b | 4155 | LVM_GETCOLUMNORDERARRAY |
103c | 4156 | LVM_SETHOTITEM |
103d | 4157 | LVM_GETHOTITEM |
103e | 4158 | LVM_SETHOTCURSOR |
103f | 4159 | LVM_GETHOTCURSOR |
1040 | 4160 | LVM_APPROXIMATEVIEWRECT |
1041 | 4161 | LVM_SETWORKAREAS |
1042 | 4162 | LVM_GETSELECTIONMARK |
1043 | 4163 | LVM_SETSELECTIONMARK |
1044 | 4164 | LVM_SETBKIMAGEA |
1045 | 4165 | LVM_GETBKIMAGEA |
1046 | 4166 | LVM_GETWORKAREAS |
1047 | 4167 | LVM_SETHOVERTIME |
1048 | 4168 | LVM_GETHOVERTIME |
1049 | 4169 | LVM_GETNUMBEROFWORKAREAS |
104a | 4170 | LVM_SETTOOLTIPS |
104b | 4171 | LVM_GETITEMW |
104c | 4172 | LVM_SETITEMW |
104d | 4173 | LVM_INSERTITEMW |
104e | 4174 | LVM_GETTOOLTIPS |
1053 | 4179 | LVM_FINDITEMW |
1057 | 4183 | LVM_GETSTRINGWIDTHW |
105f | 4191 | LVM_GETCOLUMNW |
1060 | 4192 | LVM_SETCOLUMNW |
1061 | 4193 | LVM_INSERTCOLUMNW |
1073 | 4211 | LVM_GETITEMTEXTW |
1074 | 4212 | LVM_SETITEMTEXTW |
1075 | 4213 | LVM_GETISEARCHSTRINGW |
1076 | 4214 | LVM_EDITLABELW |
108b | 4235 | LVM_GETBKIMAGEW |
108c | 4236 | LVM_SETSELECTEDCOLUMN |
108d | 4237 | LVM_SETTILEWIDTH |
108e | 4238 | LVM_SETVIEW |
108f | 4239 | LVM_GETVIEW |
1091 | 4241 | LVM_INSERTGROUP |
1093 | 4243 | LVM_SETGROUPINFO |
1095 | 4245 | LVM_GETGROUPINFO |
1096 | 4246 | LVM_REMOVEGROUP |
1097 | 4247 | LVM_MOVEGROUP |
109a | 4250 | LVM_MOVEITEMTOGROUP |
109b | 4251 | LVM_SETGROUPMETRICS |
109c | 4252 | LVM_GETGROUPMETRICS |
109d | 4253 | LVM_ENABLEGROUPVIEW |
109e | 4254 | LVM_SORTGROUPS |
109f | 4255 | LVM_INSERTGROUPSORTED |
10a0 | 4256 | LVM_REMOVEALLGROUPS |
10a1 | 4257 | LVM_HASGROUP |
10a2 | 4258 | LVM_SETTILEVIEWINFO |
10a3 | 4259 | LVM_GETTILEVIEWINFO |
10a4 | 4260 | LVM_SETTILEINFO |
10a5 | 4261 | LVM_GETTILEINFO |
10a6 | 4262 | LVM_SETINSERTMARK |
10a7 | 4263 | LVM_GETINSERTMARK |
10a8 | 4264 | LVM_INSERTMARKHITTEST |
10a9 | 4265 | LVM_GETINSERTMARKRECT |
10aa | 4266 | LVM_SETINSERTMARKCOLOR |
10ab | 4267 | LVM_GETINSERTMARKCOLOR |
10ad | 4269 | LVM_SETINFOTIP |
10ae | 4270 | LVM_GETSELECTEDCOLUMN |
10af | 4271 | LVM_ISGROUPVIEWENABLED |
10b0 | 4272 | LVM_GETOUTLINECOLOR |
10b1 | 4273 | LVM_SETOUTLINECOLOR |
10b3 | 4275 | LVM_CANCELEDITLABEL |
10b4 | 4276 | LVM_MAPINDEXTOID |
10b5 | 4277 | LVM_MAPIDTOINDEX |
10b6 | 4278 | LVM_ISITEMVISIBLE |
2000 | 8192 | OCM__BASE |
2005 | 8197 | LVM_SETUNICODEFORMAT |
2006 | 8198 | LVM_GETUNICODEFORMAT |
2019 | 8217 | OCM_CTLCOLOR |
202b | 8235 | OCM_DRAWITEM |
202c | 8236 | OCM_MEASUREITEM |
202d | 8237 | OCM_DELETEITEM |
202e | 8238 | OCM_VKEYTOITEM |
202f | 8239 | OCM_CHARTOITEM |
2039 | 8249 | OCM_COMPAREITEM |
204e | 8270 | OCM_NOTIFY |
2111 | 8465 | OCM_COMMAND |
2114 | 8468 | OCM_HSCROLL |
2115 | 8469 | OCM_VSCROLL |
2132 | 8498 | OCM_CTLCOLORMSGBOX |
2133 | 8499 | OCM_CTLCOLOREDIT |
2134 | 8500 | OCM_CTLCOLORLISTBOX |
2135 | 8501 | OCM_CTLCOLORBTN |
2136 | 8502 | OCM_CTLCOLORDLG |
2137 | 8503 | OCM_CTLCOLORSCROLLBAR |
2138 | 8504 | OCM_CTLCOLORSTATIC |
2210 | 8720 | OCM_PARENTNOTIFY |
8000 | 32768 | DBT_DEVICEARRIVAL |
8001 | 32769 | DBT_DEVICEQUERYREMOVE |
8002 | 32770 | DBT_DEVICEQUERYREMOVEFAILED |
8003 | 32771 | DBT_DEVICEREMOVEPENDING |
8004 | 32772 | DBT_DEVICEREMOVECOMPLETE |
8005 | 32773 | DBT_DEVICETYPESPECIFIC |
cccd | 52429 | WM_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