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

📄 stdconst.bas

📁 很好的C语言查看工具,完全破解版相信大家都知道这个查看工具吧,如果没有可以下载下来
💻 BAS
📖 第 1 页 / 共 5 页
字号:
' CheckBox Control
Global Const vbUnchecked = 0 ' Unchecked 
Global Const vbChecked = 1 ' Checked 
Global Const vbGrayed = 2 ' Grayed 


' ListBox Control
Global Const vbListBoxStandard = 0 ' Standard Windows ListBox appearance 
Global Const vbListBoxCheckBox = 1 ' Listbox entries contain selectable CheckBoxes 
Global Const vbMultiSelectNone = 0 ' No multiple selection 
Global Const vbMultiSelectSimple = 1 ' Simple multiple selection 
Global Const vbMultiSelectExtended = 2 ' Extended multiple selection 


' ScrollBar Control
Global Const vbSBNone = 0 ' None 
Global Const vbHorizontal = 1 ' Horizontal 
Global Const vbVertical = 2 ' Vertical 
Global Const vbBoth = 3 ' Both 


' Shape Control
Global Const vbShapeRectangle = 0 ' Rectangle 
Global Const vbShapeSquare = 1 ' Square 
Global Const vbShapeOval = 2 ' Oval 
Global Const vbShapeCircle = 3 ' Circle 
Global Const vbShapeRoundedRectangle = 4 ' Rounded rectangle 
Global Const vbShapeRoundedSquare = 5 ' Rounded square 


'1 CommonDialog Control Constants


' File Open/Save Dialog Box Flags
Global Const cdlOFNAllowMultiselect = &H200 ' Specifies that the File Namelist box allows multiple selections.
Global Const cdlOFNCreatePrompt = &H2000 ' Specifies that the dialog box prompts the user to create a file that doesn't currently exist. This flag automatically sets the cdlOFNPathMustExist and cdlOFNFileMustExist flags. 
Global Const cdlOFNExplorer = &H80000 ' Use the Explorer-like Open A File dialog box template. Common dialogs that use this flag do not work under Windows NT using the Windows 95 shell. 
Global Const CdlOFNExtensionDifferent = &H400 ' Indicates that the extension of the returned filename is different from the extension specified by the DefaultExt property. This flag isn't set if the DefaultExt property is Null, if the extensions match, or if the file has no extension. This flag value can be checked upon closing the dialog box. 
Global Const cdlOFNFileMustExist = &H1000 ' Specifies that the user can enter only names of existing files in the File Name text box. If this flag is set and the user enters an invalid filename, a warning is displayed. This flag automatically sets the cdlOFNPathMustExist flag. 
Global Const cdlOFNHelpButton = &H10 ' Causes the dialog box to display the Help button. 
Global Const cdlOFNHideReadOnly = &H4 ' Hides the Read Onlycheck box. 
Global Const cdlOFNLongNames = &H200000 ' Use long filenames. 
Global Const cdlOFNNoChangeDir = &H8 ' Forces the dialog box to set the current directory to what it was when the dialog box was opened. 
Global Const CdlOFNNoDereferenceLinks = &H100000 ' Do not dereference shell links (also known as shortcuts). By default, choosing a shell link causes it to be dereferenced by the shell. 
Global Const cdlOFNNoLongNames = &H40000 'Do not use long file names. 
Global Const CdlOFNNoReadOnlyReturn = &H8000  ' Specifies that the returned file won't have the Read Only attribute set and won't be in a write-protected directory. 
Global Const cdlOFNNoValidate = &H100 ' Specifies that the common dialog box allows invalid characters in the returned filename. 
Global Const cdlOFNOverwritePrompt = &H2 ' Causes the Save As dialog box to generate a message box if the selected file already exists. The user must confirm whether to overwrite the file. 
Global Const cdlOFNPathMustExist = &H800 ' Specifies that the user can enter only validpaths. If this flag is set and the user enters an invalid path, a warning message is displayed. 
Global Const cdlOFNReadOnly = &H1 ' Causes the Read Only check box to be initially checked when the dialog box is created. This flag also indicates the state of the Read Only check box when the dialog box is closed. 
Global Const CdlOFNShareAware = &H4000 ' Specifies that sharing violation errors will be ignored. 


' Color Dialog Box Flags
Global Const cdlCCFullOpen = &H2 ' Entire dialog box is displayed, including the Define Custom Colors section 
Global Const cdlCCShowHelp = &H8 ' Causes the dialog box to display a Help button 
Global Const cdlCCPreventFullOpen = &H4 ' Disables the Define Custom Colors command button and prevents the user from defining custom colors 
Global Const cdlCCRGBInit = &H1 ' Sets the initial color value for the dialog box 


' Fonts Dialog Box Flags
Global Const cdlCFANSIOnly = &H400 ' Specifies that the dialog box allows only a selection of the fonts that use the Windows character set. If this flag is set, the user won't be able to select a font that contains only symbols. 
Global Const cdlCFApply = &H200 ' Enables the Apply button on the dialog box. 
Global Const cdlCFBoth = &H3 ' Causes the dialog box to list the available printer and screen fonts. The hDC property identifies thedevice context associated with the printer. 
Global Const cdlCFEffects = &H100 ' Specifies that the dialog box enables strikethrough, underline, and color effects. 
Global Const cdlCFFixedPitchOnly = &H4000 ' Specifies that the dialog box selects only fixed-pitch fonts. 
Global Const cdlCFForceFontExist = &H10000 ' Specifies that an error message box is displayed if the user attempts to select a font or style that doesn't exist. 
Global Const cdlCFHelpButton = &H4 ' Causes the dialog box to display a Help button. 
Global Const cdlCFLimitSize = &H2000 ' Specifies that the dialog box selects only font sizes within the range specified by the Min and Max properties. 
Global Const cdlCFNoFaceSel = &H80000 ' No font name selected. 
Global Const cdlCFNoSimulations = &H1000 ' Specifies that the dialog box doesn't allow graphic device interface (GDI) font simulations. 
Global Const cdlCFNoSizeSel = &H200000 ' No font size selected. 
Global Const cdlCFNoStyleSel = &H100000 ' No style was selected. 
Global Const cdlCFNoVectorFonts = &H800 ' Specifies that the dialog box doesn't allow vector-font selections. 
Global Const cdlCFPrinterFonts = &H2 ' Causes the dialog box to list only the fonts supported by the printer, specified by the hDC property. 
Global Const cdlCFScalableOnly = &H20000 ' Specifies that the dialog box allows only the selection of fonts that can be scaled.  
Global Const cdlCFScreenFonts = &H1 ' Causes the dialog box to list only the screen fonts supported by the system. 
Global Const cdlCFTTOnly = &H40000 ' Specifies that the dialog box allows only the selection of TrueType fonts. 
Global Const cdlCFWYSIWYG = &H8000 ' Specifies that the dialog box allows only the selection of fonts that are available on both the printer and on screen. If this flag is set, the cdlCFBoth and cdlCFScalableOnly flags should also be set. 


' Printer Dialog Box Flags
Global Const cdlPDAllPages = &H0 ' Returns or sets the state of the All Pagesoption button. 
Global Const cdlPDCollate = &H10 ' Returns or sets the state of the Collatecheck box. 
Global Const cdlPDDisablePrintToFile = &H80000 ' Disables the Print To File check box. 
Global Const cdlPDHelpButton = &H800 ' Causes the dialog box to display the Help button. 
Global Const cdlPDHidePrintToFile = &H100000 ' Hides the Print To File check box. 
Global Const cdlPDNoPageNums = &H8 ' Disables the Pages option button and the associated edit control. 
Global Const cdlPDNoSelection = &H4 ' Disables the Selection option button. 
Global Const cdlPDNoWarning = &H80 ' Prevents a warning message from being displayed when there is no default printer. 
Global Const cdlPDPageNums = &H2 ' Returns or sets the state of the Pages option button. 
Global Const cdlPDPrintSetup = &H40 ' Causes the system to display the Print Setup dialog box rather than the Print dialog box. 
Global Const cdlPDPrintToFile = &H20 ' Returns or sets the state of the Print To File check box. 
Global Const cdlPDReturnDC = &H100 ' Returns adevice context for the printer selection made in the dialog box. The device context is returned in the dialog box's hDC property. 
Global Const cdlPDReturnDefault = &H400 ' Returns default printer name. 
Global Const cdlPDReturnIC = &H200 ' Returns an information context for the printer selection made in the dialog box. An information context provides a fast way to get information about the device without creating a device context. The information context is returned in the dialog box's hDC property. 
Global Const cdlPDSelection = &H1 ' Returns or sets the state of the Selection option button. If neither cdlPDPageNums nor cdlPDSelection is specified, the All option button is in the selected state. 
Global Const cdlPDUseDevModeCopies = &H40000 ' If a printer driver doesn't support multiple copies, setting this flag disables the copies edit control. If a driver does support multiple copies, setting this flag indicates that the dialog box stores the requested number of copies in the Copies property. 


' Help Constants
Global Const cdlHelpCommandHelp = &H102 ' Displays Help for a particular command 
Global Const cdlHelpContents = &H3 ' Displays the contents topic in the current Help file 
Global Const cdlHelpContext = &H1 ' Displays Help for a particular topic 
Global Const cdlHelpContextPopup = &H8 ' Displays a topic identified by a context number 
Global Const cdlHelpForceFile = &H9 ' Creates a Help file that displays text in only one font 
Global Const cdlHelpHelpOnHelp = &H4 ' Displays Help for using the Help application itself 
Global Const cdlHelpIndex = &H3 ' Displays the index of the specified Help file 
Global Const cdlHelpKey = &H101 ' Displays Help for a particular keyword 
Global Const cdlHelpPartialKey = &H105 ' Calls the search engine in Windows Help 
Global Const cdlHelpQuit = &H2 ' Notifies the Help application that the specified Help file is no longer in use 
Global Const cdlHelpSetContents = &H5 ' Designates a specific topic as the contents topic 
Global Const cdlHelpSetIndex = &H5 ' Sets the current index for multi-index Help 


' CommonDialog Error Constants
Global Const cdlAlloc = &H7FF0 ' Couldn't allocate memory for FileName or Filter property 
Global Const cdlCancel = &H7FF3 ' Cancel was selected 
Global Const cdlDialogFailure = &H8000 ' The function failed to load the dialog box 
Global Const cdlFindResFailure = &H7FF9 ' The function failed to load a specified resource 
Global Const cdlHelp = &H7FEF ' Call to Windows Help failed 
Global Const cdlInitialization = &H7FFD ' The function failed during initialization 
Global Const cdlLoadResFailure = &H7FF8 ' The function failed to load a specified string 
Global Const cdlLockResFailure = &H7FF7 ' The function failed to lock a specified resource 
Global Const cdlMemAllocFailure = &H7FF6 ' The function was unable to allocate memory for internal data structures 
Global Const cdlMemLockFailure = &H7FF5 ' The function was unable to lock the memory associated with a handle 
Global Const cdlNoFonts = &H5FFE ' No fonts exist 
Global Const cdlBufferTooSmall = &H4FFC ' The buffer at which the member lpstrFile points is too small 
Global Const cdlInvalidFileName = &H4FFD ' Filename is invalid 
Global Const cdlSubclassFailure = &H4FFE ' An attempt to subclass a list box failed due to insufficient memory 
Global Const cdlCreateICFailure = &H6FF5 ' The PrintDlg function failed when it attempted to create an information context 
Global Const cdlDndmMismatch = &H6FF6 ' Data in the DevMode and DevNames data structures describe two different printers 
Global Const cdlGetDevModeFail = &H6FFA ' The printer device driver failed to initialize a DevMode data structure 
Global Const cdlInitFailure = &H6FF9 ' The PrintDlg function failed during initialization 
Global Const cdlLoadDrvFailure = &H6FFB ' The PrintDlg function failed to load the specified printer's device driver 
Global Const cdlLoadStrFailure = &H7FFA ' The function failed to load a specified string. 
Global Const cdlNoDefaultPrn = &H6FF7 ' A default printer doesn't exist 
Global Const cdlNoDevices = &H6FF8 ' No printer device drivers were found 
Global Const cdlParseFailure = &H6FFD ' The CommonDialog function failed to parse the strings in the [devices] section of registry 
Global Const cdlPrinterCodes = &H6FFF ' The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero 
Global Const cdlPrinterNotFound = &H6FF4 ' The [devices] section of the registry doesn't contain an entry for the requested printer 
Global Const cdlRetDefFailure = &H6FFC ' The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero 
Global Const cdlSetupFailure = &H6FFE ' Failed to load required resources 


'1 ADO Data Control Constants


' Appearance Constants
Global Const adFlatBevel = 0 ' Flat bevel 
Global Const ad3Dbevel = 1 ' 3D bevel 


' BOFAction Constants
Global Const adDoMoveFirst = 0 ' Move to the first record 
Global Const adStayBOF = 1 ' Remain at the beginning 


' CommandType Constants
Global Const adCmdText = 1 ' Text 
Global Const adCmdTable = 2 ' Table 
Global Const adCmdStoredProc = 4 ' Stored procedure 
Global Const adCmdUnknown = 8 ' Unknown 


' Mode Constants
Global Const adModeUnknown = 0 ' Unknown 
Global Const adModeRead = 1 ' Read 
Global Const adModeWrite = 2 ' Write 
Global Const adModeReadWrite = 3 ' Read/Write 
Global Const adModeShareDenyRead = 4 ' DenyRead 
Global Const adModeShareDenyWrite = 8 ' DenyWrite 
Global Const adModeShareExclusive = 12 ' Exclusive 
Global Const adModeShareDenyNone = 16 ' DenyNone 


' ConnectionString Constants
Global Const adConnectStringTypeUnknown = 0 ' Unknown. 
Global Const adOLEDB = 1 ' OLEDB connection string. 
Global Const adOLEDBFile = 2 ' Use OLEDB file. 
Global Const adODBC = 3 ' Use ODBC. 


' CursorLocation Constants
Global Const adUseServer = 2 ' Use server cursors 
Global Const adUseClient = 3 ' Use client batch cursors 


' CursorType Constants
Global Const adOpenKeyset = 1 ' Keyset Cursor 
Global Const adOpenDynamic = 2 ' Dynamic Cursor 
Global Const adOpenStatic = 3 ' Static Cursor 


' EOFAction Constants
Global Const adDoMoveLast = 0 ' Move to last record 
Global Const adStayEOF = 1 ' Stay at the EOF 
Global Const adDoAddNew = 2 ' Add a new record 


' EventReason Constants
Global Const adRsnAddNew = 1 ' New record to be added. 
Global Const adRsnDelete = 2 ' Record deleted. 
Global Const adRsnUpdate = 3 ' Record to be updated. 
Global Const adRsnUndoUpdate = 4 ' Undo update. 
Global Const adRsnUndoAddNew = 5 ' Undo add new record. 
Global Const adRsnUndoDelete = 6 ' Undo delete. 
Global Const adRsnRequery = 7 ' Requery 
Global Const adRsnResynch = 8 ' Resynchronize 
Global Const adRsnClose = 9 ' Close 
Global Const adRsnMove = 10 ' Move 


' EventStatus Constants
Global Const adStatusOK = 1 ' OK 
Global Const adStatusErrorsOccurred = 2 ' Errors occurred. 
Global Const adStatusCantDeny = 3 '  
Global Const adStatusCancel = 4 ' Cancel 
Global Const adStatusUnwantedEvent = 5 '  


' LockType Constants
Global Const adLockUnspecified = -1 'Unspecified LockType 
Global Const adLockReadOnly = 1 ' ReadOnly LockType 
Global Const adLockPessimistic = 2 ' Pessimistic LockType 
Global Const adLockOptimistic = 3 ' Optimistic LockType 
Global Const adLockBatchOptimistic = 4 ' BatchOptimistic LockType 


' Orientation Constants
Global Const adHorizontal = 0 ' Horizontal orientation 
Global Const adVertical = 1 ' Vertical orientation 


'1 DataGrid Control Constants


' AddNewMode Constants
Global Const dbgNoAddNew = 0 ' No AddNew 
Global Const dbgAddNewCurrent = 1 ' AddNew current 
Global Const dbgAddNewPending = 2 ' AddNew pending 


⌨️ 快捷键说明

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