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

📄 apisenums.cs

📁 树形列表控件
💻 CS
📖 第 1 页 / 共 4 页
字号:
			BYCOMMAND =     0x00000000,
			BYPOSITION =    0x00000400,
			SEPARATOR =     0x00000800,
			ENABLED =       0x00000000,
			GRAYED =        0x00000001,
			DISABLED =      0x00000002,
			UNCHECKED =     0x00000000,
			CHECKED =       0x00000008,
			USECHECKBITMAPS=0x00000200,
			STRING =        0x00000000,
			BITMAP =        0x00000004,
			OWNERDRAW =     0x00000100,
			POPUP =         0x00000010,
			MENUBARBREAK =  0x00000020,
			MENUBREAK =     0x00000040,
			UNHILITE =      0x00000000,
			HILITE =        0x00000080,
			DEFAULT =       0x00001000,
			SYSMENU =       0x00002000,
			HELP =          0x00004000,
			RIGHTJUSTIFY =  0x00004000,
			MOUSESELECT =   0x00008000
		}
		#endregion
		#region MenuItem States / MFS
		/// <summary>
		/// MenuItem States / MFS
		/// </summary>
		public	enum MenuItemStates : uint
		{
			GRAYED =        0x00000003,
			DISABLED =      GRAYED,
			CHECKED =       MenuItemFlags.CHECKED,
			HILITE =        MenuItemFlags.HILITE,
			ENABLED =       MenuItemFlags.ENABLED,
			UNCHECKED =     MenuItemFlags.UNCHECKED,
			UNHILITE =      MenuItemFlags.UNHILITE,
			DEFAULT =       MenuItemFlags.DEFAULT,
			MASK =          0x0000108B,
			HOTTRACKDRAWN = 0x10000000,
			CACHEDBMP =     0x20000000,
			BOTTOMGAPDROP = 0x40000000,
			TOPGAPDROP =    0x80000000,
			GAPDROP =       0xC0000000
		}
		#endregion
		#region Query ContextMenu Flags / CMF
		/// <summary>
		/// QueryContextMenuFlags / CMF
		/// </summary>
		public enum QueryContextMenuFlags: uint
		{
			NORMAL		= 0x00000000,
			DEFAULTONLY	= 0x00000001,
			VERBSONLY	= 0x00000002,
			EXPLORE		= 0x00000004,
			NOVERBS		= 0x00000008,
			CANRENAME	= 0x00000010,
			NODEFAULT	= 0x00000020,
			INCLUDESTATIC= 0x00000040,
			RESERVED	= 0xffff0000      // View specific
		}
		#endregion
		#region Track PopupMenu Flags / TPM
		/// <summary>
		/// TrackPopupMenuFlags / TPM
		/// </summary>
		public enum TrackPopupMenuFlags :uint
		{
			LEFTBUTTON     = 0x0000,
			RIGHTBUTTON    = 0x0002,
			LEFTALIGN      = 0x0000,
			CENTERALIGN    = 0x0004,
			RIGHTALIGN     = 0x0008,
			TOPALIGN       = 0x0000,
			VCENTERALIGN   = 0x0010,
			BOTTOMALIGN    = 0x0020,
			HORIZONTAL     = 0x0000,
			VERTICAL       = 0x0040,
			NONOTIFY       = 0x0080,     /* Don't send any notification msgs */
			RETURNCMD      = 0x0100,
			RECURSE        = 0x0001,
			HORPOSANIMATION = 0x0400,
			HORNEGANIMATION = 0x0800,
			VERPOSANIMATION = 0x1000,
			VERNEGANIMATION = 0x2000,
			NOANIMATION     = 0x4000,
			LAYOUTRTL       = 0x8000,
		}
		#endregion
		#region MenuItem Types / MFT
		/// <summary>
		/// MenuItemTypes / MFT
		/// </summary>
		public enum MenuItemTypes :long
		{
			STRING          = 0x00000000L,
			BITMAP          = 0x00000004L,
			MENUBARBREAK    = 0x00000020L,
			MENUBREAK       = 0x00000040L,
			OWNERDRAW       = 0x00000100L,
			RADIOCHECK      = 0x00000200L,
			SEPARATOR       = 0x00000800L,
			RIGHTORDER      = 0x00002000L,
			RIGHTJUSTIFY    = 0x00004000L,
		}
		#endregion

		#region Clipboard Formats / CLIPFORMAT
		/// <summary>
		/// ClipboardFormats / CLIPFORMAT
		/// </summary>
		public	enum ClipboardFormats : uint
		{
			TEXT =		1,
			BITMAP =		2,
			METAFILEPICT= 3,
			SYLK =		4,
			DIF =		5,
			TIFF =		6,
			OEMTEXT =	7,
			DIB =		8,
			PALETTE =	9,
			PENDATA =	10,
			RIFF =		11,
			WAVE =		12,
			UNICODETEXT= 13,
			ENHMETAFILE= 14,
			HDROP =		15,
			LOCALE =		16,
			MAX =		17,

			OWNERDISPLAY=0x0080,
			DSPTEXT =	0x0081,
			DSPBITMAP =	0x0082,
			DSPMETAFILEPICT= 0x0083,
			DSPENHMETAFILE = 0x008E,

			PRIVATEFIRST=0x0200,
			PRIVATELAST=	0x02FF,

			GDIOBJFIRST =0x0300,
			GDIOBJLAST =	0x03FF
		}
		#endregion
		#region Target Devices / DVASPECT
		/// <summary>
		/// TargetDevices / DVASPECT
		/// </summary>
		public	enum TargetDevices: uint
		{
			CONTENT = 1,
			THUMBNAIL = 2,
			ICON = 4,
			DOCPRINT = 8
		}
		#endregion
		#region Storage Medium Types / TYMED
		/// <summary>
		/// StorageMediumTypes / TYMED
		/// </summary>
		public	enum StorageMediumTypes: uint
		{
			HGLOBAL = 1,
			FILE =	2,
			ISTREAM = 4,
			ISTORAGE= 8,
			GDI =		16,
			MFPICT =	32,
			ENHMF	=	64,
			NULL=		0
		}
		#endregion

		#region Shell Special Folders / CSIDL
		/// <summary>
		/// ShellSpecialFolders / CSIDL
		/// </summary>
		[Flags()]
			public enum ShellSpecialFolders
		{
			DESKTOP                   = 0x0000,		 // <desktop>
			INTERNET                  = 0x0001,
			PROGRAMS                  = 0x0002,        // Start Menu\Programs
			CONTROLS                  = 0x0003,        // My Computer\Control Panel
			PRINTERS                  = 0x0004,        // My Computer\Printers
			PERSONAL                  = 0x0005,        // My Documents
			FAVORITES                 = 0x0006,        // <user name>\Favorites
			STARTUP                   = 0x0007,        // Start Menu\Programs\Startup
			RECENT                    = 0x0008,        // <user name>\Recent
			SENDTO                    = 0x0009,        // <user name>\SendTo
			BITBUCKET                 = 0x000a,        // <desktop>\Recycle Bin
			STARTMENU                 = 0x000b,        // <user name>\Start Menu
			MYDOCUMENTS               = 0x000c,        // logical "My Documents" desktop icon
			MYMUSIC                   = 0x000d,        // "My Music" folder
			MYVIDEO                   = 0x000e,        // "My Videos" folder
			DESKTOPDIRECTORY          = 0x0010,        // <user name>\Desktop
			DRIVES                    = 0x0011,        // My Computer
			NETWORK                   = 0x0012,        // Network Neighborhood (My Network Places)
			NETHOOD                   = 0x0013,        // <user name>\nethood
			FONTS                     = 0x0014,        // windows\fonts
			TEMPLATES                 = 0x0015,
			COMMON_STARTMENU          = 0x0016,        // All Users\Start Menu
			COMMON_PROGRAMS           = 0X0017,        // All Users\Start Menu\Programs
			COMMON_STARTUP            = 0x0018,        // All Users\Startup
			COMMON_DESKTOPDIRECTORY   = 0x0019,        // All Users\Desktop
			APPDATA                   = 0x001a,        // <user name>\Application Data
			PRINTHOOD                 = 0x001b,        // <user name>\PrintHood
			LOCAL_APPDATA             = 0x001c,        // <user name>\Local Settings\Applicaiton Data (non roaming)
			ALTSTARTUP                = 0x001d,        // non localized startup
			COMMON_ALTSTARTUP         = 0x001e,        // non localized common startup
			COMMON_FAVORITES          = 0x001f,
			INTERNET_CACHE            = 0x0020,
			COOKIES                   = 0x0021,
			HISTORY                   = 0x0022,
			COMMON_APPDATA            = 0x0023,        // All Users\Application Data
			WINDOWS                   = 0x0024,        // GetWindowsDirectory()
			SYSTEM                    = 0x0025,        // GetSystemDirectory()
			PROGRAM_FILES             = 0x0026,        // C:\Program Files
			MYPICTURES                = 0x0027,        // C:\Program Files\My Pictures
			PROFILE                   = 0x0028,        // USERPROFILE
			SYSTEMX86                 = 0x0029,        // x86 system directory on RISC
			PROGRAM_FILESX86          = 0x002a,        // x86 C:\Program Files on RISC
			PROGRAM_FILES_COMMON      = 0x002b,        // C:\Program Files\Common
			PROGRAM_FILES_COMMONX86   = 0x002c,        // x86 Program Files\Common on RISC
			COMMON_TEMPLATES          = 0x002d,        // All Users\Templates
			COMMON_DOCUMENTS          = 0x002e,        // All Users\Documents
			COMMON_ADMINTOOLS         = 0x002f,        // All Users\Start Menu\Programs\Administrative Tools
			ADMINTOOLS                = 0x0030,        // <user name>\Start Menu\Programs\Administrative Tools
			CONNECTIONS               = 0x0031,        // Network and Dial-up Connections
			COMMON_MUSIC              = 0x0035,        // All Users\My Music
			COMMON_PICTURES           = 0x0036,        // All Users\My Pictures
			COMMON_VIDEO              = 0x0037,        // All Users\My Video
			RESOURCES                 = 0x0038,        // Resource Direcotry
			RESOURCES_LOCALIZED       = 0x0039,        // Localized Resource Direcotry
			COMMON_OLINKS          = 0x003a,        // Links to All Users OEM specific apps
			CDBURN_AREA               = 0x003b,        // USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning
			COMPUTERSNEARME           = 0x003d,        // Computers Near Me (computered from Workgroup membership)
			FLAG_CREATE               = 0x8000,        // combine with  value to force folder creation in SHGetFolderPath()
			FLAG_DONT_VERIFY          = 0x4000,        // combine with  value to return an unverified folder path
			FLAG_NO_ALIAS             = 0x1000,        // combine with  value to insure non-alias versions of the pidl
			FLAG_PER_USER_INIT        = 0x0800,        // combine with  value to indicate per-user init (eg. upgrade)
			FLAG_MASK                 = 0xFF00,        // mask for all possible flag values
		}
		#endregion
		#region Shell Folder GetaFromIDList / SHGDFIL
		/// <summary>
		/// ShellFolderGetaFromIDList / SHGDFIL
		/// </summary>
		[Flags()]
			public enum ShellFolderGetaFromIDList :int
		{
			FINDDATA = 1,
			NETRESOURCE = 2,
			DESCRIPTIONID = 3
		}
		#endregion
		#region Shell Folder EnumObjects Types / SHCONTF
		/// <summary>
		/// ShellFolderEnumObjectsTypes / SHCONTF
		/// </summary>
		[Flags()]
			public enum ShellFolderEnumObjectsTypes
		{
			FOLDERS = 0x20,
			NONFOLDERS = 0x40,
			INCLUDEHIDDEN = 0x80,
			INIT_ON_FIRST_NEXT = 0x100,
			NETPRINTERSRCH = 0x200,
			SHAREABLE = 0x400,
			STORAGE = 0x800
		}
		#endregion
		#region Shell Folder Attributes / SFGAOF
		/// <summary>
		/// ShellFolderAttributes / SFGAOF
		/// </summary>
		[Flags()]
			public enum ShellFolderAttributes
		{
			CANCOPY = 0x1,
			CANMOVE = 0x2,
			CANLINK = 0x4,
			STORAGE = 0x8,
			CANRENAME = 0x10,
			CANDELETE = 0x20,
			HASPROPSHEET = 0x40,
			DROPTARGET = 0x100,
			CAPABILITYMASK = 0x177,
			ENCRYPTED = 0x2000,
			ISSLOW = 0x4000,
			GHOSTED = 0x8000,
			LINK = 0x10000,
			SHARE = 0x20000,
			READONLY = 0x40000,
			HIDDEN = 0x80000,
			DISPLAYATTRMASK = 0xFC000,
			FILESYSANCESTOR = 0x10000000,
			FOLDER = 0x20000000,
			FILESYSTEM = 0x40000000,
			HASSUBFOLDER = unchecked( (int) 0x80000000 ),
			CONTENTSMASK = unchecked( (int) 0x80000000 ),
			VALIDATE = 0x1000000,
			REMOVABLE = 0x2000000,
			COMPRESSED = 0x4000000,
			BROWSABLE = 0x8000000,
			NONENUMERATED = 0x100000,
			NEWCONTENT = 0x200000,
			CANMONIKER = 0x400000,
			HASSTORAGE = 0x400000,
			STREAM = 0x400000,
			STORAGEANCESTOR = 0x800000,
			STORAGECAPMASK = 0x70C50008
		}
		#endregion
		#region Shell Folder Display Names / SHGNO
		/// <summary>
		/// ShellFolderDisplayNames / SHGNO
		/// </summary>
		[Flags()]
			public enum ShellFolderDisplayNames
		{  
			NORMAL = 0x0,
			INFOLDER = 0x1,
			FOREDITING = 0x1000,
			FORADDRESSBAR = 0x4000, 
			FORPARSING = 0x8000,
		}
		#endregion
		#region Shell Execute Flags / SEE
		/// <summary>
		/// Shell Execute Flags / SEE
		/// </summary>
		public enum ShellExecuteFlags
		{
			CLASSNAME        = 0x00000001,
			CLASSKEY         = 0x00000003,
			IDLIST           = 0x00000004,
			INVOKEIDLIST     = 0x0000000c,
			ICON             = 0x00000010,
			HOTKEY           = 0x00000020,
			NOCLOSEPROCESS   = 0x00000040,
			CONNECTNETDRV    = 0x00000080,
			FLAG_DDEWAIT     = 0x00000100,
			DOENVSUBST       = 0x00000200,
			FLAG_NO_UI       = 0x00000400,
			UNICODE          = 0x00004000,
			NO_CONSOLE       = 0x00008000,
			ASYNCOK          = 0x00100000,
			HMONITOR         = 0x00200000,
			NOQUERYCLASSSTORE= 0x01000000,
			WAITFORINPUTIDLE = 0x02000000,
			FLAG_LOG_USAGE   = 0x04000000,
		}
		#endregion
		#region Shell Get File Information Flags / SHGFI
		/// <summary>
		/// Shell Get File Information Flags / SHGFI
		/// </summary>
		public enum ShellGetFileInformationFlags
		{
			SmallIcon   = 0x00000001,
			OpenIcon   = 0x00000002,
			LargeIcon   = 0x00000000,
			Icon    = 0x00000100,
			DisplayName   = 0x00000200,
			Typename   = 0x00000400,
			SysIconIndex = 0x00004000,
			LinkOverlay = 0x00008000,
			UseFileAttributes = 0x00000010
		}
		#endregion

		#region Form HitTest
		public enum FormHitTest : int
		{
			MinButton = 8,
			MaxButton = 9,
			CloseButton = 20
		}
		#endregion
		#region System Commands / SC
		/// <summary>
		/// System Commands / SC
		/// </summary>
		public enum SystemCommands
		{
			/// <summary>
			/// Sizes the window
			/// </summary>
			SIZE         = 0xF000,
			/// <summary>
			/// Moves the window
			/// </summary>
			MOVE         = 0xF010,
			/// <summary>
			/// Minimizes the window
			/// </summary>
			MINIMIZE     = 0xF020,
			/// <summary>
			/// Maximizes the window
			/// </summary>
			MAXIMIZE     = 0xF030,
			/// <summary>
			/// Moves to the next window
			/// </summary>
			NEXTWINDOW   = 0xF040,
			/// <summary>
			/// Moves to the previous window
			/// </summary>
			PREVWINDOW   = 0xF050,
			/// <summary>
			/// Closes the window
			/// </summary>
			CLOSE        = 0xF060,
			/// <summary>
			/// Scrolls vertically
			/// </summary>
			VSCROLL      = 0xF070,
			/// <summary>
			/// Scrolls horizontally
			/// </summary>
			HSCROLL      = 0xF080,
			/// <summary>
			/// Retrieves the window menu as a result of a mouse click
			/// </summary>
			MOUSEMENU    = 0xF090,
			/// <summary>
			/// Retrieves the window menu as a result of a keystroke
			/// </summary>
			KEYMENU      = 0xF100,
			ARRANGE      = 0xF110,
			/// <summary>
			/// Restores the window to its normal position and size
			/// </summary>

⌨️ 快捷键说明

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