namespace Microsoft.Win32 { //OBJID定义 public static partial class NativeMethods { /// /// 窗口 /// public const int OBJID_WINDOW = 0x00000000; /// /// 系统菜单 /// public const int OBJID_SYSMENU = unchecked((int)0xFFFFFFFF); /// /// 标题栏 /// public const int OBJID_TITLEBAR = unchecked((int)0xFFFFFFFE); /// /// 菜单 /// public const int OBJID_MENU = unchecked((int)0xFFFFFFFD); /// /// 客户区 /// public const int OBJID_CLIENT = unchecked((int)0xFFFFFFFC); /// /// 垂直滚动条 /// public const int OBJID_VSCROLL = unchecked((int)0xFFFFFFFB); /// /// 水平滚动条 /// public const int OBJID_HSCROLL = unchecked((int)0xFFFFFFFA); /// /// 调整大小手柄 /// public const int OBJID_SIZEGRIP = unchecked((int)0xFFFFFFF9); /// /// /// public const int OBJID_CARET = unchecked((int)0xFFFFFFF8); /// /// 光标 /// public const int OBJID_CURSOR = unchecked((int)0xFFFFFFF7); /// /// 警告 /// public const int OBJID_ALERT = unchecked((int)0xFFFFFFF6); /// /// 声音 /// public const int OBJID_SOUND = unchecked((int)0xFFFFFFF5); /// /// 查询类名 /// public const int OBJID_QUERYCLASSNAMEIDX = unchecked((int)0xFFFFFFF4); /// /// /// public const int OBJID_NATIVEOM = unchecked((int)0xFFFFFFF0); } }