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

📄 foxpro.h

📁 MSComm控件资料,Visual Basic 6.0(以下简称VB) 是一种功能强大、简单易学的程序设计语言。它不但保留了原先Basic语言的全部功能
💻 H
📖 第 1 页 / 共 3 页
字号:
************************************************************************************
************************************************************************************
**                                                                                **
** ================                    ===========                                **
**   ==         ===                      ==       ==                              **
**   ==           =                      ==        ==                             **
**   ==                                  ==        ==                             **
**   ==          ===      =====  =====   ==       ==  ===   ====         ===      **
**   =====    ==     ==     ==    ==     =========      == ==   ==    ==     ==   **
**   ==      ==       ==     ==  ==      ==             ===          ==       ==  **
**   ==     ==         ==     ===        ==             ==          ==         == **
**   ==      ==       ==     == ==       ==             ==           ==       ==  **
**   ==       ==     ==     ==   ==      ==             ==            ==     ==   **
** =======       ===      =====  ====  ======         ======             ===      **
**                                                                                **
************************************************************************************
************************************************************************************

************************************************************************************
************************************************************************************
**                                                                                **
** Visual FoxPro Named Constant File                                              **
** This file contains named constants for most Visual FoxPro functions            **
**                                                                                **
************************************************************************************
************************************************************************************

*-- General
*--ZOrder Method
#DEFINE ZORDER_BRINGTOFRONT   0
#DEFINE ZORDER_SENDTOBACK     1

*-- TYPE() tags
#DEFINE T_CHARACTER     "C"
#DEFINE T_NUMERIC       "N"
#DEFINE T_DOUBLE        "B"
#DEFINE T_DATE          "D"
#DEFINE T_DATETIME      "T"
#DEFINE T_MEMO          "M"
#DEFINE T_GENERAL       "G"
#DEFINE T_OBJECT        "O"
#DEFINE T_SCREEN        "S"
#DEFINE T_LOGICAL       "L"
#DEFINE T_CURRENCY      "Y"
#DEFINE T_UNDEFINED     "U"

*-- QueryUnload
#DEFINE FORM_CONTROLMENU      0
#DEFINE FORM_CODE             1
#DEFINE APP_WINDOWS           2
#DEFINE APP_TASKMANAGER       3
#DEFINE FORM_MDIFORM          4

*-- Columns in array returned by AVCXCLASSES()
#DEFINE AVCX_CLASS            1    && OBJNAME field
#DEFINE AVCX_BASECLASS        2    && BASECLASS field
#DEFINE AVCX_PARENTCLASS      3    && CLASS field
#DEFINE AVCX_PARENTCLASSLIB   4    && CLASSLOC field
#DEFINE AVCX_CLASSICON        5    && RESERVED4 field
#DEFINE AVCX_CONTAINERICON    6    && RESERVED5 field
#DEFINE AVCX_SCALEMODE        7    && RESERVED6 field
#DEFINE AVCX_CLASSDESCRIPTION 8    && RESERVED7 field
#DEFINE AVCX_INCLUDEFILE      9    && RESERVED8 field
#DEFINE AVCX_USERINFO         10   && USER field
#DEFINE AVCX_OLEPUBLIC        11   && RESERVED2 field


*-- Active Document
*-- CommandTargetQuery Command Options
#DEFINE CMDF_NOTSUPPORTED            0  && The command is not supported by this object
#DEFINE CMDF_SUPPORTED               1  && The command is supported by this object
#DEFINE CMDF_ENABLED                 2  && The command is available and enabled
#DEFINE CMDF_LATCHED                 4  && The command is an on-off toggle and is currently on
#DEFINE CMDF_NINCHED                 8  && The command state is indeterminate

*-- CommandTargetQuery CommandTextFlag values
#DEFINE CMDTEXTF_NONE                0  && No extra information is requested
#DEFINE CMDTEXTF_NAME                1  && Object should provide the localized name of the command
#DEFINE CMDTEXTF_STATUS              2  && Object should provide a localized status string for the command

*-- CommandTarget Command IDs
#DEFINE CMDID_OPEN                   1  && File menu, Open command
#DEFINE CMDID_NEW                    2  && File menu, New command
#DEFINE CMDID_SAVE                   3  && File menu, Save command
#DEFINE CMDID_SAVEAS                 4  && File menu, Save As command
#DEFINE CMDID_SAVECOPYAS             5  && File menu, Save Copy As command
#DEFINE CMDID_PRINT                  6  && File menu, Print command
#DEFINE CMDID_PRINTPREVIEW           7  && File menu, Print Preview command
#DEFINE CMDID_PAGESETUP              8  && File menu, Page Setup command
#DEFINE CMDID_SPELL                  9  && Tools menu, Spelling command
#DEFINE CMDID_PROPERTIES            10  && File menu, Properties command
#DEFINE CMDID_CUT                   11  && Edit menu, Cut command (from Host)
#DEFINE CMDID_COPY                  12  && Edit menu, Copy command (from Host)
#DEFINE CMDID_PASTE                 13  && Edit menu, Paste command (from Host)
#DEFINE CMDID_PASTESPECIAL          14  && Edit menu, Paste Special command (from Host)
#DEFINE CMDID_UNDO                  15  && Edit menu, Undo command (from Host)
#DEFINE CMDID_REDO                  16  && Edit menu, Redo command (from Host)
#DEFINE CMDID_SELECTALL             17  && Edit menu, Select All command (from Host)
#DEFINE CMDID_CLEARSELECTION        18  && Edit menu, Clear command (from Host)
#DEFINE CMDID_ZOOM                  19  && View menu, Zoom command
#DEFINE CMDID_GETZOOMRANGE          20  && Retrieves zoom range applicable to View Zoom
#DEFINE CMDID_UPDATECOMMANDS        21  && Informs the Active Document of state changes
#DEFINE CMDID_REFRESH               22  && Asks the Active Document to refresh its display
#DEFINE CMDID_STOP                  23  && Asks the Active Document to stop all current processing
#DEFINE CMDID_HIDETOOLBARS          24  && Asks the Active Document to hide its toolbars
#DEFINE CMDID_SETPROGRESSMAX        25  && Sets the maximum value of a progress indicator
#DEFINE CMDID_SETPROGRESSPOS        26  && Sets the current value of a progress indicator
#DEFINE CMDID_SETPROGRESSTEXT       27  && Sets the text contained in a progress indicator
#DEFINE CMDID_SETTITLE              28  && Sets the title bar text
#DEFINE CMDID_SETDOWNLOADSTATE      29  && Sent by host when its download state changes
#DEFINE CMDID_STOPDOWNLOAD          30  && Stops the download when executed
#DEFINE CMDID_ONTOOLBARACTIVATED    31  && One of the container's toolbars has received the focus
#DEFINE CMDID_ENABLE_INTERACTION    36  && Asks the Active Document to either pause or resume multimedia
#DEFINE CMDID_ONUNLOAD              37  && Sent by the Active Document host before navigation to another 
                                        && site is initiated or the host is closed

*-- CommantTargetExec nExecOption parameter
#DEFINE CMDEXECOPT_DODEFAULT         0  && Use the default behavior
#DEFINE CMDEXECOPT_PROMPTUSER        1  && Execute the command after obtaining user input
#DEFINE CMDEXECOPT_DONTPROMPTUSER    2  && Execute the command without prompting the user
#DEFINE CMDEXECOPT_SHOWHELP          3  && Show help for the corresponding command

*-- CommandTargetExec Return Values
#DEFINE CMD_OK                       0  && Command handled okay by the Active Document
#DEFINE CMD_NOTSUPPORTED             1  && Command is not supported by the Active Document
#DEFINE CMD_DISABLED                 2  && Command is disabled for the Active Document
#DEFINE CMD_NOHELP                   3  && No help is available for the command from the Active Document
#DEFINE CMD_CANCELED                 4  && The user canceled the execution of the command


*-- Project Hooks
*-- Build Actions
#DEFINE BUILDACTION_REBUILD          1  && Rebuild Project
#DEFINE BUILDACTION_BUILDAPP         2  && Build APP
#DEFINE BUILDACTION_BUILDEXE         3  && Build EXE
#DEFINE BUILDACTION_BUILDDLL         4  && Build DLL
#DEFINE BUILDACTION_BUILDMTDLL       5  && Build MTDLL

*-- File Object SCCStatus Property
#DEFINE SCCFILE_NOTCONTROLLED        0  && File is not source controlled
#DEFINE SCCFILE_NOTCHECKEDOUT        1  && File is controlled but not checked out to anyone
#DEFINE SCCFILE_CHECKEDOUTCU         2  && File is checked out to the current user only
#DEFINE SCCFILE_CHECKEDOUTOU         3  && File is checked out to someone other than the current user
#DEFINE SCCFILE_MERGECONFLICT        4  && File has a merge conflict
#DEFINE SCCFILE_MERGE                5  && File has been merged without conflict
#DEFINE SCCFILE_CHECKEDOUTMU         6  && File is checked out to multiple users

*-- File Object Type Property
#DEFINE FILETYPE_DATABASE          "d"  && Database (.DBC)
#DEFINE FILETYPE_FREETABLE         "D"  && Free table (.DBF)
#DEFINE FILETYPE_QUERY             "Q"  && Query (.QPR)
#DEFINE FILETYPE_FORM              "K"  && Form (.SCX)
#DEFINE FILETYPE_REPORT            "R"  && Report (.FRX)
#DEFINE FILETYPE_LABEL             "B"  && Label (.LBX)
#DEFINE FILETYPE_CLASSLIB          "V"  && Class Library (.VCX)
#DEFINE FILETYPE_PROGRAM           "P"  && Program (.PRG)
#DEFINE FILETYPE_APILIB            "L"  && API Library (.FLL)
#DEFINE FILETYPE_APPLICATION       "Z"  && Application (.APP)
#DEFINE FILETYPE_MENU              "M"  && Menu (.MNX)
#DEFINE FILETYPE_TEXT              "T"  && Text (.TXT, .H., etc.)
#DEFINE FILETYPE_OTHER             "x"  && Other file types not enumerated above

*-- Server Object Instancing Property
#DEFINE SERVERINSTANCE_SINGLEUSE     1  && Single use server
#DEFINE SERVERINSTANCE_NOTCREATABLE  2  && Instances creatable only inside Visual FoxPro
#DEFINE SERVERINSTANCE_MULTIUSE      3  && Multi-use server


*-- Drag and Drop
*-- OLE Drag and Drop:  Drop Effects
#DEFINE DROPEFFECT_NONE       0
#DEFINE DROPEFFECT_COPY       1
#DEFINE DROPEFFECT_MOVE       2
#DEFINE DROPEFFECT_LINK       4

*-- OLE Drag and Drop:  Drop Modes
#DEFINE DROP_DISABLED         0
#DEFINE DROP_ENABLED          1
#DEFINE DROP_PASSTOCONTAINER  2

*-- OLE Drag and Drop:  OLEDropHasData settings
#DEFINE DROPHASDATA_VFPDETERMINE  -1
#DEFINE DROPHASDATA_NOTUSEFUL      0
#DEFINE DROPHASDATA_USEFUL         1

*-- Clipboard formats (Global)
#DEFINE CF_TEXT               1      && Text
#DEFINE CF_BITMAP             2      && Bitmap
#DEFINE CF_METAFILEPICT       3      && Handle of a metafile picture format
#DEFINE CF_SYLK               4      && Microsoft Symbolic Link format
#DEFINE CF_DIF                5      && Software Arts' Data Interchange Format
#DEFINE CF_TIFF               6      && Tagged-image file format
#DEFINE CF_OEMTEXT            7      && Text format containing characters in the OEM character set
#DEFINE CF_DIB                8      && Device-independent bitmap
#DEFINE CF_PALETTE            9      && Handle of a color palette
#DEFINE CF_PENDATA            10     && Data for the pen extensions to the Microsoft Windows for Pen Computing
#DEFINE CF_RIFF               11     && Represents complex audio data
#DEFINE CF_WAVE               12     && Audio data in one of the standard wave formats
#DEFINE CF_UNICODETEXT        13     && Windows NT only: Unicode text format
#DEFINE CF_ENHMETAFILE        14     && A handle of an enhanced metafile
#DEFINE CF_FILES              15     && A list of files
#DEFINE CF_HDROP              15     && A list of files
#DEFINE CF_LOCALE             16     && A handle to the locale identifier
#DEFINE CF_MAX                17

*-- Other Miscellaneous Clipboard formats
#DEFINE CFSTR_HYPERLINK       "Hyperlink"               && A Hyperlink
#DEFINE CFSTR_BIFF            "Biff"                    && Microsoft Excel version 2.x
#DEFINE CFSTR_BIFF3           "Biff3"                   && Microsoft Excel version 3.0
#DEFINE CFSTR_BIFF4           "Biff4"                   && Microsoft Excel version 4.0
#DEFINE CFSTR_BIFF5           "Biff5"                   && Microsoft Excel version 5.0
#DEFINE CFSTR_BIFF7           "Biff7"                   && Microsoft Excel version 7.0
#DEFINE CFSTR_BIFF8           "Biff8"                   && Microsoft Excel version 8.0
#DEFINE CFSTR_XLTABLE         "XlTable"                 && Microsoft Excel fast table format.
#DEFINE CFSTR_CSV             "CSV"                     && Comma separated values
#DEFINE CFSTR_WK1             "Wk1"                     && Lotus 1-2-3 Release 2.01 and Release 2.2 format
#DEFINE CFSTR_URL             "UniformResourceLocator"  && URL

#DEFINE CFSTR_RTF             "Rich Text Format"
#DEFINE CFSTR_RTFNOOBJS       "Rich Text Format Without Objects"
#DEFINE CFSTR_RETEXTOBJ       "RichEdit Text and Objects"

*-- Clipboard formats (Private to VFP)
#DEFINE CFSTR_OLEVARIANTARRAY "OLE Variant Array"       && VFP array
#DEFINE CFSTR_OLEVARIANT      "OLE Variant"             && Data in variant form
#DEFINE CFSTR_VFPSOURCEOBJECT "VFP Source Object"       && A reference to the VFP source object

*-- DragMode
#DEFINE DRAG_MANUAL           0      && 0 - Manual
#DEFINE DRAG_AUTOMATIC        1      && 1 - Automatic

*-- DragOver
#DEFINE DRAG_ENTER            0
#DEFINE DRAG_LEAVE            1
#DEFINE DRAG_OVER             2

*-- Drag (controls)
#DEFINE DRAG_CANCEL           0
#DEFINE DRAG_BEGIN            1
#DEFINE DRAG_END              2


*-- Properties
*-- Colors
#DEFINE COLOR_WHITE        16777215
#DEFINE COLOR_BLACK               0
#DEFINE COLOR_GRAY         12632256
#DEFINE COLOR_DARK_GRAY     8421504
#DEFINE COLOR_RED               255
#DEFINE COLOR_DARK_BLUE     8388608
#DEFINE COLOR_CYAN         16776960
#DEFINE COLOR_DARK_CYAN     8421376
#DEFINE COLOR_GREEN           65280
#DEFINE COLOR_DARK_GREEN      32768
#DEFINE COLOR_YELLOW          65535
#DEFINE COLOR_DARK_YELLOW     32896
#DEFINE COLOR_BLUE         16711680
#DEFINE COLOR_DARK_RED          128

⌨️ 快捷键说明

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