⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 apisenums.cs

📁 树形列表控件
💻 CS
📖 第 1 页 / 共 4 页
字号:
			RESTORE      = 0xF120,
			/// <summary>
			/// Activates the Start menu
			/// </summary>
			TASKLIST     = 0xF130,
			/// <summary>
			/// Executes the screen saver application specified in the [boot] section of the System.ini file
			/// </summary>
			SCREENSAVE   = 0xF140,
			/// <summary>
			/// Activates the window associated with the application-specified hot key. The lParam parameter identifies the window to activate
			/// </summary>
			HOTKEY       = 0xF150,
			/// <summary>
			/// Selects the default item; the user double-clicked the window menu
			/// </summary>
			DEFAULT      = 0xF160,
			/// <summary>
			/// Sets the state of the display. This command supports devices that have power-saving features, such as a battery-powered personal computer. 
			/// The lParam parameter can have the following values:
			///     1 - the display is going to low power
			///     2 - the display is being shut off
			/// </summary>
			MONITORPOWER = 0xF170,
			/// <summary>
			/// Changes the cursor to a question mark with a pointer. If the user then clicks a control in the dialog box, the control receives a WM_HELP message
			/// </summary>
			CONTEXTHELP  = 0xF180,
			SEPARATOR    = 0xF00F,
			ICON         = MINIMIZE,
			ZOOM         = MAXIMIZE
		}
		#endregion

		#region GetCommandString informations / GCS
		/// <summary>
		/// GetCommandString informations / GCS
		/// </summary>
		public enum GetCommandStringInformations
		{
			VERB        = 0x00000004,
			HELPTEXT    = 0x00000005,
			VALIDATE    = 0x00000006,
		}
		#endregion
		#region FileOperations / FO
		/// <summary>
		/// File Operations / FO
		/// </summary>
		public enum FileOperations: int
		{
			Move           = 0x0001,
			Copy           = 0x0002,
			Delete         = 0x0003,
			Rename         = 0x0004,
		}
		#endregion
		#region FileOperation Flags / FOF
		/// <summary>
		/// FileOperation Flag / FOF
		/// </summary>
		public enum FileOperationFlags: short
		{
			MULTIDESTFILES         = 0x0001,
			CONFIRMMOUSE           = 0x0002,
			/// <summary>
			/// Don't create progress/report
			/// </summary>
			SILENT                 = 0x0004,
			RENAMEONCOLLISION      = 0x0008,
			/// <summary>
			/// Don't prompt the user.
			/// </summary>
			NOCONFIRMATION         = 0x0010,
			/// <summary>
			/// Fill in SHFILEOPSTRUCT.hNameMappings
			/// </summary>
			WANTMAPPINGHANDLE      = 0x0020,
			ALLOWUNDO              = 0x0040,
			/// <summary>
			/// On *.*, do only files
			/// </summary>
			FILESONLY              = 0x0080,
		}
		#endregion

		#region ListViewMessages / LVM
		/// <summary>
		/// ListView Messages / LVM
		/// </summary>
		public enum ListViewMessages : int
		{
			FIRST				= 0x1000,
			SCROLL				= FIRST + 20,
			GETITEM				= FIRST + 75,
			SETITEM				= FIRST + 76,
			GETITEMTEXTW		= FIRST + 115,
			SETCOLUMNWIDTH		= FIRST + 30,
			LVSCW_AUTOSIZE			= -1,
			LVSCW_AUTOSIZE_USEHEADER= -2,
			SETITEMSTATE		= FIRST + 43,
			INSERTITEMA			= FIRST + 77,
			DELETEITEM			= FIRST + 8,
			GETITEMCOUNT		= FIRST + 4,
			GETCOUNTPERPAGE		= FIRST + 40,
			GETSUBITEMRECT		= FIRST + 56,
			SUBITEMHITTEST		= FIRST + 57,
			GETCOLUMN			= FIRST + 25,
			SETCOLUMN			= FIRST + 26,
			GETCOLUMNORDERARRAY	= FIRST + 59,
			SETCOLUMNORDERARRAY	= FIRST + 58,
			SETEXTENDEDLISTVIEWSTYLE= FIRST + 54,
			GETEXTENDEDLISTVIEWSTYLE= FIRST + 55,
			EDITLABELW			= FIRST + 118,
			GETITEMRECT        = FIRST + 14,
			HITTEST            = FIRST + 18,
			GETEDITCONTROL     = FIRST + 24,
			CANCELEDITLABEL	   = FIRST + 179,
			GETHEADER          = FIRST + 31,
			REDRAWITEMS        = FIRST + 21,
			GETSELECTIONMARK   = FIRST + 66,
			SETSELECTIONMARK   = FIRST + 67,
			ENSUREVISIBLE       = (FIRST + 19),
		}
		#endregion
		#region ListView Notifications / LVN
		/// <summary>
		/// ListView Notifications / LVN
		/// </summary>
		public enum ListViewNotifications
		{
			FIRST               = (0-100),
			LAST                = (0-199),
			ITEMCHANGING        = (FIRST-0),
			ITEMCHANGED         = (FIRST-1),
			INSERTITEM          = (FIRST-2),
			DELETEITEM          = (FIRST-3),
			DELETEALLITEMS      = (FIRST-4),
			BEGINLABELEDITW     = (FIRST-75),
			ENDLABELEDITW       = (FIRST-76),
			COLUMNCLICK         = (FIRST-8),
			BEGINDRAG           = (FIRST-9),
			BEGINRDRAG          = (FIRST-11),
			ODCACHEHINT         = (FIRST-13),
			ODFINDITEMA         = (FIRST-52),
			ODFINDITEMW         = (FIRST-79),
			ITEMACTIVATE        = (FIRST-14),
			ODSTATECHANGED      = (FIRST-15),
			ODFINDITEM          = ODFINDITEMW,
			HOTTRACK            = (FIRST-21),
			GETDISPINFOA        = (FIRST-50),
			GETDISPINFOW        = (FIRST-77),
			SETDISPINFOA        = (FIRST-51),
			MARQUEEBEGIN        = (FIRST-56),
			SETDISPINFOW        = (FIRST-78),
			BEGINLABELEDIT      = BEGINLABELEDITW,
			ENDLABELEDIT        = ENDLABELEDITW,
			GETDISPINFO         = GETDISPINFOW,
			SETDISPINFO         = SETDISPINFOW,
			BEGINSCROLL         = (FIRST-80),
			ENDSCROLL           = (FIRST-81),
		}
		#endregion
		#region ListViewItem Flags / LVIF
		/// <summary>
		/// ListViewItem Flags / LVIF
		/// </summary>
		public enum ListViewItemFlags : int
		{
			TEXT               = 0x0001,
			IMAGE              = 0x0002,
			PARAM              = 0x0004,
			STATE              = 0x0008,
			INDENT             = 0x0010,
			NORECOMPUTE        = 0x0800,
			GROUPID            = 0x0100,
			COLUMNS            = 0x0200,
		}
		#endregion
		#region ListViewItem States / LVIS
		/// <summary>
		/// ListViewItemState / LVIS
		/// </summary>
		public enum ListViewItemStates : int
		{
			FOCUSED            = 0x0001,
			SELECTED           = 0x0002,
			CUT                = 0x0004,
			DROPHILITED        = 0x0008,
			GLOW               = 0x0010,
			ACTIVATING         = 0x0020,
			OVERLAYMASK        = 0x0F00,
			STATEIMAGEMASK     = 0xF000,
		}
		#endregion
		#region ListView Extended Styles / LVS_EX
		public enum ListViewExtendedStyles
		{
			GRIDLINES        =0x00000001,
			SUBITEMIMAGES    =0x00000002,
			CHECKBOXES       =0x00000004,
			TRACKSELECT      =0x00000008,
			HEADERDRAGDROP   =0x00000010,
			FULLROWSELECT    =0x00000020, 
			ONECLICKACTIVATE =0x00000040,
			TWOCLICKACTIVATE =0x00000080,
			FLATSB           =0x00000100,
			REGIONAL         =0x00000200,
			INFOTIP          =0x00000400,
			UNDERLINEHOT     =0x00000800,
			UNDERLINECOLD    =0x00001000,
			MULTIWORKAREAS   =0x00002000,
			LABELTIP         =0x00004000,
			BORDERSELECT     =0x00008000, 
			DOUBLEBUFFER     =0x00010000,
			HIDELABELS       =0x00020000,
			SINGLEROW        =0x00040000,
			SNAPTOGRID       =0x00080000,  
			SIMPLESELECT     =0x00100000  
		}
		#endregion
		#region List View sub item portion / LVIR
		/// <summary>
		/// List View sub item portion / LVIR
		/// </summary>
		public enum ListViewSubItemPortion
		{
			BOUNDS = 0,
			ICON   = 1,
			LABEL  = 2
		}
		#endregion
		#region ListView HitTest Flags / LVHT
		/// <summary>
		/// ListView HitTest Flags / LVHT
		/// </summary>
		public enum ListViewHitTestFlags
		{
			NOWHERE           = 0x0001,
			ONITEMICON        = 0x0002,
			ONITEMLABEL       = 0x0004,
			ONITEMSTATEICON   = 0x0008,
			ONITEM            = ONITEMICON | ONITEMLABEL | ONITEMSTATEICON,
			ABOVE             = 0x0008,
			BELOW             = 0x0010,
			TORIGHT           = 0x0020,
			TOLEFT            = 0x0040,
		}
		#endregion
		#region Reflected Messages / OCM
		/// <summary>
		/// Reflected Messages / OCM
		/// </summary>
		public enum ReflectedMessages
		{
			_BASE           = (WindowMessages.USER+0x1c00),
			COMMAND         = (_BASE + WindowMessages.COMMAND),
			CTLCOLORBTN     = (_BASE + WindowMessages.CTLCOLORBTN),
			CTLCOLOREDIT    = (_BASE + WindowMessages.CTLCOLOREDIT),
			CTLCOLORDLG     = (_BASE + WindowMessages.CTLCOLORDLG),
			CTLCOLORLISTBOX = (_BASE + WindowMessages.CTLCOLORLISTBOX),
			CTLCOLORMSGBOX  = (_BASE + WindowMessages.CTLCOLORMSGBOX),
			CTLCOLORSCROLLBAR  = (_BASE + WindowMessages.CTLCOLORSCROLLBAR),
			CTLCOLORSTATIC  = (_BASE + WindowMessages.CTLCOLORSTATIC),
			CTLCOLOR        = (_BASE + WindowMessages.CTLCOLOR),
			DRAWITEM        = (_BASE + WindowMessages.DRAWITEM),
			MEASUREITEM     = (_BASE + WindowMessages.MEASUREITEM),
			DELETEITEM      = (_BASE + WindowMessages.DELETEITEM),
			VKEYTOITEM      = (_BASE + WindowMessages.VKEYTOITEM),
			CHARTOITEM      = (_BASE + WindowMessages.CHARTOITEM),
			COMPAREITEM     = (_BASE + WindowMessages.COMPAREITEM),
			HSCROLL         = (_BASE + WindowMessages.HSCROLL),
			VSCROLL         = (_BASE + WindowMessages.VSCROLL),
			PARENTNOTIFY    = (_BASE + WindowMessages.PARENTNOTIFY),
			NOTIFY           = (_BASE + WindowMessages.NOTIFY),
		}
		#endregion

		#region HeaderItem flags / HDI
		/// <summary>
		/// HeaderItem flags / HDI
		/// </summary>
		public enum HeaderItemFlags
		{
			WIDTH               = 0x0001,
			HEIGHT              = WIDTH,
			TEXT                = 0x0002,
			FORMAT              = 0x0004,
			LPARAM              = 0x0008,
			BITMAP              = 0x0010,
			IMAGE               = 0x0020,
			DI_SETITEM          = 0x0040,
			ORDER               = 0x0080
		}
		#endregion
		#region Header Control Messages / HDM
		/// <summary>
		/// Header Control Messages / HDM
		/// </summary>
		public enum HeaderControlMessages : int
		{
			FIRST        =  0x1200,
			GETITEMRECT  = (FIRST + 7),
			HITTEST      = (FIRST + 6),
			SETIMAGELIST = (FIRST + 8),
			GETITEMW     = (FIRST + 11),
			ORDERTOINDEX = (FIRST + 15),
			SETITEM      = (FIRST + 12),
			SETORDERARRAY= (FIRST + 18),
		}
		#endregion
		#region Header Control Notifications / HDN
		/// <summary>
		/// Header Control Notifications / HDN
		/// </summary>
		public enum HeaderControlNotifications
		{
			FIRST              = (0-300),
			ITEMCHANGING       = (FIRST-20),
			ITEMCHANGED        = (FIRST-21),
			ITEMCLICK          = (FIRST-22),
			ITEMDBLCLICK       = (FIRST-23),
			DIVIDERDBLCLICK    = (FIRST-25),
			BEGINTRACK         = (FIRST-26),
			ENDTRACK           = (FIRST-27),
			TRACK              = (FIRST-28),
			GETDISPINFO        = (FIRST-29),
			BEGINDRAG          = (FIRST-10),
			ENDDRAG            = (FIRST-11),
			FILTERCHANGE       = (FIRST-12),
			FILTERBTNCLICK     = (FIRST-13),
		}
		#endregion
		#region Header Control HitTest Flags / HHT
		/// <summary>
		/// Header Control HitTest Flags / HHT
		/// </summary>
		public enum HeaderControlHitTestFlags : uint
		{
			NOWHERE             = 0x0001,
			ONHEADER            = 0x0002,
			ONDIVIDER           = 0x0004,
			ONDIVOPEN           = 0x0008,
			ABOVE               = 0x0100,
			BELOW               = 0x0200,
			TORIGHT             = 0x0400,
			TOLEFT              = 0x0800
		}
		#endregion

		#region Custom Draw Return Flags / CDRF
		/// <summary>
		/// Custom Draw Return Flags / CDRF
		/// </summary>
		public enum CustomDrawReturnFlags
		{
			DODEFAULT          = 0x00000000,
			NEWFONT            = 0x00000002,
			SKIPDEFAULT        = 0x00000004,
			NOTIFYPOSTPAINT    = 0x00000010,
			NOTIFYITEMDRAW     = 0x00000020,
			NOTIFYSUBITEMDRAW  = 0x00000020, 
			NOTIFYPOSTERASE    = 0x00000040
		}
		#endregion
		#region Custom Draw Item State Flags / CDIS
		/// <summary>
		/// CustomDrawItemStateFlags / CDIS
		/// </summary>
		public enum CustomDrawItemStateFlags : uint 
		{
			SELECTED       = 0x0001,
			GRAYED         = 0x0002,
			DISABLED       = 0x0004,
			CHECKED        = 0x0008,
			FOCUS          = 0x0010,
			DEFAULT        = 0x0020,
			HOT            = 0x0040,
			MARKED         = 0x0080,
			INDETERMINATE  = 0x0100
		}
		#endregion
		#region Custom Draw Draw State Flags / CDDS
		/// <summary>
		/// CustomDrawDrawStateFlags / CDDS
		/// </summary>
		public enum CustomDrawDrawStateFlags
		{
			PREPAINT           = 0x00000001,
			POSTPAINT          = 0x00000002,
			PREERASE           = 0x00000003,
			POSTERASE          = 0x00000004,
			ITEM               = 0x00010000,
			ITEMPREPAINT       = (ITEM | PREPAINT),
			ITEMPOSTPAINT      = (ITEM | POSTPAINT),
			ITEMPREERASE       = (ITEM | PREERASE),
			ITEMPOSTERASE      = (ITEM | POSTERASE),
			SUBITEM            = 0x00020000
		}
		#endregion

		#region PatBlt Types
		/// <summary>
		/// PatBlt Types
		/// </summary>
		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 Background Mode
		/// <summary>
		/// Background Mode
		/// </summary>
		public enum BackgroundMode
		{
			TRANSPARENT = 1,
			OPAQUE = 2
		}
		#endregion
		#region StrechModeFlags

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -