types

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 0 Imported by: 896

Documentation

Index

Constants

View Source
const (
	IdOK       = 1
	IdCancel   = 2
	IdAbort    = 3
	IdRetry    = 4
	IdIgnore   = 5
	IdYes      = 6
	IdNo       = 7
	IdClose    = 8
	IdHelp     = 9
	IdTryAgain = 10
	IdContinue = 11
	MrNone     = 0
	MrOk       = IdOK
	MrCancel   = IdCancel
	MrAbort    = IdAbort
	MrRetry    = IdRetry
	MrIgnore   = IdIgnore
	MrYes      = IdYes
	MrNo       = IdNo
	MrClose    = IdClose
	MrHelp     = IdHelp
	MrTryAgain = IdTryAgain
	MrContinue = IdContinue
	MrAll      = MrContinue + 1
	MrNoToAll  = MrAll + 1
	MrYesToAll = MrNoToAll + 1
)
View Source
const (
	CF_TEXT         = 1
	CF_BITMAP       = 2
	CF_METAFILEPICT = 3
	CF_SYLK         = 4
	CF_DIF          = 5
	CF_TIFF         = 6
	CF_OEMTEXT      = 7
	CF_DIB          = 8
	CF_PALETTE      = 9
	CF_PENDATA      = 10
	CF_RIFF         = 11
	CF_WAVE         = 12
	CF_UNICODETEXT  = 13
	CF_ENHMETAFILE  = 14
	CF_HDROP        = 15
	CF_LOCALE       = 0x10
	CF_MAX          = 18 /* if WINVER >= 0x0500 */

)

Predefined Clipboard Formats

View Source
const (
	AlNone = iota + 0
	AlTop
	AlBottom
	AlLeft
	AlRight
	AlClient
	AlCustom
)
View Source
const (
	BsNone = iota + 0
	BsSingle
	BsSizeable
	BsDialog
	BsToolWindow
	BsSizeToolWin
)
View Source
const (
	FsNormal = iota + 0
	FsMDIChild
	FsMDIForm
	FsStayOnTop
)
View Source
const (
	PoDesigned = iota + 0
	PoDefault
	PoDefaultPosOnly
	PoDefaultSizeOnly
	PoScreenCenter
	PoDesktopCenter
	PoMainFormCenter
	PoOwnerFormCenter

	// lazarus
	PoWorkAreaCenter
)
View Source
const (
	CrDefault   = 0
	CrNone      = -1
	CrArrow     = -2
	CrCross     = -3
	CrIBeam     = -4
	CrSize      = -22
	CrSizeNESW  = -6
	CrSizeNS    = -7
	CrSizeNWSE  = -8
	CrSizeWE    = -9
	CrUpArrow   = -10
	CrHourGlass = -11
	CrDrag      = -12
	CrNoDrop    = -13
	CrHSplit    = -14
	CrVSplit    = -15
	CrMultiDrag = -16
	CrSQLWait   = -17
	CrNo        = -18
	CrAppStart  = -19
	CrHelp      = -20
	CrHandPoint = -21
	CrSizeAll   = -22
)
View Source
const (
	SoBeginning = iota + 0
	SoCurrent
	SoEnd
)
View Source
const (
	PfDevice = iota + 0
	Pf1bit
	Pf4bit
	Pf8bit
	Pf15bit
	Pf16bit
	Pf24bit
	Pf32bit
	PfCustom
)
View Source
const (
	TaLeftJustify = iota + 0
	TaRightJustify
	TaCenter
)
View Source
const (
	BdLeftToRight = iota + 0
	BdRightToLeft
	BdRightToLeftNoAlign
	BdRightToLeftReadingOnly
)
View Source
const (
	TaAlignTop = iota + 0
	TaAlignBottom
	TaVerticalCenter
)
View Source
const (
	BsPushButton = iota + 0
	BsCommandLink
	BsSplitButton
)
View Source
const (
	CsDropDown = iota + 0
	CsSimple
	CsDropDownList
	CsOwnerDrawFixed
	CsOwnerDrawVariable
)
View Source
const (
	WsNormal = iota + 0
	WsMinimized
	WsMaximized

	// LCL
	WsFullScreen
)
View Source
const (
	TlTop = iota + 0
	TlCenter
	TlBottom
)
View Source
const (
	EpNone = iota + 0
	EpPathEllipsis
	EpEndEllipsis
	EpWordEllipsis
)
View Source
const (
	LbStandard = iota + 0
	LbOwnerDrawFixed
	LbOwnerDrawVariable
	LbVirtual
	LbVirtualOwnerDraw
)
View Source
const (
	MaAutomatic = iota + 0
	MaManual
	MaParent
)
View Source
const (
	PaLeft = iota + 0
	PaRight
	PaCenter
)
View Source
const (
	TbRightButton = iota + 0
	TbLeftButton
)
View Source
const (
	PbHorizontal = iota + 0
	PbVertical
)
View Source
const (
	PbstNormal = iota + 0
	PbstMarquee
)
View Source
const (
	PbsNormal = iota + 0
	PbsError
	PbsPaused
)
View Source
const (
	BlGlyphLeft = iota + 0
	BlGlyphRight
	BlGlyphTop
	BlGlyphBottom
)
View Source
const (
	BsUp = iota + 0
	BsDisabled
	BsDown
	BsExclusive
)
View Source
const (
	BsAutoDetect = iota + 0
	BsWin31
	BsNew
)
View Source
const (
	FsBold = iota + 0
	FsItalic
	FsUnderline
	FsStrikeOut
)
View Source
const (
	SsNone = iota + 0
	SsHorizontal
	SsVertical
	SsBoth
	// lcl
	SsAutoHorizontal
	SsAutoVertical
	SsAutoBoth
)
View Source
const (
	StNone = iota + 0
	StData
	StText
	StBoth
)
View Source
const (
	MsControlSelect = iota + 0
	MsShiftSelect
	MsVisibleOnly
	MsSiblingOnly
)
View Source
const (
	ArAlignBottom = iota + 0
	ArAlignLeft
	ArAlignRight
	ArAlignTop
	ArDefault
	ArSnapToGrid
)
View Source
const (
	VsIcon = iota + 0
	VsSmallIcon
	VsList
	VsReport
)
View Source
const (
	IsNone = iota + 0
	IsCut
	IsDropHilited
	IsFocused
	IsSelected
	IsActivating
)
View Source
const (
	CtText = iota + 0
	CtImage
	CtState
)
View Source
const (
	IfData = iota + 0
	IfPartialString
	IfExactString
	IfNearest
)
View Source
const (
	SdLeft = iota + 0
	SdRight
	SdAbove
	SdBelow
	SdAll
)
View Source
const (
	HtHandPoint = iota + 0
	HtUnderlineCold
	HtUnderlineHot
)
View Source
const (
	IrText = iota + 0
	IrImage
	IrParam
	IrState
	IrIndent
)
View Source
const (
	BsSolid = iota + 0
	BsClear
	BsHorizontal
	BsVertical
	BsFDiagonal
	BsBDiagonal
	BsCross
	BsDiagCross
)
View Source
const (
	PsSolid = iota + 0
	PsDash
	PsDot
	PsDashDot
	PsDashDotDot
	PsClear
	PsInsideFrame
	PsUserStyle
	PsAlternate
)
View Source
const (
	TpTop = iota + 0
	TpBottom
	TpLeft
	TpRight
)
View Source
const (
	TsTabs = iota + 0
	TsButtons
	TsFlatButtons
)
View Source
const (
	FpDefault = iota + 0
	FpVariable
	FpFixed
)
View Source
const (
	PmBlack = iota + 0
	PmWhite
	PmNop
	PmNot
	PmCopy
	PmNotCopy
	PmMergePenNot
	PmMaskPenNot
	PmMergeNotPen
	PmMaskNotPen
	PmMerge
	PmNotMerge
	PmMask
	PmNotMask
	PmXor
	PmNotXor
)
View Source
const (
	TrHorizontal = iota + 0
	TrVertical
)
View Source
const (
	UdHorizontal = iota + 0
	UdVertical
)
View Source
const (
	FqDefault = iota + 0
	FqDraft
	FqProof
	FqNonAntialiased
	FqAntialiased
	FqClearType
	FqClearTypeNatural
)
View Source
const (
	CaNone = iota + 0
	CaHide
	CaFree
	CaMinimize
)
View Source
const (
	BfNone    = 0
	BfInfo    = 1
	BfWarning = 2
	BfError   = 3
)
View Source
const (
	MtWarning = iota + 0
	MtError
	MtInformation
	MtConfirmation
	MtCustom
)
View Source
const (
	MbYes = iota + 0
	MbNo
	MbOK
	MbCancel
	MbAbort
	MbRetry
	MbIgnore
	MbAll
	MbNoToAll
	MbYesToAll
	MbHelp
	MbClose
)
View Source
const (
	SltURL = iota + 0
	SltID
)
View Source
const (
	PsText = iota + 0
	PsOwnerDraw
)
View Source
const (
	PbNone = iota + 0
	PbLowered
	PbRaised
)
View Source
const (
	JpBestQuality = iota + 0
	JpBestSpeed
)
View Source
const (
	JsFullSize = iota + 0
	JsHalf
	JsQuarter
	JsEighth
)
View Source
const (
	Jf24Bit = iota + 0
	Jf8Bit
)
View Source
const (
	GvUnknown = iota + 0
	Gv87a
	Gv89a
)
View Source
const (
	GlDisabled = iota + 0
	GlEnabled
	GlContinously
)
View Source
const (
	GdDisabled = iota + 0
	GdEnabled
	GdAuto
)
View Source
const (
	NsCut = iota + 0
	NsDropHilited
	NsFocused
	NsSelected
	NsExpanded
)
View Source
const (
	NaAdd = iota + 0
	NaAddFirst
	NaAddChild
	NaAddChildFirst
	NaInsert
)
View Source
const (
	TaAddFirst = iota + 0
	TaAdd
	TaInsert
)
View Source
const (
	AsNormal = iota + 0
	AsSuspended
	AsSuspendedEnabled
)
View Source
const (
	GdHorizontal = iota + 0
	GdVertical
)
View Source
const (
	DSFocus = iota + 0
	DSSelected
	DSNormal
	DSTransparent
)
View Source
const (
	ItImage = iota + 0
	ItMask
)
View Source
const (
	RtBitmap = iota + 0
	RtCursor
	RtIcon
)
View Source
const (
	LrDefaultColor = iota + 0
	LrDefaultSize
	LrFromFile
	LrMap3DColors
	LrTransparent
	LrMonoChrome
)
View Source
const (
	CdDefault = iota + 0
	CdDeviceDependent
	Cd4Bit
	Cd8Bit
	Cd16Bit
	Cd24Bit
	Cd32Bit
)
View Source
const (
	CbUnchecked = iota + 0
	CbChecked
	CbGrayed
)
View Source
const (
	LgsNormal = iota + 0
	LgsHidden
	LgsCollapsed
	LgsNoHeader
	LgsCollapsible
	LgsFocused
	LgsSelected
	LgsSubseted
	LgsSubSetLinkFocused
)
View Source
const (
	DsNormal = iota + 0
	DsGradient
)
View Source
const (
	TbsButton = iota + 0
	TbsCheck
	TbsDropDown
	TbsSeparator
	TbsDivider
	TbsTextButton
)
View Source
const (
	TbsChecked = iota + 0
	TbsPressed
	TbsEnabled
	TbsHidden
	TbsIndeterminate
	TbsWrap
	TbsEllipses
	TbsMarked
)
View Source
const (
	GdoHotTrack = iota + 0
	GdoGradient
)
View Source
const (
	CdFullOpen = iota + 0
	CdPreventFullOpen
	CdShowHelp
	CdSolidColor
	CdAnyColor
)
View Source
const (
	BiSystemMenu = iota + 0
	BiMinimize
	BiMaximize
	BiHelp
)
View Source
const (
	FdAnsiOnly = iota + 0
	FdTrueTypeOnly
	FdEffects
	FdFixedPitchOnly
	FdForceFontExist
	FdNoFaceSel
	FdNoOEMFonts
	FdNoSimulations
	FdNoSizeSel
	FdNoStyleSel
	FdNoVectorFonts
	FdShowHelp
	FdWysiwyg
	FdLimitSize
	FdScalableOnly
	FdApplyButton
)
View Source
const (
	OfReadOnly = iota + 0
	OfOverwritePrompt
	OfHideReadOnly
	OfNoChangeDir
	OfShowHelp
	OfNoValidate
	OfAllowMultiSelect
	OfExtensionDifferent
	OfPathMustExist
	OfFileMustExist
	OfCreatePrompt
	OfShareAware
	OfNoReadOnlyReturn
	OfNoTestFileCreate
	OfNoNetworkButton
	OfNoLongNames
	OfOldStyleDialog
	OfNoDereferenceLinks
	OfEnableIncludeNotify
	OfEnableSizing
	OfDontAddToRecent
	OfForceShowHidden
)
View Source
const (
	PrAllPages = iota + 0
	PrSelection
	PrPageNums
)
View Source
const (
	PoPrintToFile = iota + 0
	PoPageNums
	PoSelection
	PoWarning
	PoHelp
	PoDisablePrintToFile
)
View Source
const (
	PsoDefaultMinMargins = iota + 0
	PsoDisableMargins
	PsoDisableOrientation
	PsoDisablePagePainting
	PsoDisablePaper
	PsoDisablePrinter
	PsoMargins
	PsoMinMargins
	PsoShowHelp
	PsoWarning
	PsoNoNetworkButton
)
View Source
const (
	PkDotMatrix = iota + 0
	PkHPPCL
)
View Source
const (
	PtEnvelope = iota + 0
	PtPaper
)
View Source
const (
	PmDefault = iota + 0
	PmMillimeters
	PmInches
)
View Source
const (
	SoStrictDelimiter = iota + 0
	SoWriteBOM
	SoTrailingLineBreak
	SoUseLocale
)
View Source
const (
	SsShift = iota + 0
	SsAlt
	SsCtrl
	SsLeft
	SsRight
	SsMiddle
	SsDouble
	SsTouch
	SsPen
	SsCommand
	SssHorizontal // 有冲突,所以加了个s
)
View Source
const (
	MbLeft = iota + 0
	MbRight
	MbMiddle
)
View Source
const (
	FsSurface = iota + 0
	FsBorder
)
View Source
const (
	FmAlternate = iota + 0
	FmWinding
)
View Source
const (
	CsHandleValid = iota + 0
	CsFontValid
	CsPenValid
	CsBrushValid
)
View Source
const (
	CoLeftToRight = iota + 0
	CoRightToLeft
)
View Source
const (
	TfBottom = iota + 0
	TfCalcRect
	TfCenter
	TfEditControl
	TfEndEllipsis
	TfPathEllipsis
	TfExpandTabs
	TfExternalLeading
	TfLeft
	TfModifyString
	TfNoClip
	TfNoPrefix
	TfRight
	TfRtlReading
	TfSingleLine
	TfTop
	TfVerticalCenter
	TfWordBreak
	TfHidePrefix
	TfNoFullWidthCharBreak
	TfPrefixOnly
	TfTabStop
	TfWordEllipsis
	TfComposited
)
View Source
const (
	SeFont = iota + 0
	SeClient
	SeBorder
)
View Source
const (
	BvNone = iota + 0
	BvLowered
	BvRaised
	BvSpace
)
View Source
const (
	BeLeft = iota + 0
	BeTop
	BeRight
	BeBottom
)
View Source
const (
	BkNone = iota + 0
	BkTile
	BkSoft
	BkFlat
)
View Source
const (
	TmBottomRight = iota + 0
	TmTopLeft
	TmBoth
)
View Source
const (
	TsNone = iota + 0
	TsAuto
	TsManual
)
View Source
const (
	PtNone = iota + 0
	PtTop
	PtLeft
	PtBottom
	PtRight
)
View Source
const (
	DtkDate = iota + 0
	DtkTime
)
View Source
const (
	DmComboBox = iota + 0
	DmUpDown
)
View Source
const (
	DfShort = iota + 0
	DfLong
)
View Source
const (
	DtaLeft = iota + 0
	DtaRight
)
View Source
const (
	StWholeWord = iota + 0
	StMatchCase
)
View Source
const (
	NsNone = iota + 0
	NsBullte
)
View Source
const (
	AtSelected = iota + 0
	AtDefaultText
)
View Source
const (
	CaBold = iota + 0
	CaColor
	CaFace
	CaItalic
	CaSize
	CaStrikeOut
	CaUnderline
	CaProtected
)
View Source
const (
	IaTop = iota + 0
	IaLeft
)
View Source
const (
	HsGradient = iota + 0
	HsImage
	HsThemed
)
View Source
const (
	IiaLeft = iota + 0 // IaTop有冲突,所以增加一个i
	IiaRight
	IiaTop
	IiaBottom
	IiaCenter
)
View Source
const (
	AkLeft = iota + 0
	AkTop
	AkRight
	AkBottom
)
View Source
const (
	OdSelected = iota + 0
	OdGrayed
	OdDisabled
	OdChecked
	OdFocused
	OdDefault
	OdHotLight
	OdInactive
	OdNoAccel
	OdNoFocusRect
	OdReserved1
	OdReserved2
	OdComboBoxEdit
)
View Source
const (
	BkCustom = iota + 0
	BkOK
	BkCancel
	BkHelp
	BkYes
	BkNo
	BkClose
	BkAbort
	BkRetry
	BkIgnore
	BkAll
)
View Source
const (
	SbHorizontal = iota + 0
	SbVertical
)
View Source
const (
	SsRegular = iota + 0
	SsFlat
)
View Source
const (
	StRectangle = iota + 0
	StSquare
	StRoundRect
	StRoundSquare
	StEllipse
	StCircle
)
View Source
const (
	BsLowered = iota + 0
	BsRaised
)
View Source
const (
	BsBox = iota + 0
	BsFrame
	BsTopLine
	BsBottomLine
	BsLeftLine
	BsRightLine
	BsSpacer
)
View Source
const (
	GkText = iota + 0
	GkHorizontalBar
	GkVerticalBar
	GkPie
	GkNeedle
)
View Source
const (
	DtControl = iota + 0
	DtItem
	DtSubItem
)
View Source
const (
	CdPrePaint = iota + 0
	CdPostPaint
	CdPreErase
)
View Source
const (
	CdsSelected = iota + 0
	CdsGrayed
	CdsDisabled
	CdsChecked
	CdsFocused
	CdsDefault
	CdsHot
	CdsMarked
	CdsIndeterminate
	CdsShowKeyboardCues
	CdsNearHot
	CdsOtherSideHot
	CdsDropHilited
)
View Source
const (
	TbNoEdges = iota + 0
	TbHiliteHotTrack
	TbNoOffset
	TbNoMark
	TbNoEtchedEffect
)
View Source
const (
	DrBounds = iota + 0
	DrIcon
	DrLabel
	DrSelectBounds
)
View Source
const (
	SdAllowCreate = iota + 0
	SdPerformCreate
	SdPrompt
)
View Source
const (
	SdNewFolder = iota + 0
	SdShowEdit
	SdShowShares
	SdNewUI
	SdShowFiles
	SdValidateDir
)
View Source
const (
	FrDown = iota + 0
	FrFindNext
	FrHideMatchCase
	FrHideWholeWord
	FrHideUpDown
	FrMatchCase
	FrDisableMatchCase
	FrDisableUpDown
	FrDisableWholeWord
	FrReplace
	FrReplaceAll
	FrWholeWord
	FrShowHelp

	// LCL
	FrEntireScope
	FrHideEntireScope
	FrPromptOnReplace
	FrHidePromptOnReplace
	FrButtonsAtBottom
)
View Source
const (
	DmManual = iota + 0
	DmAutomatic
)
View Source
const (
	DsDragEnter = iota + 0
	DsDragLeave
	DsDragMove
)
View Source
const (
	DkDrag = iota + 0
	DkDock
)
View Source
const (
	EcNormal = iota + 0
	EcUpperCase
	EcLowerCase
)
View Source
const (
	EbLeft = iota + 0
	EbTop
	EbRight
	EbBottom
)
View Source
const (
	EsNone = iota + 0
	EsRaised
	EsLowered
)
View Source
const (
	GdsClassic = iota + 0
	GdsThemed
	GdsGradient
)
View Source
const (
	GoFixedVertLine = iota + 0
	GoFixedHorzLine
	GoVertLine
	GoHorzLine
	GoRangeSelect
	GoDrawFocusSelected
	GoRowSizing
	GoColSizing
	GoRowMoving
	GoColMoving
	GoEditing
	GoTabs
	GoRowSelect
	GoAlwaysShowEditor
	GoThumbTracking
	GoFixedColClick
	GoFixedRowClick
	GoFixedHotTrack
)
View Source
const (
	GoLzFixedVertLine = iota + 0
	GoLzFixedHorzLine
	GoLzVertLine
	GoLzHorzLine
	GoLzRangeSelect
	GoLzDrawFocusSelected
	GoLzRowSizing
	GoLzColSizing
	GoLzRowMoving
	GoLzColMoving
	GoLzEditing
	GoLzAutoAddRows
	GoLzTabs
	GoLzRowSelect
	GoLzAlwaysShowEditor
	GoLzThumbTracking
	// Additional Options
	GoLzColSpanning                 // Enable cellextent calcs
	GoLzRelaxedRowSelect            // User can see focused cell on goRowSelect
	GoLzDblClickAutoSize            // dblclicking columns borders (on hdrs) resize col.
	GoLzSmoothScroll                // Switch scrolling mode (pixel scroll is by default)
	GoLzFixedRowNumbering           // Ya
	GoLzScrollKeepVisible           // keeps focused cell visible while scrolling
	GoLzHeaderHotTracking           // Header cells change look when mouse is over them
	GoLzHeaderPushedLook            // Header cells looks pushed when clicked
	GoLzSelectionActive             // Setting grid.Selection moves also cell cursor
	GoLzFixedColSizing              // Allow to resize fixed columns
	GoLzDontScrollPartCell          // clicking partially visible cells will not scroll
	GoLzCellHints                   // show individual cell hints
	GoLzTruncCellHints              // show cell hints if cell text is too long
	GoLzCellEllipsis                // show "..." if cell text is too long
	GoLzAutoAddRowsSkipContentCheck //BB Also add a row (if AutoAddRows in Options) if last row is empty
	GoLzRowHighlight                // Highlight the current Row
)
View Source
const (
	GdSelected = iota + 0
	GdFocused
	GdFixed
	GdRowSelected
	GdHotTrack
	GdPressed
)
View Source
const (
	//SdLeft = iota + 0
	//SdRight
	SdUp = iota + SdRight
	SdDown
)
View Source
const (
	HsText = iota + 0
	HsOwnerDraw
)
View Source
const (
	LpAbove = iota + 0
	LpBelow
	LpLeft
	LpRight
)
View Source
const (
	FsLeftRightTopBottom = iota + 0
	FsRightLeftTopBottom
	FsLeftRightBottomTop
	FsRightLeftBottomTop
	FsTopBottomLeftRight
	FsBottomTopLeftRight
	FsTopBottomRightLeft
	FsBottomTopRightLeft
)
View Source
const (
	BmNone = iota + 0
	BmClick
	BmDblClick
)
View Source
const (
	MbNone = iota + 0
	MbBreak
	MbBarBreak
)
View Source
const (
	TsTrackBegin = iota + 0
	TsTrackMove
	TsTrackEnd
)
View Source
const (
	CsLButtonDown = iota + 0
	CsClicked
	CsPalette
	CsReadingState
	CsAlignmentNeeded
	CsFocusing
	CsCreating
	CsPaintCopy
	CsCustomPaint
	CsDestroyingHandle
	CsDocking
	CsDesignerHide
	CsPanning
	CsRecreating
	CsAligning
	CsGlassPaint
	CsPrintClient
)
View Source
const (
	CsAcceptsControls = iota + 0
	CsCaptureMouse
	CsDesignInteractive
	CsClickEvents
	CsFramed
	CsSetCaption
	CsOpaque
	CsDoubleClicks
	CsFixedWidth
	CsFixedHeight
	CsNoDesignVisible
	CsReplicatable
	CsNoStdEvents
	CsDisplayDragImage
	CsReflector
	CsActionClient
	CsMenuEvents
	CsNeedsBorderPaint
	CsParentBackground
	CsPannable
	CsAlignWithMargins
	CsGestures
	CsPaintBlackOpaqueOnGlass
	CsOverrideStylePaint
)
View Source
const (
	GfBegin = iota + 0
	GfInertia
	GfEnd
)
View Source
const (
	MaDefault = iota + 0
	MaActivate
	MaActivateAndEat
	MaNoActivate
	MaNoActivateAndEat
)
View Source
const (
	None = iota + 0
	Indeterminate
	Normal
	Error
	Paused
)
View Source
const (
	Enabled = iota + 0
	DismissOnClick
	NoBackground
	Hidden
	NonInteractive
)
View Source
const (
	AppThumbAlways = iota + 0
	AppThumbWhenActive
	AppPeekAlways
	AppPeekWhenActive
	CustomizedPreview
)
View Source
const (
	BmDIB = iota + 0
	BmDDB
)
View Source
const (
	PsNoHandle = iota + 0
	PsHandleIC
	PsHandleDC
)
View Source
const (
	PoPortrait = iota + 0
	PoLandscape
)
View Source
const (
	PcCopies = iota + 0
	PcOrientation
	PcCollation
)
View Source
const (
	RsUninitialized = iota + 0
	RsLoading
	RsLoaded
	RsInterActive
	RsComplete
)
View Source
const (
	SeUnknown = iota + 0
	SeANSI
	SeUnicode
	SeUTF8
)
View Source
const (
	StDefault = iota + 0 // use default rules for showing taskbar item
	StAlways             // always show taskbar item for the form
	StNever              // never show taskbar item for the form
)
View Source
const (
	TcbOk = iota + 0
	TcbYes
	TcbNo
	TcbCancel
	TcbRetry
	TcbClose
)
View Source
const (
	TfEnableHyperlinks = iota + 0
	TfUseHiconMain
	TfUseHiconFooter
	TfAllowDialogCancellation
	TfUseCommandLinks
	TfUseCommandLinksNoIcon
	TfExpandFooterArea
	TfExpandedByDefault
	TfVerificationFlagChecked
	TfShowProgressBar
	TfShowMarqueeProgressBar
	TfCallbackTimer
	TfPositionRelativeToWindow
	TfRtlLayout
	TfNoDefaultRadioButton
	TfCanBeMinimized
)
View Source
const (
	TdiNone = iota + 0
	TdiWarning
	TdiError
	TdiInformation
	TdiShield
	TdiQuestion // Lazarus所有
)
View Source
const (
	OfExNoPlacesBar = iota + 0
)
View Source
const (
	SbsNone = iota + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Byte added in v1.1.18

type Byte = uint8

type COLORREF added in v1.1.18

type COLORREF = uint32

type Cardinal added in v1.1.18

type Cardinal = uint32

type Char

type Char = uint16

Unicode

type DWORD added in v1.1.18

type DWORD = uint32

type HBITMAP

type HBITMAP = uintptr

type HBRUSH

type HBRUSH = uintptr

type HCURSOR added in v1.1.18

type HCURSOR = HICON

type HDC

type HDC = uintptr

type HFONT

type HFONT = uintptr

type HGDIOBJ

type HGDIOBJ = uintptr

type HGLOBAL added in v1.2.0

type HGLOBAL = uintptr

type HICON

type HICON = uintptr

type HINST added in v1.1.18

type HINST = uintptr

type HKEY

type HKEY = uintptr

type HMENU

type HMENU = uintptr

type HMODULE added in v1.1.18

type HMODULE = uintptr

type HMONITOR

type HMONITOR = uintptr

type HPALETTE added in v1.1.23

type HPALETTE = uintptr

type HPEN

type HPEN = uintptr

type HRGN added in v1.1.18

type HRGN = uintptr

type HRSRC added in v1.2.0

type HRSRC = uintptr

type HResult added in v1.1.23

type HResult = uintptr

type HWND

type HWND = uintptr

type IObjectArray added in v1.1.23

type IObjectArray uintptr

伪造,实际为一个接口类型

type Integer added in v1.1.18

type Integer = int32

type LPARAM added in v1.1.18

type LPARAM = uintptr

type LPCWSTR added in v1.1.18

type LPCWSTR = uintptr

type LRESULT added in v1.2.0

type LRESULT = uintptr

type PFNLVCOMPARE

type PFNLVCOMPARE uintptr

type PFNTVCOMPARE

type PFNTVCOMPARE uintptr

type Single added in v1.1.18

type Single = float32

type TActionListState

type TActionListState int32

TActionListState = (asNormal, asSuspended, asSuspendedEnabled);

type TAddMode

type TAddMode int32

TAddMode = (taAddFirst, taAdd, taInsert);

type TAlign

type TAlign int32

TAlign = (alNone, alTop, alBottom, alLeft, alRight, alClient, alCustom);

type TAlignment

type TAlignment int32

TAlignment = (taLeftJustify, taRightJustify, taCenter);

type TAnchorKind

type TAnchorKind int32

TAnchorKind = (akLeft, akTop, akRight, akBottom);

type TAnchors

type TAnchors = uint32

TAnchors = set of TAnchorKind;

type TAttributeType

type TAttributeType int32

TAttributeType = (atSelected, atDefaultText);

type TBalloonFlags

type TBalloonFlags int32

TBalloonFlags = (bfNone = NIIF_NONE, bfInfo = NIIF_INFO,

bfWarning = NIIF_WARNING, bfError = NIIF_ERROR);

type TBalloonHintStyle

type TBalloonHintStyle int32

TBalloonHintStyle = (bhsStandard, bhsBalloon);

type TBevelCut

type TBevelCut int32

TBevelCut = (bvNone, bvLowered, bvRaised, bvSpace);

type TBevelEdge

type TBevelEdge int32

TBevelEdge = (beLeft, beTop, beRight, beBottom);

type TBevelEdges

type TBevelEdges = uint32

TBevelEdges = set of TBevelEdge;

type TBevelKind

type TBevelKind int32

TBevelKind = (bkNone, bkTile, bkSoft, bkFlat);

type TBevelShape

type TBevelShape int32

TBevelShape = (bsBox, bsFrame, bsTopLine, bsBottomLine, bsLeftLine, bsRightLine, bsSpacer);

type TBevelStyle

type TBevelStyle int32

TBevelStyle = (bsLowered, bsRaised);

type TBiDiMode

type TBiDiMode int32

TBiDiMode = (bdLeftToRight, bdRightToLeft, bdRightToLeftNoAlign,

bdRightToLeftReadingOnly);

type TBitBtnKind

type TBitBtnKind int32
TBitBtnKind = (bkCustom, bkOK, bkCancel, bkHelp, bkYes, bkNo, bkClose,

bkAbort, bkRetry, bkIgnore, bkAll);

type TBitmapHandleType added in v1.1.23

type TBitmapHandleType int32

TBitmapHandleType

type TBorderIcon

type TBorderIcon int32

TBorderIcon = (biSystemMenu, biMinimize, biMaximize, biHelp);

type TBorderIcons

type TBorderIcons = uint32

TBorderIcons = set of TBorderIcon;

type TBorderStyle

type TBorderStyle int32

TFormBorderStyle = (bsNone, bsSingle, bsSizeable, bsDialog, bsToolWindow,

bsSizeToolWin);

TBorderStyle = bsNone..bsSingle;

type TBrushStyle

type TBrushStyle int32

TBrushStyle = (bsSolid, bsClear, bsHorizontal, bsVertical,

bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross);

type TButtonLayout

type TButtonLayout int32

TButtonLayout = (blGlyphLeft, blGlyphRight, blGlyphTop, blGlyphBottom);

type TButtonState

type TButtonState int32

TButtonState = (bsUp, bsDisabled, bsDown, bsExclusive);

type TButtonStyle

type TButtonStyle int32

TButtonStyle = (bsPushButton, bsCommandLink, bsSplitButton);

type TCalDayOfWeek

type TCalDayOfWeek int32

{ Calendar common control support } TCalDayOfWeek = (dowMonday, dowTuesday, dowWednesday, dowThursday,

dowFriday, dowSaturday, dowSunday, dowLocaleDefault);

type TCanvasOrientation

type TCanvasOrientation int32

TCanvasOrientation = (coLeftToRight, coRightToLeft);

type TCanvasState

type TCanvasState = uint32

TCanvasState = set of TCanvasStates;

type TCanvasStates

type TCanvasStates int32

TCanvasStates = (csHandleValid, csFontValid, csPenValid, csBrushValid);

type TCheckBoxState

type TCheckBoxState int32

TCheckBoxState = (cbUnchecked, cbChecked, cbGrayed);

type TClass added in v1.1.18

type TClass uintptr

type TCloseAction

type TCloseAction int32

TCloseAction = (caNone, caHide, caFree, caMinimize);

type TColor

type TColor = uint32

type TColorBoxStyle

type TColorBoxStyle int32

type TColorDepth

type TColorDepth int32

TColorDepth = (cdDefault, cdDeviceDependent, cd4Bit, cd8Bit, cd16Bit, cd24Bit, cd32Bit);

type TColorDialogOption

type TColorDialogOption int32

TColorDialogOption = (cdFullOpen, cdPreventFullOpen, cdShowHelp, cdSolidColor, cdAnyColor);

type TColorDialogOptions

type TColorDialogOptions = uint32

type TComboBoxStyle

type TComboBoxStyle int32

TComboBoxStyle = (csDropDown, csSimple, csDropDownList, csOwnerDrawFixed,

csOwnerDrawVariable);

type TCompressionLevel

type TCompressionLevel = uint32

TCompressionLevel = 0..9;

type TConsistentAttribute

type TConsistentAttribute int32

TConsistentAttribute = (caBold, caColor, caFace, caItalic,

caSize, caStrikeOut, caUnderline, caProtected);

type TConsistentAttributes

type TConsistentAttributes = uint32

TConsistentAttributes = set of TConsistentAttribute;

type TControlState added in v1.1.21

type TControlState = uint32

type TControlStyle added in v1.1.21

type TControlStyle = uint32

type TCoolBandMaximize added in v1.1.19

type TCoolBandMaximize int32

type TCursor

type TCursor int16

TCursor = -32768..32767;

type TCursorInfo added in v1.1.18

type TCursorInfo struct {
	CbSize      uint32
	Flags       uint32
	HCursor     HCURSOR
	PtScreenPos TPoint
}

TCursorInfo

type TCustomData added in v1.1.21

type TCustomData = uintptr

type TCustomDrawStage

type TCustomDrawStage int32

TCustomDrawStage = (cdPrePaint, cdPostPaint, cdPreErase, cdPostErase);

type TCustomDrawState

type TCustomDrawState = uint32

TCustomDrawState = set of (cdsSelected, cdsGrayed, cdsDisabled, cdsChecked,

cdsFocused, cdsDefault, cdsHot, cdsMarked, cdsIndeterminate,
cdsShowKeyboardCues, cdsNearHot, cdsOtherSideHot, cdsDropHilited);

type TCustomDrawTarget

type TCustomDrawTarget int32

TCustomDrawTarget = (dtControl, dtItem, dtSubItem);

type TDTCalAlignment

type TDTCalAlignment int32

TDTCalAlignment = (dtaLeft, dtaRight);

type TDTDateFormat

type TDTDateFormat int32

TDTDateFormat = (dfShort, dfLong);

type TDTDateMode

type TDTDateMode int32

TDTDateMode = (dmComboBox, dmUpDown);

type TDWordFiller

type TDWordFiller struct {
	Filler [4]uint8
}

type TDateTimeKind

type TDateTimeKind int32

TDateTimeKind = (dtkDate, dtkTime);

type TDisplayCode

type TDisplayCode int32

TDisplayCode = (drBounds, drIcon, drLabel, drSelectBounds);

type TDragKind

type TDragKind int32

type TDragMode

type TDragMode int32

type TDragState

type TDragState int32

type TDrawingStyle

type TDrawingStyle int32

TDrawingStyle = (dsFocus, dsSelected, dsNormal, dsTransparent);

type TEdgeBorder added in v1.1.19

type TEdgeBorder int32

type TEdgeBorders added in v1.1.19

type TEdgeBorders = uint32

type TEdgeStyle added in v1.1.19

type TEdgeStyle int32

type TEditCharCase added in v1.1.19

type TEditCharCase int32

Editors common support=

type TEllipsisPosition

type TEllipsisPosition int32

TEllipsisPosition = (epNone, epPathEllipsis, epEndEllipsis, epWordEllipsis);

type TFNWndEnumProc added in v1.2.4

type TFNWndEnumProc = uintptr

type TFillMode

type TFillMode int32

TFillMode = (fmAlternate, fmWinding);

type TFillStyle

type TFillStyle int32

TFillStyle = (fsSurface, fsBorder);

type TFindOption

type TFindOption = uint32

TFindOption

type TFindOptions

type TFindOptions = uint32

TFindOptions = set of TFindOption

type TFlowStyle added in v1.1.19

type TFlowStyle int32

type TFontCharset

type TFontCharset = uint8

type TFontDialogOption

type TFontDialogOption int32

TFontDialogOption = (fdAnsiOnly, fdTrueTypeOnly, fdEffects,

fdFixedPitchOnly, fdForceFontExist, fdNoFaceSel, fdNoOEMFonts,
fdNoSimulations, fdNoSizeSel, fdNoStyleSel,  fdNoVectorFonts,
fdShowHelp, fdWysiwyg, fdLimitSize, fdScalableOnly, fdApplyButton);

type TFontDialogOptions

type TFontDialogOptions = uint32

TFontDialogOptions = set of TFontDialogOption;

type TFontPitch

type TFontPitch int32

TFontPitch = (fpDefault, fpVariable, fpFixed);

type TFontQuality

type TFontQuality int32

TFontQuality = (fqDefault, fqDraft, fqProof, fqNonAntialiased, fqAntialiased,

fqClearType, fqClearTypeNatural);

type TFontStyle

type TFontStyle int32

TFontStyle = (fsBold, fsItalic, fsUnderline, fsStrikeOut);

type TFontStyles

type TFontStyles = uint32

type TFormBorderStyle

type TFormBorderStyle TBorderStyle

type TFormStyle

type TFormStyle int32

TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop);

type TGIFAnimationLoop

type TGIFAnimationLoop int32

Animation loop behaviour TGIFAnimationLoop = (

glDisabled,                 // Never loop
glEnabled,                  // Loop is specified in GIF
glContinously               // Loop continously regardless of GIF
);

type TGIFDithering

type TGIFDithering int32

Auto dithering of GIF output to Netscape 216 color palette TGIFDithering = (

gdDisabled,                 // Never dither
gdEnabled,                  // Always dither
gdAuto                      // Dither if Desktop DC supports <= 256 colors.
);

type TGIFVersion

type TGIFVersion int32

TGIFVersion = (gvUnknown, gv87a, gv89a);

type TGUID added in v1.1.23

type TGUID struct {
	D1 uint32
	D2 uint16
	D3 uint16
	D4 [8]uint8
}

type TGaugeKind

type TGaugeKind int32

TGaugeKind = (gkText, gkHorizontalBar, gkVerticalBar, gkPie, gkNeedle);

type TGestureEventInfo added in v1.1.21

type TGestureEventInfo struct {
	GestureID     TGestureID
	Location      TPoint
	Flags         TInteractiveGestureFlags
	Angle         float64
	InertiaVector TSmallPoint
	//case Integer of
	//	0: (Distance: Integer);
	//	1: (TapLocation: TSmallPoint);
	//	end;
	TapLocation TSmallPoint
}

TGestureEventInfo

type TGestureID added in v1.1.21

type TGestureID int32 // rgiFirst..igiLast;

type TGradientDirection

type TGradientDirection int32

TGradientDirection = (gdHorizontal, gdVertical);

type TGridCoord added in v1.1.19

type TGridCoord struct {
	X int32
	Y int32
}

type TGridDrawState added in v1.1.19

type TGridDrawState = uint32

type TGridDrawingStyle added in v1.1.19

type TGridDrawingStyle int32

type TGridOption added in v1.1.19

type TGridOption int32

type TGridOptionLz added in v1.2.1

type TGridOptionLz = int32

Lazarus的Grids选项,跟Delphi有点不一样。

type TGridOptions added in v1.1.19

type TGridOptions = uint32

type TGridRect added in v1.1.19

type TGridRect TRect

type TGridScrollDirection added in v1.1.19

type TGridScrollDirection = uint32

type THeaderSectionStyle added in v1.1.19

type THeaderSectionStyle int32

type THeaderStyle

type THeaderStyle int32

THeaderStyle = (hsGradient, hsImage, hsThemed);

type THelpEventData

type THelpEventData = uintptr

type TIconArrangement

type TIconArrangement int32

TIconArrangement = (iaTop, iaLeft);

type TImageAlignment

type TImageAlignment int32

TImageAlignment = (iaLeft, iaRight, iaTop, iaBottom, iaCenter);

type TImageType

type TImageType int32

TImageType = (itImage, itMask);

type TInteractiveGestureFlag added in v1.1.21

type TInteractiveGestureFlag int32

type TInteractiveGestureFlags added in v1.1.21

type TInteractiveGestureFlags = uint32

type TItemChange

type TItemChange int32

TItemChange = (ctText, ctImage, ctState);

type TItemFind

type TItemFind int32

TItemFind = (ifData, ifPartialString, ifExactString, ifNearest);

type TItemRequests

type TItemRequests int32

TItemRequests = (irText, irImage, irParam, irState, irIndent);

type TItemState

type TItemState int32

TItemState = (isNone, isCut, isDropHilited, isFocused, isSelected, isActivating);

type TItemStates

type TItemStates = uint32

TItemStates = set of TItemState;

type TJPEGPerformance

type TJPEGPerformance int32

TJPEGPerformance = (jpBestQuality, jpBestSpeed);

type TJPEGPixelFormat

type TJPEGPixelFormat int32

TJPEGPixelFormat = (jf24Bit, jf8Bit);

type TJPEGQualityRange

type TJPEGQualityRange = uint32

TJPEGQualityRange = 1..100; // 100 = best quality, 25 = pretty awful

type TJPEGScale

type TJPEGScale int32

TJPEGScale = (jsFullSize, jsHalf, jsQuarter, jsEighth);

type TLabelPosition added in v1.1.19

type TLabelPosition int32

type TLeftRight

type TLeftRight int32

TLeftRight = TAlignment.taLeftJustify..TAlignment.taRightJustify;

type TLibResouce added in v1.1.23

type TLibResouce struct {
	Name string
	Ptr  uintptr
}

LibResouces

type TLinkAlignment

type TLinkAlignment TAlignment

type TListArrangement

type TListArrangement int32

TListArrangement = (arAlignBottom, arAlignLeft, arAlignRight,

arAlignTop, arDefault, arSnapToGrid);

type TListBoxStyle

type TListBoxStyle int32

TListBoxStyle = (lbStandard, lbOwnerDrawFixed, lbOwnerDrawVariable,

lbVirtual, lbVirtualOwnerDraw);

type TListGroupState

type TListGroupState int32

TListGroupState = (

lgsNormal,
lgsHidden,
lgsCollapsed,
lgsNoHeader,
lgsCollapsible,
lgsFocused,
lgsSelected,
lgsSubseted,
lgsSubSetLinkFocused

);

type TListGroupStateSet

type TListGroupStateSet = uint32

TListGroupStateSet = set of TListGroupState;

type TListHotTrackStyle

type TListHotTrackStyle int32

TListHotTrackStyle = (htHandPoint, htUnderlineCold, htUnderlineHot);

type TListHotTrackStyles

type TListHotTrackStyles = uint32

TListHotTrackStyles = set of TListHotTrackStyle;

type TLoadResource

type TLoadResource int32

TLoadResource = (lrDefaultColor, lrDefaultSize, lrFromFile, lrMap3DColors, lrTransparent, lrMonoChrome);

type TLoadResources

type TLoadResources = uint32

TLoadResources = set of TLoadResource;

type TMenuAutoFlag

type TMenuAutoFlag TMenuItemAutoFlag

TMenuAutoFlag = maAutomatic..maManual;

type TMenuBreak added in v1.1.19

type TMenuBreak int32

type TMenuItemAutoFlag

type TMenuItemAutoFlag int32

TMenuItemAutoFlag = (maAutomatic, maManual, maParent);

type TMessage added in v1.2.0

type TMessage struct {
	Msg Cardinal

	WParam WAPRAM
	LParam LPARAM
	Result LRESULT
	// contains filtered or unexported fields
}

type TModalResult

type TModalResult = int32

type TMouseActivate added in v1.1.21

type TMouseActivate int32

type TMouseButton

type TMouseButton int32

TMouseButton = (mbLeft, mbRight, mbMiddle);

type TMsg

type TMsg struct {
	Hwnd    HWND
	Message uint32
	WParam  uintptr
	LParam  uintptr
	Time    uint32
	Pt      TPoint
}

TMsg: Only Windows, tagMSG

type TMsgDlgBtn

type TMsgDlgBtn int32

TMsgDlgBtn = (mbYes, mbNo, mbOK, mbCancel, mbAbort, mbRetry, mbIgnore,

mbAll, mbNoToAll, mbYesToAll, mbHelp, mbClose);

type TMsgDlgButtons

type TMsgDlgButtons = uint32

TMsgDlgButtons = set of TMsgDlgBtn;

type TMsgDlgType

type TMsgDlgType int32

TMsgDlgType = (mtWarning, mtError, mtInformation, mtConfirmation, mtCustom);

type TMultiSelectStyle

type TMultiSelectStyle int32

type TMultiSelectStyles

type TMultiSelectStyles int32

TMultiSelectStyles = (msControlSelect, msShiftSelect,

msVisibleOnly, msSiblingOnly);

type TNodeAttachMode

type TNodeAttachMode int32

TNodeAttachMode = (naAdd, naAddFirst, naAddChild, naAddChildFirst, naInsert);

type TNodeState

type TNodeState int32

TNodeState = (nsCut, nsDropHilited, nsFocused, nsSelected, nsExpanded);

type TNumGlyphs

type TNumGlyphs int32

TNumGlyphs = 1..4;

type TNumberingStyle

type TNumberingStyle int32

TNumberingStyle = (nsNone, nsBullet);

type TOpenOption

type TOpenOption int32

{ TOpenDialog } TOpenOption = (ofReadOnly, ofOverwritePrompt, ofHideReadOnly,

ofNoChangeDir, ofShowHelp, ofNoValidate, ofAllowMultiSelect,
ofExtensionDifferent, ofPathMustExist, ofFileMustExist, ofCreatePrompt,
ofShareAware, ofNoReadOnlyReturn, ofNoTestFileCreate, ofNoNetworkButton,
ofNoLongNames, ofOldStyleDialog, ofNoDereferenceLinks, ofEnableIncludeNotify,
ofEnableSizing, ofDontAddToRecent, ofForceShowHidden);

type TOpenOptionEx

type TOpenOptionEx int32

TOpenOptionEx = (ofExNoPlacesBar);

type TOpenOptions

type TOpenOptions = uint32

TOpenOptions = set of TOpenOption;

type TOpenOptionsEx

type TOpenOptionsEx = uint32

TOpenOptionsEx = set of TOpenOptionEx;

type TOwnerDrawState

type TOwnerDrawState = uint32

TOwnerDrawState = set of (odSelected, odGrayed, odDisabled, odChecked,

odFocused, odDefault, odHotLight, odInactive, odNoAccel, odNoFocusRect,
odReserved1, odReserved2, odComboBoxEdit);

type TPageMeasureUnits

type TPageMeasureUnits int32

TPageMeasureUnits = (pmDefault, pmMillimeters, pmInches);

type TPageSetupDialogOption

type TPageSetupDialogOption int32

TPageSetupDialogOption = (psoDefaultMinMargins, psoDisableMargins,

psoDisableOrientation, psoDisablePagePainting, psoDisablePaper, psoDisablePrinter,
psoMargins, psoMinMargins, psoShowHelp, psoWarning, psoNoNetworkButton);

type TPageSetupDialogOptions

type TPageSetupDialogOptions = uint32

TPageSetupDialogOptions = set of TPageSetupDialogOption;

type TPageType

type TPageType int32

TPageType = (ptEnvelope, ptPaper);

type TPenMode

type TPenMode int32

TPenMode = (pmBlack, pmWhite, pmNop, pmNot, pmCopy, pmNotCopy,

pmMergePenNot, pmMaskPenNot, pmMergeNotPen, pmMaskNotPen, pmMerge,
pmNotMerge, pmMask, pmNotMask, pmXor, pmNotXor);

type TPenStyle

type TPenStyle int32

TPenStyle = (psSolid, psDash, psDot, psDashDot, psDashDotDot, psClear,

psInsideFrame, psUserStyle, psAlternate);

type TPixelFormat

type TPixelFormat int32

TPixelFormat = (pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom);

type TPoint

type TPoint struct {
	X, Y int32
}

func (*TPoint) IsZero

func (p *TPoint) IsZero() bool

func (*TPoint) Offset

func (p *TPoint) Offset(dx, dy int32)

func (*TPoint) Scale added in v1.1.18

func (p *TPoint) Scale(val float64)

func (*TPoint) Scale2 added in v1.1.18

func (p *TPoint) Scale2(val int)

type TPopupAlignment

type TPopupAlignment int32

TPopupAlignment = (paLeft, paRight, paCenter);

type TPosition

type TPosition int32

TPosition = (poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly,

poScreenCenter, poDesktopCenter, poMainFormCenter, poOwnerFormCenter);

type TPositionToolTip

type TPositionToolTip int32

TPositionToolTip = (ptNone, ptTop, ptLeft, ptBottom, ptRight);

type TPrintDialogOption

type TPrintDialogOption int32

TPrintDialogOption = (poPrintToFile, poPageNums, poSelection, poWarning,

poHelp, poDisablePrintToFile);

type TPrintDialogOptions

type TPrintDialogOptions = uint32

TPrintDialogOptions = set of TPrintDialogOption;

type TPrintRange

type TPrintRange int32

{ TPrintDialog } TPrintRange = (prAllPages, prSelection, prPageNums);

type TPrinterCapabilities added in v1.1.23

type TPrinterCapabilities = uint32

type TPrinterCapability added in v1.1.23

type TPrinterCapability int32

TPrinterCapability = (pcCopies, pcOrientation, pcCollation);

type TPrinterKind

type TPrinterKind int32

TPrinterKind = (pkDotMatrix, pkHPPCL);

type TPrinterOrientation added in v1.1.23

type TPrinterOrientation int32

TPrinterOrientation = (poPortrait, poLandscape);

type TPrinterState added in v1.1.23

type TPrinterState int32

TPrinterState = (psNoHandle, psHandleIC, psHandleDC);

type TProgressBarOrientation

type TProgressBarOrientation int32

TProgressBarOrientation = (pbHorizontal, pbVertical);

type TProgressBarState

type TProgressBarState int32

TProgressBarState = (pbsNormal, pbsError, pbsPaused);

type TProgressBarStyle

type TProgressBarStyle int32

TProgressBarStyle = (pbstNormal, pbstMarquee);

type TReadyState added in v1.2.1

type TReadyState int32

type TRect

type TRect struct {
	Left, Top, Right, Bottom int32
}

func (*TRect) CenterPoint

func (r *TRect) CenterPoint() (ret TPoint)

func (*TRect) Contains

func (r *TRect) Contains(aR TRect) bool

func (*TRect) Empty added in v1.1.18

func (r *TRect) Empty()

func (*TRect) Height

func (r *TRect) Height() int32

func (*TRect) Inflate

func (r *TRect) Inflate(dx, dy int32)

func (*TRect) IntersectsWith

func (r *TRect) IntersectsWith(aR TRect) bool

func (*TRect) IsEmpty

func (r *TRect) IsEmpty() bool

func (*TRect) PtInRect

func (r *TRect) PtInRect(P TPoint) bool

func (*TRect) Scale added in v1.1.18

func (r *TRect) Scale(val float64)

func (*TRect) Scale2 added in v1.1.18

func (r *TRect) Scale2(val int)

func (*TRect) SetHeight

func (r *TRect) SetHeight(val int32)

func (*TRect) SetSize

func (r *TRect) SetSize(w, h int32)

func (*TRect) SetWidth

func (r *TRect) SetWidth(val int32)

func (*TRect) Size

func (r *TRect) Size() TSize

func (*TRect) Width

func (r *TRect) Width() int32

type TResType

type TResType int32

TResType = (rtBitmap, rtCursor, rtIcon);

type TScrollBarInc

type TScrollBarInc int16

TScrollBarInc = 1..32767;

type TScrollBarKind

type TScrollBarKind int32

TScrollBarKind = (sbHorizontal, sbVertical);

type TScrollBarStyle

type TScrollBarStyle int32

TScrollBarStyle = (ssRegular, ssFlat, ssHotTrack);

type TScrollStyle

type TScrollStyle int32

TScrollStyle = (ssNone, ssHorizontal, ssVertical, ssBoth);

type TSearchDirection

type TSearchDirection int32

TSearchDirection = (sdLeft, sdRight, sdAbove, sdBelow, sdAll);

type TSearchType

type TSearchType int32

TSearchType = (stWholeWord, stMatchCase);

type TSearchTypes

type TSearchTypes = uint32

type TSectionTrackState added in v1.1.19

type TSectionTrackState int32

type TSeekOrigin

type TSeekOrigin int32

TSeekOrigin = (soBeginning, soCurrent, soEnd);

type TSelectDirExtOpt

type TSelectDirExtOpt int32

TSelectDirExtOpt = (sdNewFolder, sdShowEdit, sdShowShares, sdNewUI, sdShowFiles, sdValidateDir);

type TSelectDirExtOpts

type TSelectDirExtOpts = uint32

TSelectDirExtOpts = set of TSelectDirExtOpt;

type TSelectDirOpt

type TSelectDirOpt int32

TSelectDirOpt = (sdAllowCreate, sdPerformCreate, sdPrompt);

type TSelectDirOpts

type TSelectDirOpts = uint32

TSelectDirOpts = set of TSelectDirOpt;

type TShapeType

type TShapeType int32

TShapeType = (stRectangle, stSquare, stRoundRect, stRoundSquare, stEllipse, stCircle);

type TShiftState

type TShiftState = uint32

TShiftState = set of (ssShift, ssAlt, ssCtrl,

ssLeft, ssRight, ssMiddle, ssDouble, ssTouch, ssPen, ssCommand, ssHorizontal);

type TShortCut

type TShortCut uint16

type TShowInTaskbar added in v1.2.4

type TShowInTaskbar int32

原为Lazarus中TForm所有,现做了Delphi的兼容

type TSize

type TSize struct {
	Cx, Cy int32
}

type TSmallPoint added in v1.1.21

type TSmallPoint struct {
	X int16
	Y int16
}

type TSortType

type TSortType int32

TSortType = (stNone, stData, stText, stBoth);

type TStaticBorderStyle

type TStaticBorderStyle int32

TStaticBorderStyle = (sbsNone, sbsSingle, sbsSunken);

type TStatusPanelBevel

type TStatusPanelBevel int32

TStatusPanelBevel = (pbNone, pbLowered, pbRaised);

type TStatusPanelStyle

type TStatusPanelStyle int32

TStatusPanelStyle = (psText, psOwnerDraw);

type TStringEncoding added in v1.2.2

type TStringEncoding int32

type TStringsOption

type TStringsOption = uint32

TStringsOption = (soStrictDelimiter, soWriteBOM, soTrailingLineBreak,

soUseLocale);

type TStringsOptions

type TStringsOptions = uint32

TStringsOptions = set of TStringsOption;

type TStyleElements

type TStyleElements = uint32

TStyleElements = set of (seFont, seClient, seBorder);

type TSysLinkType

type TSysLinkType int32

TSysLinkType = (sltURL, sltID);

type TSysLocale added in v1.1.21

type TSysLocale struct {
	//Delphi compat fields
	DefaultLCID int32
	PriLangID   int32
	SubLangID   int32

	// win32 names
	FarEast    bool
	MiddleEast bool
}

type TTBCustomDrawFlags

type TTBCustomDrawFlags = uint32

TTBCustomDrawFlags = set of (tbNoEdges, tbHiliteHotTrack, tbNoOffset,

tbNoMark, tbNoEtchedEffect);

type TTBDrawingStyle

type TTBDrawingStyle int32

TTBDrawingStyle = (dsNormal, dsGradient);

type TTBGradientDrawingOption

type TTBGradientDrawingOption int32

TTBGradientDrawingOption = (gdoHotTrack, gdoGradient)

type TTBGradientDrawingOptions

type TTBGradientDrawingOptions = uint32

TTBGradientDrawingOptions = set of (gdoHotTrack, gdoGradient);

type TTabOrder

type TTabOrder = int16

type TTabPosition

type TTabPosition int32

TTabPosition = (tpTop, tpBottom, tpLeft, tpRight);

type TTabStyle

type TTabStyle int32

TTabStyle = (tsTabs, tsButtons, tsFlatButtons);

type TTaskBarProgressState added in v1.1.23

type TTaskBarProgressState int32

type TTaskDialogCommonButton added in v1.2.4

type TTaskDialogCommonButton int32

type TTaskDialogCommonButtons added in v1.2.4

type TTaskDialogCommonButtons = uint32

type TTaskDialogFlag added in v1.2.4

type TTaskDialogFlag int32

type TTaskDialogFlags added in v1.2.4

type TTaskDialogFlags = uint32 // set of TTaskDialogFlag;

type TTaskDialogIcon added in v1.2.4

type TTaskDialogIcon int32

TTaskDialogIcon = Low(Integer)..High(Integer);

type TTextFormat

type TTextFormat = uint32

TTextFormat = set of TTextFormats;

type TTextFormats

type TTextFormats int32

// Note: tfComposited only supported by ThemeServices.DrawText TTextFormats = (tfBottom, tfCalcRect, tfCenter, tfEditControl, tfEndEllipsis,

tfPathEllipsis, tfExpandTabs, tfExternalLeading, tfLeft, tfModifyString,
tfNoClip, tfNoPrefix, tfRight, tfRtlReading, tfSingleLine, tfTop,
tfVerticalCenter, tfWordBreak, tfHidePrefix, tfNoFullWidthCharBreak,
tfPrefixOnly, tfTabStop, tfWordEllipsis, tfComposited);

type TTextLayout

type TTextLayout int32

TTextLayout = (tlTop, tlCenter, tlBottom);

type TThumbButtonState added in v1.1.23

type TThumbButtonState int32

TThumbButtonState = (Enabled, DismissOnClick, NoBackground, Hidden, NonInteractive);

type TThumbButtonStates added in v1.1.23

type TThumbButtonStates = uint32

TThumbButtonStates = set of TThumbButtonState;

type TThumbTabProperties added in v1.1.23

type TThumbTabProperties = uint32

TThumbTabProperties = set of TThumbTabProperty;

type TThumbTabProperty added in v1.1.23

type TThumbTabProperty int32

TThumbTabProperty = (AppThumbAlways, AppThumbWhenActive, AppPeekAlways, AppPeekWhenActive, CustomizedPreview);

type TTickMark

type TTickMark int32

TTickMark = (tmBottomRight, tmTopLeft, tmBoth);

type TTickStyle

type TTickStyle int32

TTickStyle = (tsNone, tsAuto, tsManual);

type TToolButtonState

type TToolButtonState int32

TToolButtonState = (tbsChecked, tbsPressed, tbsEnabled, tbsHidden,

tbsIndeterminate, tbsWrap, tbsEllipses, tbsMarked);

type TToolButtonStyle

type TToolButtonStyle int32

TToolButtonStyle = (tbsButton, tbsCheck, tbsDropDown, tbsSeparator,

tbsDivider, tbsTextButton);

type TTrackBarOrientation

type TTrackBarOrientation int32

TTrackBarOrientation = (trHorizontal, trVertical);

type TTrackButton

type TTrackButton int32

TTrackButton = (tbRightButton, tbLeftButton);

type TUDBtnType

type TUDBtnType int32

TUDBtnType = (btNext, btPrev);

type TUDOrientation

type TUDOrientation int32

TUDOrientation = (udHorizontal, udVertical);

type TVerticalAlignment

type TVerticalAlignment int32

TVerticalAlignment = (taAlignTop, taAlignBottom, taVerticalCenter);

type TViewStyle

type TViewStyle int32

TViewStyle = (vsIcon, vsSmallIcon, vsList, vsReport);

type TWMKey

type TWMKey struct {
	Msg       uint32
	MsgFiller TDWordFiller
	CharCode  [2]uint16 // 第二个元素未使用
	// CharCode: Word;
	// Unused: Word;
	CharCodeUnusedFiller TDWordFiller
	KeyData              uint32
	KeyDataFiller        TDWordFiller
	Result               uintptr
}

TWMKey

type TWindowState

type TWindowState int32

TWindowState = (wsNormal, wsMinimized, wsMaximized);

type TWndClass added in v1.1.18

type TWndClass struct {
	Style         uint32
	LpfnWndProc   uintptr
	CbClsExtra    int32
	CbWndExtra    int32
	HInstance     uintptr
	HIcon         HICON
	HCursor       HCURSOR
	HbrBackground HBRUSH
	LpszMenuName  LPCWSTR
	LpszClassName LPCWSTR
}

TWndClass

type TXID added in v1.2.4

type TXID = uint64

type UINT added in v1.1.18

type UINT = uint32

type WAPRAM added in v1.1.18

type WAPRAM = uintptr

type Word added in v1.1.18

type Word = uint16

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL