📄 foxpro.h
字号:
*-- Low Level File Constants
#DEFINE F_READONLY 0
#DEFINE F_WRITEONLY 1
#DEFINE F_READWRITE 2
#DEFINE F_READONLY_UNBUFF 10
#DEFINE F_WRITEONLY_UNBUFF 11
#DEFINE F_READWRITE_UNBUFF 12
*-- PRTINFO() Constants
*-- PRTINFO() Valid types to pass
#DEFINE PRT_ORIENTATION 1
#DEFINE PRT_PAPERSIZE 2
#DEFINE PRT_PAPERLENGTH 3
#DEFINE PRT_PAPERWIDTH 4
#DEFINE PRT_SCALE 5
#DEFINE PRT_COPIES 6
#DEFINE PRT_DEFASOURCE 7
#DEFINE PRT_PRINTQUAL 8
#DEFINE PRT_COLOR 9
#DEFINE PRT_DUPLEX 10
#DEFINE PRT_YRESOLUTION 11
#DEFINE PRT_TTOPTION 12
*--PRTINFO() Return types
*-- Paper sizes
#define PRTPAPER_LETTER 1 && Letter 8 1/2 x 11 in
#define PRTPAPER_LETTERSMALL 2 && Letter Small 8 1/2 x 11 in
#define PRTPAPER_TABLOID 3 && Tabloid 11 x 17 in
#define PRTPAPER_LEDGER 4 && Ledger 17 x 11 in
#define PRTPAPER_LEGAL 5 && Legal 8 1/2 x 14 in
#define PRTPAPER_STATEMENT 6 && Statement 5 1/2 x 8 1/2 in
#define PRTPAPER_EXECUTIVE 7 && Executive 7 1/4 x 10 1/2 in
#define PRTPAPER_A3 8 && A3 297 x 420 mm
#define PRTPAPER_A4 9 && A4 210 x 297 mm
#define PRTPAPER_A4SMALL 10 && A4 Small 210 x 297 mm
#define PRTPAPER_A5 11 && A5 148 x 210 mm
#define PRTPAPER_B4 12 && B4 250 x 354
#define PRTPAPER_B5 13 && B5 182 x 257 mm
#define PRTPAPER_FOLIO 14 && Folio 8 1/2 x 13 in
#define PRTPAPER_QUARTO 15 && Quarto 215 x 275 mm
#define PRTPAPER_10X14 16 && 10x14 in
#define PRTPAPER_11X17 17 && 11x17 in
#define PRTPAPER_NOTE 18 && Note 8 1/2 x 11 in
#define PRTPAPER_ENV_9 19 && Envelope #9 3 7/8 x 8 7/8
#define PRTPAPER_ENV_10 20 && Envelope #10 4 1/8 x 9 1/2
#define PRTPAPER_ENV_11 21 && Envelope #11 4 1/2 x 10 3/8
#define PRTPAPER_ENV_12 22 && Envelope #12 4 \276 x 11
#define PRTPAPER_ENV_14 23 && Envelope #14 5 x 11 1/2
#define PRTPAPER_CSHEET 24 && C size sheet
#define PRTPAPER_DSHEET 25 && D size sheet
#define PRTPAPER_ESHEET 26 && E size sheet
#define PRTPAPER_ENV_DL 27 && Envelope DL 110 x 220mm
#define PRTPAPER_ENV_C5 28 && Envelope C5 162 x 229 mm
#define PRTPAPER_ENV_C3 29 && Envelope C3 324 x 458 mm
#define PRTPAPER_ENV_C4 30 && Envelope C4 229 x 324 mm
#define PRTPAPER_ENV_C6 31 && Envelope C6 114 x 162 mm
#define PRTPAPER_ENV_C65 32 && Envelope C65 114 x 229 mm
#define PRTPAPER_ENV_B4 33 && Envelope B4 250 x 353 mm
#define PRTPAPER_ENV_B5 34 && Envelope B5 176 x 250 mm
#define PRTPAPER_ENV_B6 35 && Envelope B6 176 x 125 mm
#define PRTPAPER_ENV_ITALY 36 && Envelope 110 x 230 mm
#define PRTPAPER_ENV_MONARCH 37 && Envelope Monarch 3.875 x 7.5 in
#define PRTPAPER_ENV_PERSONAL 38 && 6 3/4 Envelope 3 5/8 x 6 1/2 in
#define PRTPAPER_FANFOLD_US 39 && US Std Fanfold 14 7/8 x 11 in
#define PRTPAPER_FANFOLD_STD_GERMAN 40 && German Std Fanfold 8 1/2 x 12 in
#define PRTPAPER_FANFOLD_LGL_GERMAN 41 && German Legal Fanfold 8 1/2 x 13 in
*-- Paper bins
#define PRTBIN_UPPER 1
#define PRTBIN_ONLYONE 1
#define PRTBIN_LOWER 2
#define PRTBIN_MIDDLE 3
#define PRTBIN_MANUAL 4
#define PRTBIN_ENVELOPE 5
#define PRTBIN_ENVMANUAL 6
#define PRTBIN_AUTO 7
#define PRTBIN_TRACTOR 8
#define PRTBIN_SMALLFMT 9
#define PRTBIN_LARGEFMT 10
#define PRTBIN_LARGECAPACITY 11
#define PRTBIN_CASSETTE 14
*-- Print qualities
#define PRTRES_DRAFT -1
#define PRTRES_LOW -2
#define PRTRES_MEDIUM -3
#define PRTRES_HIGH -4
*-- Color printer
#define PRTCOLOR_MONOCHROME 1
#define PRTCOLOR_COLOR 2
*-- Duplexing
#define PRTDUP_SIMPLEX 1
#define PRTDUP_VERTICAL 2
#define PRTDUP_HORIZONTAL 3
*-- True Type fonts
#define PRTTT_BITMAP 1 && Print True Type fonts as graphics
#define PRTTT_DOWNLOAD 2 && Download True Type fonts as soft fonts
#define PRTTT_SUBDEV 3 && Substitute device fonts for True Type
*-- FontMetric()
#DEFINE TM_HEIGHT 1
#DEFINE TM_ASCENT 2
#DEFINE TM_DESCENT 3
#DEFINE TM_INTERNALLEADING 4
#DEFINE TM_EXTERNALLEADING 5
#DEFINE TM_AVECHARWIDTH 6
#DEFINE TM_MAXCHARWIDTH 7
#DEFINE TM_WEIGHT 8
#DEFINE TM_ITALIC 9
#DEFINE TM_UNDERLINED 10
#DEFINE TM_STRUCKOUT 11
#DEFINE TM_FIRSTCHAR 12
#DEFINE TM_LASTCHAR 13
#DEFINE TM_DEFAULTCHAR 14
#DEFINE TM_BREAKCHAR 15
#DEFINE TM_PITCHANDFAMILY 16
#DEFINE TM_CHARSET 17
#DEFINE TM_OVERHANG 18
#DEFINE TM_ASPECTX 19
#DEFINE TM_ASPECTY 20
*-- SysMetric()
#DEFINE SM_CXSCREEN 0
#DEFINE SM_CYSCREEN 1
#DEFINE SM_CXVSCROLL 2
#DEFINE SM_CYHSCROLL 3
#DEFINE SM_CYCAPTION 4
#DEFINE SM_CXBORDER 5
#DEFINE SM_CYBORDER 6
#DEFINE SM_CXDLGFRAME 7
#DEFINE SM_CYDLGFRAME 8
#DEFINE SM_CYVTHUMB 9
#DEFINE SM_CXHTHUMB 10
#DEFINE SM_CXICON 11
#DEFINE SM_CYICON 12
#DEFINE SM_CXCURSOR 13
#DEFINE SM_CYCURSOR 14
#DEFINE SM_CYMENU 15
#DEFINE SM_CXFULLSCREEN 16
#DEFINE SM_CYFULLSCREEN 17
#DEFINE SM_CYKANJIWINDOW 18
#DEFINE SM_MOUSEPRESENT 19
#DEFINE SM_CYVSCROLL 20
#DEFINE SM_CXHSCROLL 21
#DEFINE SM_DEBUG 22
#DEFINE SM_SWAPBUTTON 23
#DEFINE SM_RESERVED1 24
#DEFINE SM_RESERVED2 25
#DEFINE SM_RESERVED3 26
#DEFINE SM_RESERVED4 27
#DEFINE SM_CXMIN 28
#DEFINE SM_CYMIN 29
#DEFINE SM_CXSIZE 30
#DEFINE SM_CYSIZE 31
#DEFINE SM_CXFRAME 32
#DEFINE SM_CYFRAME 33
#DEFINE SM_CXMINTRACK 34
#DEFINE SM_CYMINTRACK 35
#DEFINE SM_CMETRICS 36
*-- Cursor buffering modes
#DEFINE DB_BUFOFF 1
#DEFINE DB_BUFLOCKRECORD 2
#DEFINE DB_BUFOPTRECORD 3
#DEFINE DB_BUFLOCKTABLE 4
#DEFINE DB_BUFOPTTABLE 5
*-- Update types for views/cursors
#DEFINE DB_UPDATE 1
#DEFINE DB_DELETEINSERT 2
*-- WHERE clause types for views/cursors
#DEFINE DB_KEY 1
#DEFINE DB_KEYANDUPDATABLE 2
#DEFINE DB_KEYANDMODIFIED 3
#DEFINE DB_KEYANDTIMESTAMP 4
*-- Remote connection login prompt options
#DEFINE DB_PROMPTCOMPLETE 1
#DEFINE DB_PROMPTALWAYS 2
#DEFINE DB_PROMPTNEVER 3
*-- Remote transaction modes
#DEFINE DB_TRANSAUTO 1
#DEFINE DB_TRANSMANUAL 2
*-- Source Types for CursorGetProp()
#DEFINE DB_SRCLOCALVIEW 1
#DEFINE DB_SRCREMOTEVIEW 2
#DEFINE DB_SRCTABLE 3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -