C#版本Windows消息定义
C#版本Windows消息定义,花时间整理的,需要的人拿去用。
[csharp]
01. public static class NativeConst
02. {
03. public const int WM_CREATE = 0x0001;
04. public const int WM_DESTROY = 0x0002;
05. public const int WM_MOVE = 0x0003;
06. public const int WM_SIZE = 0x0005;
07. public const int WM_ACTIVATE = 0x0006;
08. public const int WM_SETFOCUS = 0x0007;
09. public const int WM_KILLFOCUS = 0x0008;
10. public const int WM_ENABLE = 0x000A;
11. public const int WM_SETREDRAW = 0x000B;
12. public const int WM_SETTEXT = 0x000C;
13. public const int WM_GETTEXT = 0x000D;
14. public const int WM_GETTEXTLENGTH = 0x000E;
15. public const int WM_PAINT = 0x000F;
16. public const int WM_CLOSE = 0x0010;
17. public const int WM_QUERYENDSESSION = 0x0011;
18. public const int WM_QUIT = 0x0012;
19. public const int WM_QUERYOPEN = 0x0013;
20. public const int WM_ERASEBKGND = 0x0014;
21. public const int WM_SYSCOLORCHANGE = 0x0015;
22. public const int WM_ENDSESSION = 0x0016;
23. public const int WM_SHOWWINDOW = 0x0018;
24. public const int WM_ACTIVATEAPP = 0x001C;
25. public const int WM_FONTCHANGE = 0x001D;
26. public const int WM_TIMECHANGE = 0x001E;
27. public const int WM_CANCELMODE = 0x001F;
28. public const int WM_SETCURSOR = 0x0020;
29. public const int WM_MOUSEACTIVATE = 0x0021;
30. public const int WM_CHILDACTIVATE = 0x0022;
31. public const int WM_QUEUESYNC = 0x0023;
32. public const int WM_GETMINMAXINFO = 0x0024;
33. public const int WM_PAINTICON = 0x0026;
34. public const int WM_ICONERASEBKGND = 0x0027;
35. public const int WM_NEXTDLGCTL = 0x0028;
36. public const int WM_SPOOLERSTATUS = 0x002A;
37. public const int WM_DRAWITEM = 0x002B;
38. public const int WM_MEASUREITEM = 0x002C;
39. public const int WM_VKEYTOITEM = 0x002E;
40. public const int WM_CHARTOITEM = 0x002F;
41. public const int WM_SETFONT = 0x0030;
42. public const int WM_GETFONT = 0x0031;
43. public const int WM_SETHOTKEY = 0x0032;
44. public const int WM_GETHOTKEY = 0x0033;
45. public const int WM_QUERYDRAGICON = 0x0037;
46.
补充:软件开发 , C# ,