OBJID.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. namespace Microsoft.Win32
  2. {
  3. //OBJID定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// 窗口
  8. /// </summary>
  9. public const int OBJID_WINDOW = 0x00000000;
  10. /// <summary>
  11. /// 系统菜单
  12. /// </summary>
  13. public const int OBJID_SYSMENU = unchecked((int)0xFFFFFFFF);
  14. /// <summary>
  15. /// 标题栏
  16. /// </summary>
  17. public const int OBJID_TITLEBAR = unchecked((int)0xFFFFFFFE);
  18. /// <summary>
  19. /// 菜单
  20. /// </summary>
  21. public const int OBJID_MENU = unchecked((int)0xFFFFFFFD);
  22. /// <summary>
  23. /// 客户区
  24. /// </summary>
  25. public const int OBJID_CLIENT = unchecked((int)0xFFFFFFFC);
  26. /// <summary>
  27. /// 垂直滚动条
  28. /// </summary>
  29. public const int OBJID_VSCROLL = unchecked((int)0xFFFFFFFB);
  30. /// <summary>
  31. /// 水平滚动条
  32. /// </summary>
  33. public const int OBJID_HSCROLL = unchecked((int)0xFFFFFFFA);
  34. /// <summary>
  35. /// 调整大小手柄
  36. /// </summary>
  37. public const int OBJID_SIZEGRIP = unchecked((int)0xFFFFFFF9);
  38. /// <summary>
  39. ///
  40. /// </summary>
  41. public const int OBJID_CARET = unchecked((int)0xFFFFFFF8);
  42. /// <summary>
  43. /// 光标
  44. /// </summary>
  45. public const int OBJID_CURSOR = unchecked((int)0xFFFFFFF7);
  46. /// <summary>
  47. /// 警告
  48. /// </summary>
  49. public const int OBJID_ALERT = unchecked((int)0xFFFFFFF6);
  50. /// <summary>
  51. /// 声音
  52. /// </summary>
  53. public const int OBJID_SOUND = unchecked((int)0xFFFFFFF5);
  54. /// <summary>
  55. /// 查询类名
  56. /// </summary>
  57. public const int OBJID_QUERYCLASSNAMEIDX = unchecked((int)0xFFFFFFF4);
  58. /// <summary>
  59. ///
  60. /// </summary>
  61. public const int OBJID_NATIVEOM = unchecked((int)0xFFFFFFF0);
  62. }
  63. }