mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Regenerated from Universal Headers 3.3.2
This commit is contained in:
parent
177fa8c25e
commit
6fe608c840
18 changed files with 969 additions and 527 deletions
|
@ -1,72 +1,71 @@
|
|||
# Generated from 'Macintosh HD:SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Controls.h'
|
||||
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Controls.h'
|
||||
|
||||
def FOUR_CHAR_CODE(x): return x
|
||||
from TextEdit import *
|
||||
from QuickDraw import *
|
||||
from Dragconst import *
|
||||
|
||||
_ControlDispatch = 0xAA73
|
||||
gestaltControlMgrAttr = FOUR_CHAR_CODE('cntl')
|
||||
gestaltControlMgrPresent = (1L << 0)
|
||||
kControlDefProcType = FOUR_CHAR_CODE('CDEF')
|
||||
kControlTemplateResourceType = FOUR_CHAR_CODE('CNTL')
|
||||
kControlColorTableResourceType = FOUR_CHAR_CODE('cctb')
|
||||
kControlDefProcResourceType = FOUR_CHAR_CODE('CDEF')
|
||||
kControlTabListResType = FOUR_CHAR_CODE('tab#')
|
||||
kControlListDescResType = FOUR_CHAR_CODE('ldes')
|
||||
controlNotifyNothing = FOUR_CHAR_CODE('nada')
|
||||
controlNotifyClick = FOUR_CHAR_CODE('clik')
|
||||
controlNotifyFocus = FOUR_CHAR_CODE('focu')
|
||||
controlNotifyKey = FOUR_CHAR_CODE('key ')
|
||||
kControlCanAutoInvalidate = 1L << 0
|
||||
controlNotifyKey = FOUR_CHAR_CODE('key ')
|
||||
kControlCanAutoInvalidate = 1L << 0
|
||||
staticTextProc = 256
|
||||
editTextProc = 272
|
||||
iconProc = 288
|
||||
userItemProc = 304
|
||||
pictItemProc = 320
|
||||
pictItemProc = 320
|
||||
cFrameColor = 0
|
||||
cBodyColor = 1
|
||||
cTextColor = 2
|
||||
cThumbColor = 3
|
||||
kNumberCtlCTabEntries = 4
|
||||
errMessageNotSupported = -30580
|
||||
errDataNotSupported = -30581
|
||||
errControlDoesntSupportFocus = -30582
|
||||
errWindowDoesntSupportFocus = -30583
|
||||
errUnknownControl = -30584
|
||||
errCouldntSetFocus = -30585
|
||||
errNoRootControl = -30586
|
||||
errRootAlreadyExists = -30587
|
||||
errInvalidPartCode = -30588
|
||||
errControlsAlreadyExist = -30589
|
||||
errControlIsNotEmbedder = -30590
|
||||
errDataSizeMismatch = -30591
|
||||
errControlHiddenOrDisabled = -30592
|
||||
errWindowRegionCodeInvalid = -30593
|
||||
errCantEmbedIntoSelf = -30594
|
||||
errCantEmbedRoot = -30595
|
||||
errItemNotControl = -30596
|
||||
controlInvalidDataVersionErr = -30597
|
||||
controlPropertyInvalid = -5603
|
||||
controlPropertyNotFoundErr = -5604
|
||||
controlHandleInvalidErr = -30599
|
||||
pushButProc = 0
|
||||
checkBoxProc = 1
|
||||
radioButProc = 2
|
||||
scrollBarProc = 16
|
||||
popupMenuProc = 1008
|
||||
kControlSupportsNewMessages = FOUR_CHAR_CODE(' ok ')
|
||||
kControlNoVariant = 0
|
||||
kControlUsesOwningWindowsFontVariant = 1 << 3
|
||||
kControlNoPart = 0
|
||||
kControlIndicatorPart = 129
|
||||
kControlDisabledPart = 254
|
||||
kControlInactivePart = 255
|
||||
kControlEntireControl = 0
|
||||
kControlStructureMetaPart = -1
|
||||
kControlContentMetaPart = -2
|
||||
kControlFocusNoPart = 0
|
||||
kControlFocusNextPart = -1
|
||||
kControlFocusPrevPart = -2
|
||||
kControlEntireControl = 0
|
||||
kControlKeyFilterBlockKey = 0
|
||||
kControlKeyFilterPassKey = 1
|
||||
kControlFocusPrevPart = -2
|
||||
kControlCollectionTagBounds = FOUR_CHAR_CODE('boun')
|
||||
kControlCollectionTagValue = FOUR_CHAR_CODE('valu')
|
||||
kControlCollectionTagMinimum = FOUR_CHAR_CODE('min ')
|
||||
kControlCollectionTagMaximum = FOUR_CHAR_CODE('max ')
|
||||
kControlCollectionTagViewSize = FOUR_CHAR_CODE('view')
|
||||
kControlCollectionTagVisibility = FOUR_CHAR_CODE('visi')
|
||||
kControlCollectionTagRefCon = FOUR_CHAR_CODE('refc')
|
||||
kControlCollectionTagTitle = FOUR_CHAR_CODE('titl')
|
||||
kControlCollectionTagIDSignature = FOUR_CHAR_CODE('idsi')
|
||||
kControlCollectionTagIDID = FOUR_CHAR_CODE('idid')
|
||||
kControlCollectionTagCommand = FOUR_CHAR_CODE('cmd ')
|
||||
kControlCollectionTagSubControls = FOUR_CHAR_CODE('subc')
|
||||
kControlContentTextOnly = 0
|
||||
kControlNoContent = 0
|
||||
kControlContentIconSuiteRes = 1
|
||||
kControlContentCIconRes = 2
|
||||
kControlContentPictRes = 3
|
||||
kControlContentICONRes = 4
|
||||
kControlContentIconSuiteHandle = 129
|
||||
kControlContentCIconHandle = 130
|
||||
kControlContentPictHandle = 131
|
||||
kControlContentIconRef = 132
|
||||
kControlContentICON = 133
|
||||
kControlKeyScriptBehaviorAllowAnyScript = FOUR_CHAR_CODE('any ')
|
||||
kControlKeyScriptBehaviorPrefersRoman = FOUR_CHAR_CODE('prmn')
|
||||
kControlKeyScriptBehaviorRequiresRoman = FOUR_CHAR_CODE('rrmn')
|
||||
kControlFontBigSystemFont = -1
|
||||
kControlFontSmallSystemFont = -2
|
||||
kControlFontSmallBoldSystemFont = -3
|
||||
kControlFontViewSystemFont = -4
|
||||
kControlUseFontMask = 0x0001
|
||||
kControlUseFaceMask = 0x0002
|
||||
kControlUseSizeMask = 0x0004
|
||||
|
@ -76,7 +75,11 @@ kControlUseModeMask = 0x0020
|
|||
kControlUseJustMask = 0x0040
|
||||
kControlUseAllMask = 0x00FF
|
||||
kControlAddFontSizeMask = 0x0100
|
||||
kControlAddToMetaFontMask = 0x0200
|
||||
kControlAddToMetaFontMask = 0x0200
|
||||
kDoNotActivateAndIgnoreClick = 0
|
||||
kDoNotActivateAndHandleClick = 1
|
||||
kActivateAndIgnoreClick = 2
|
||||
kActivateAndHandleClick = 3
|
||||
kControlFontStyleTag = FOUR_CHAR_CODE('font')
|
||||
kControlKeyFilterTag = FOUR_CHAR_CODE('fltr')
|
||||
kControlSupportsGhosting = 1 << 0
|
||||
|
@ -91,8 +94,25 @@ kControlGetsFocusOnClick = 1 << 8
|
|||
kControlSupportsCalcBestRect = 1 << 9
|
||||
kControlSupportsLiveFeedback = 1 << 10
|
||||
kControlHasRadioBehavior = 1 << 11
|
||||
kControlSupportsDragAndDrop = 1 << 12
|
||||
kControlAutoToggles = 1 << 14
|
||||
kControlSupportsGetRegion = 1 << 17
|
||||
kControlSupportsFlattening = 1 << 19
|
||||
kControlSupportsSetCursor = 1 << 20
|
||||
kControlSupportsContextualMenus = 1 << 21
|
||||
kControlSupportsClickActivation = 1 << 22
|
||||
drawCntl = 0
|
||||
testCntl = 1
|
||||
calcCRgns = 2
|
||||
initCntl = 3
|
||||
dispCntl = 4
|
||||
posCntl = 5
|
||||
thumbCntl = 6
|
||||
dragCntl = 7
|
||||
autoTrack = 8
|
||||
calcCntlRgn = 10
|
||||
calcThumbRgn = 11
|
||||
drawThumbOutline = 12
|
||||
kControlMsgDrawGhost = 13
|
||||
kControlMsgCalcBestRect = 14
|
||||
kControlMsgHandleTracking = 15
|
||||
|
@ -111,227 +131,38 @@ kControlMsgSubControlAdded = 28
|
|||
kControlMsgSubControlRemoved = 29
|
||||
kControlMsgApplyTextColor = 30
|
||||
kControlMsgGetRegion = 31
|
||||
kControlBevelButtonSmallBevelProc = 32
|
||||
kControlBevelButtonNormalBevelProc = 33
|
||||
kControlBevelButtonLargeBevelProc = 34
|
||||
kControlBevelButtonAlignSysDirection = -1
|
||||
kControlBevelButtonAlignCenter = 0
|
||||
kControlBevelButtonAlignLeft = 1
|
||||
kControlBevelButtonAlignRight = 2
|
||||
kControlBevelButtonAlignTop = 3
|
||||
kControlBevelButtonAlignBottom = 4
|
||||
kControlBevelButtonAlignTopLeft = 5
|
||||
kControlBevelButtonAlignBottomLeft = 6
|
||||
kControlBevelButtonAlignTopRight = 7
|
||||
kControlBevelButtonAlignBottomRight = 8
|
||||
kControlBevelButtonAlignTextSysDirection = teFlushDefault
|
||||
kControlBevelButtonAlignTextCenter = teCenter
|
||||
kControlBevelButtonAlignTextFlushRight = teFlushRight
|
||||
kControlBevelButtonAlignTextFlushLeft = teFlushLeft
|
||||
kControlBevelButtonPlaceSysDirection = -1
|
||||
kControlBevelButtonPlaceNormally = 0
|
||||
kControlBevelButtonPlaceToRightOfGraphic = 1
|
||||
kControlBevelButtonPlaceToLeftOfGraphic = 2
|
||||
kControlBevelButtonPlaceBelowGraphic = 3
|
||||
kControlBevelButtonPlaceAboveGraphic = 4
|
||||
kControlBevelButtonSmallBevelVariant = 0
|
||||
kControlBevelButtonNormalBevelVariant = (1 << 0)
|
||||
kControlBevelButtonLargeBevelVariant = (1 << 1)
|
||||
kControlBevelButtonMenuOnRight = (1 << 2)
|
||||
kControlBehaviorPushbutton = 0
|
||||
kControlBehaviorToggles = 0x0100
|
||||
kControlBehaviorSticky = 0x0200
|
||||
kControlBehaviorMultiValueMenu = 0x4000
|
||||
kControlBehaviorOffsetContents = 0x8000
|
||||
kControlBehaviorCommandMenu = 0x2000
|
||||
kControlContentTextOnly = 0
|
||||
kControlContentIconSuiteRes = 1
|
||||
kControlContentCIconRes = 2
|
||||
kControlContentPictRes = 3
|
||||
kControlContentIconSuiteHandle = 129
|
||||
kControlContentCIconHandle = 130
|
||||
kControlContentPictHandle = 131
|
||||
kControlContentIconRef = 132
|
||||
kControlBevelButtonContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlBevelButtonTransformTag = FOUR_CHAR_CODE('tran')
|
||||
kControlBevelButtonTextAlignTag = FOUR_CHAR_CODE('tali')
|
||||
kControlBevelButtonTextOffsetTag = FOUR_CHAR_CODE('toff')
|
||||
kControlBevelButtonGraphicAlignTag = FOUR_CHAR_CODE('gali')
|
||||
kControlBevelButtonGraphicOffsetTag = FOUR_CHAR_CODE('goff')
|
||||
kControlBevelButtonTextPlaceTag = FOUR_CHAR_CODE('tplc')
|
||||
kControlBevelButtonMenuValueTag = FOUR_CHAR_CODE('mval')
|
||||
kControlBevelButtonMenuHandleTag = FOUR_CHAR_CODE('mhnd')
|
||||
# kControlBevelButtonCenterPopupGlyphTag = FOUR_CHAR_CODE('pglc')
|
||||
kControlBevelButtonLastMenuTag = FOUR_CHAR_CODE('lmnu')
|
||||
kControlBevelButtonMenuDelayTag = FOUR_CHAR_CODE('mdly')
|
||||
kControlBevelButtonScaleIconTag = FOUR_CHAR_CODE('scal')
|
||||
kControlSliderProc = 48
|
||||
kControlSliderLiveFeedback = (1 << 0)
|
||||
kControlSliderHasTickMarks = (1 << 1)
|
||||
kControlSliderReverseDirection = (1 << 2)
|
||||
kControlSliderNonDirectional = (1 << 3)
|
||||
kControlTriangleProc = 64
|
||||
kControlTriangleLeftFacingProc = 65
|
||||
kControlTriangleAutoToggleProc = 66
|
||||
kControlTriangleLeftFacingAutoToggleProc = 67
|
||||
kControlTriangleLastValueTag = FOUR_CHAR_CODE('last')
|
||||
kControlProgressBarProc = 80
|
||||
# kControlProgressBarIndeterminateTag = FOUR_CHAR_CODE('inde')
|
||||
kControlLittleArrowsProc = 96
|
||||
kControlChasingArrowsProc = 112
|
||||
kControlTabLargeProc = 128
|
||||
kControlTabSmallProc = 129
|
||||
kControlTabLargeNorthProc = 128
|
||||
kControlTabSmallNorthProc = 129
|
||||
kControlTabLargeSouthProc = 130
|
||||
kControlTabSmallSouthProc = 131
|
||||
kControlTabLargeEastProc = 132
|
||||
kControlTabSmallEastProc = 133
|
||||
kControlTabLargeWestProc = 134
|
||||
kControlTabSmallWestProc = 135
|
||||
kControlTabContentRectTag = FOUR_CHAR_CODE('rect')
|
||||
kControlTabEnabledFlagTag = FOUR_CHAR_CODE('enab')
|
||||
kControlTabFontStyleTag = kControlFontStyleTag
|
||||
kControlTabInfoTag = FOUR_CHAR_CODE('tabi')
|
||||
kControlTabInfoVersionZero = 0
|
||||
kControlSeparatorLineProc = 144
|
||||
kControlGroupBoxTextTitleProc = 160
|
||||
kControlGroupBoxCheckBoxProc = 161
|
||||
kControlGroupBoxPopupButtonProc = 162
|
||||
kControlGroupBoxSecondaryTextTitleProc = 164
|
||||
kControlGroupBoxSecondaryCheckBoxProc = 165
|
||||
kControlGroupBoxSecondaryPopupButtonProc = 166
|
||||
kControlGroupBoxMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
||||
kControlGroupBoxFontStyleTag = kControlFontStyleTag
|
||||
kControlGroupBoxTitleRectTag = FOUR_CHAR_CODE('trec')
|
||||
kControlImageWellProc = 176
|
||||
kControlImageWellContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlImageWellTransformTag = FOUR_CHAR_CODE('tran')
|
||||
kControlPopupArrowEastProc = 192
|
||||
kControlPopupArrowWestProc = 193
|
||||
kControlPopupArrowNorthProc = 194
|
||||
kControlPopupArrowSouthProc = 195
|
||||
kControlPopupArrowSmallEastProc = 196
|
||||
kControlPopupArrowSmallWestProc = 197
|
||||
kControlPopupArrowSmallNorthProc = 198
|
||||
kControlPopupArrowSmallSouthProc = 199
|
||||
kControlPlacardProc = 224
|
||||
kControlClockTimeProc = 240
|
||||
kControlClockTimeSecondsProc = 241
|
||||
kControlClockDateProc = 242
|
||||
kControlClockMonthYearProc = 243
|
||||
kControlClockNoFlags = 0
|
||||
kControlClockIsDisplayOnly = 1
|
||||
kControlClockIsLive = 2
|
||||
kControlClockLongDateTag = FOUR_CHAR_CODE('date')
|
||||
kControlClockFontStyleTag = kControlFontStyleTag
|
||||
kControlUserPaneProc = 256
|
||||
kControlUserItemDrawProcTag = FOUR_CHAR_CODE('uidp')
|
||||
kControlUserPaneDrawProcTag = FOUR_CHAR_CODE('draw')
|
||||
kControlUserPaneHitTestProcTag = FOUR_CHAR_CODE('hitt')
|
||||
kControlUserPaneTrackingProcTag = FOUR_CHAR_CODE('trak')
|
||||
kControlUserPaneIdleProcTag = FOUR_CHAR_CODE('idle')
|
||||
kControlUserPaneKeyDownProcTag = FOUR_CHAR_CODE('keyd')
|
||||
kControlUserPaneActivateProcTag = FOUR_CHAR_CODE('acti')
|
||||
kControlUserPaneFocusProcTag = FOUR_CHAR_CODE('foci')
|
||||
kControlUserPaneBackgroundProcTag = FOUR_CHAR_CODE('back')
|
||||
kControlEditTextProc = 272
|
||||
kControlEditTextPasswordProc = 274
|
||||
kControlEditTextInlineInputProc = 276
|
||||
kControlEditTextStyleTag = kControlFontStyleTag
|
||||
kControlEditTextTextTag = FOUR_CHAR_CODE('text')
|
||||
kControlEditTextTEHandleTag = FOUR_CHAR_CODE('than')
|
||||
kControlEditTextKeyFilterTag = kControlKeyFilterTag
|
||||
kControlEditTextSelectionTag = FOUR_CHAR_CODE('sele')
|
||||
kControlEditTextPasswordTag = FOUR_CHAR_CODE('pass')
|
||||
kControlEditTextKeyScriptBehaviorTag = FOUR_CHAR_CODE('kscr')
|
||||
kControlEditTextLockedTag = FOUR_CHAR_CODE('lock')
|
||||
kControlEditTextFixedTextTag = FOUR_CHAR_CODE('ftxt')
|
||||
kControlEditTextValidationProcTag = FOUR_CHAR_CODE('vali')
|
||||
kControlEditTextInlinePreUpdateProcTag = FOUR_CHAR_CODE('prup')
|
||||
kControlEditTextInlinePostUpdateProcTag = FOUR_CHAR_CODE('poup')
|
||||
kControlStaticTextProc = 288
|
||||
kControlStaticTextStyleTag = kControlFontStyleTag
|
||||
kControlStaticTextTextTag = FOUR_CHAR_CODE('text')
|
||||
kControlStaticTextTextHeightTag = FOUR_CHAR_CODE('thei')
|
||||
kControlStaticTextTruncTag = FOUR_CHAR_CODE('trun')
|
||||
kControlPictureProc = 304
|
||||
kControlPictureNoTrackProc = 305
|
||||
kControlIconProc = 320
|
||||
kControlIconNoTrackProc = 321
|
||||
kControlIconSuiteProc = 322
|
||||
kControlIconSuiteNoTrackProc = 323
|
||||
kControlIconRefProc = 324
|
||||
kControlIconRefNoTrackProc = 325
|
||||
kControlIconTransformTag = FOUR_CHAR_CODE('trfm')
|
||||
kControlIconAlignmentTag = FOUR_CHAR_CODE('algn')
|
||||
kControlIconResourceIDTag = FOUR_CHAR_CODE('ires')
|
||||
kControlIconContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlWindowHeaderProc = 336
|
||||
kControlWindowListViewHeaderProc = 337
|
||||
kControlListBoxProc = 352
|
||||
kControlListBoxAutoSizeProc = 353
|
||||
kControlListBoxListHandleTag = FOUR_CHAR_CODE('lhan')
|
||||
kControlListBoxKeyFilterTag = kControlKeyFilterTag
|
||||
kControlListBoxFontStyleTag = kControlFontStyleTag
|
||||
kControlListBoxDoubleClickTag = FOUR_CHAR_CODE('dblc')
|
||||
kControlListBoxLDEFTag = FOUR_CHAR_CODE('ldef')
|
||||
kControlPushButtonProc = 368
|
||||
kControlCheckBoxProc = 369
|
||||
kControlRadioButtonProc = 370
|
||||
kControlPushButLeftIconProc = 374
|
||||
kControlPushButRightIconProc = 375
|
||||
kControlCheckBoxAutoToggleProc = 371
|
||||
kControlRadioButtonAutoToggleProc = 372
|
||||
kControlPushButtonDefaultTag = FOUR_CHAR_CODE('dflt')
|
||||
kControlPushButtonCancelTag = FOUR_CHAR_CODE('cncl')
|
||||
kControlScrollBarProc = 384
|
||||
kControlScrollBarLiveProc = 386
|
||||
kControlPopupButtonProc = 400
|
||||
kControlPopupFixedWidthVariant = 1 << 0
|
||||
kControlPopupVariableWidthVariant = 1 << 1
|
||||
kControlPopupUseAddResMenuVariant = 1 << 2
|
||||
kControlPopupUseWFontVariant = 1 << 3
|
||||
kControlPopupButtonMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
||||
kControlPopupButtonMenuIDTag = FOUR_CHAR_CODE('mnid')
|
||||
kControlPopupButtonExtraHeightTag = FOUR_CHAR_CODE('exht')
|
||||
kControlRadioGroupProc = 416
|
||||
kControlScrollTextBoxProc = 432
|
||||
kControlScrollTextBoxAutoScrollProc = 433
|
||||
kControlScrollTextBoxDelayBeforeAutoScrollTag = FOUR_CHAR_CODE('stdl')
|
||||
kControlScrollTextBoxDelayBetweenAutoScrollTag = FOUR_CHAR_CODE('scdl')
|
||||
kControlScrollTextBoxAutoScrollAmountTag = FOUR_CHAR_CODE('samt')
|
||||
kControlScrollTextBoxContentsTag = FOUR_CHAR_CODE('tres')
|
||||
kControlNoVariant = 0
|
||||
kControlUsesOwningWindowsFontVariant = 1 << 3
|
||||
kControlNoPart = 0
|
||||
kControlLabelPart = 1
|
||||
kControlMenuPart = 2
|
||||
kControlTrianglePart = 4
|
||||
kControlEditTextPart = 5
|
||||
kControlPicturePart = 6
|
||||
kControlIconPart = 7
|
||||
kControlClockPart = 8
|
||||
kControlListBoxPart = 24
|
||||
kControlListBoxDoubleClickPart = 25
|
||||
kControlImageWellPart = 26
|
||||
kControlRadioGroupPart = 27
|
||||
kControlButtonPart = 10
|
||||
kControlCheckBoxPart = 11
|
||||
kControlRadioButtonPart = 11
|
||||
kControlUpButtonPart = 20
|
||||
kControlDownButtonPart = 21
|
||||
kControlPageUpPart = 22
|
||||
kControlPageDownPart = 23
|
||||
kControlIndicatorPart = 129
|
||||
kControlDisabledPart = 254
|
||||
kControlInactivePart = 255
|
||||
kControlClockHourDayPart = 9
|
||||
kControlClockMinuteMonthPart = 10
|
||||
kControlClockSecondYearPart = 11
|
||||
kControlClockAMPMPart = 12
|
||||
kControlStructureMetaPart = -1
|
||||
kControlContentMetaPart = -2
|
||||
kControlMsgFlatten = 32
|
||||
kControlMsgSetCursor = 33
|
||||
kControlMsgDragEnter = 38
|
||||
kControlMsgDragLeave = 39
|
||||
kControlMsgDragWithin = 40
|
||||
kControlMsgDragReceive = 41
|
||||
kControlMsgDisplayDebugInfo = 46
|
||||
kControlMsgContextualMenuClick = 47
|
||||
kControlMsgGetClickActivation = 48
|
||||
kDrawControlEntireControl = 0
|
||||
kDrawControlIndicatorOnly = 129
|
||||
kDragControlEntireControl = 0
|
||||
kDragControlIndicator = 1
|
||||
kControlSupportsNewMessages = FOUR_CHAR_CODE(' ok ')
|
||||
kControlKeyFilterBlockKey = 0
|
||||
kControlKeyFilterPassKey = 1
|
||||
noConstraint = kNoConstraint
|
||||
hAxisOnly = 1
|
||||
vAxisOnly = 2
|
||||
kControlDefProcPtr = 0
|
||||
kControlPropertyPersistent = 0x00000001
|
||||
kDragTrackingEnterControl = kDragTrackingEnterWindow
|
||||
kDragTrackingInControl = kDragTrackingInWindow
|
||||
kDragTrackingLeaveControl = kDragTrackingLeaveWindow
|
||||
useWFont = kControlUsesOwningWindowsFontVariant
|
||||
inThumb = kControlIndicatorPart
|
||||
kNoHiliteControlPart = kControlNoPart
|
||||
kInIndicatorControlPart = kControlIndicatorPart
|
||||
kReservedControlPart = kControlDisabledPart
|
||||
kControlInactiveControlPart = kControlInactivePart
|
||||
kControlTabListResType = FOUR_CHAR_CODE('tab#')
|
||||
kControlListDescResType = FOUR_CHAR_CODE('ldes')
|
||||
kControlCheckBoxUncheckedValue = 0
|
||||
kControlCheckBoxCheckedValue = 1
|
||||
kControlCheckBoxMixedValue = 2
|
||||
|
@ -353,26 +184,236 @@ popupTitleNoStyle = 1 << 15
|
|||
popupTitleLeftJust = 0x00000000
|
||||
popupTitleCenterJust = 0x00000001
|
||||
popupTitleRightJust = 0x000000FF
|
||||
noConstraint = kNoConstraint
|
||||
hAxisOnly = 1
|
||||
vAxisOnly = 2
|
||||
drawCntl = 0
|
||||
testCntl = 1
|
||||
calcCRgns = 2
|
||||
initCntl = 3
|
||||
dispCntl = 4
|
||||
posCntl = 5
|
||||
thumbCntl = 6
|
||||
dragCntl = 7
|
||||
autoTrack = 8
|
||||
calcCntlRgn = 10
|
||||
calcThumbRgn = 11
|
||||
drawThumbOutline = 12
|
||||
kDrawControlEntireControl = 0
|
||||
kDrawControlIndicatorOnly = 129
|
||||
kDragControlEntireControl = 0
|
||||
kDragControlIndicator = 1
|
||||
useWFont = popupUseWFont
|
||||
pushButProc = 0
|
||||
checkBoxProc = 1
|
||||
radioButProc = 2
|
||||
scrollBarProc = 16
|
||||
popupMenuProc = 1008
|
||||
kControlLabelPart = 1
|
||||
kControlMenuPart = 2
|
||||
kControlTrianglePart = 4
|
||||
kControlEditTextPart = 5
|
||||
kControlPicturePart = 6
|
||||
kControlIconPart = 7
|
||||
kControlClockPart = 8
|
||||
kControlListBoxPart = 24
|
||||
kControlListBoxDoubleClickPart = 25
|
||||
kControlImageWellPart = 26
|
||||
kControlRadioGroupPart = 27
|
||||
kControlButtonPart = 10
|
||||
kControlCheckBoxPart = 11
|
||||
kControlRadioButtonPart = 11
|
||||
kControlUpButtonPart = 20
|
||||
kControlDownButtonPart = 21
|
||||
kControlPageUpPart = 22
|
||||
kControlPageDownPart = 23
|
||||
kControlClockHourDayPart = 9
|
||||
kControlClockMinuteMonthPart = 10
|
||||
kControlClockSecondYearPart = 11
|
||||
kControlClockAMPMPart = 12
|
||||
kControlDataBrowserPart = 24
|
||||
kControlDataBrowserDraggedPart = 25
|
||||
kControlBevelButtonSmallBevelProc = 32
|
||||
kControlBevelButtonNormalBevelProc = 33
|
||||
kControlBevelButtonLargeBevelProc = 34
|
||||
kControlBevelButtonSmallBevelVariant = 0
|
||||
kControlBevelButtonNormalBevelVariant = (1 << 0)
|
||||
kControlBevelButtonLargeBevelVariant = (1 << 1)
|
||||
kControlBevelButtonMenuOnRightVariant = (1 << 2)
|
||||
kControlBevelButtonSmallBevel = 0
|
||||
kControlBevelButtonNormalBevel = 1
|
||||
kControlBevelButtonLargeBevel = 2
|
||||
kControlBehaviorPushbutton = 0
|
||||
kControlBehaviorToggles = 0x0100
|
||||
kControlBehaviorSticky = 0x0200
|
||||
kControlBehaviorSingleValueMenu = 0
|
||||
kControlBehaviorMultiValueMenu = 0x4000
|
||||
kControlBehaviorOffsetContents = 0x8000
|
||||
kControlBehaviorCommandMenu = 0x2000
|
||||
kControlBevelButtonMenuOnBottom = 0
|
||||
kControlBevelButtonMenuOnRight = (1 << 2)
|
||||
kControlBevelButtonAlignSysDirection = -1
|
||||
kControlBevelButtonAlignCenter = 0
|
||||
kControlBevelButtonAlignLeft = 1
|
||||
kControlBevelButtonAlignRight = 2
|
||||
kControlBevelButtonAlignTop = 3
|
||||
kControlBevelButtonAlignBottom = 4
|
||||
kControlBevelButtonAlignTopLeft = 5
|
||||
kControlBevelButtonAlignBottomLeft = 6
|
||||
kControlBevelButtonAlignTopRight = 7
|
||||
kControlBevelButtonAlignBottomRight = 8
|
||||
kControlBevelButtonAlignTextSysDirection = teFlushDefault
|
||||
kControlBevelButtonAlignTextCenter = teCenter
|
||||
kControlBevelButtonAlignTextFlushRight = teFlushRight
|
||||
kControlBevelButtonAlignTextFlushLeft = teFlushLeft
|
||||
kControlBevelButtonPlaceSysDirection = -1
|
||||
kControlBevelButtonPlaceNormally = 0
|
||||
kControlBevelButtonPlaceToRightOfGraphic = 1
|
||||
kControlBevelButtonPlaceToLeftOfGraphic = 2
|
||||
kControlBevelButtonPlaceBelowGraphic = 3
|
||||
kControlBevelButtonPlaceAboveGraphic = 4
|
||||
kControlBevelButtonContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlBevelButtonTransformTag = FOUR_CHAR_CODE('tran')
|
||||
kControlBevelButtonTextAlignTag = FOUR_CHAR_CODE('tali')
|
||||
kControlBevelButtonTextOffsetTag = FOUR_CHAR_CODE('toff')
|
||||
kControlBevelButtonGraphicAlignTag = FOUR_CHAR_CODE('gali')
|
||||
kControlBevelButtonGraphicOffsetTag = FOUR_CHAR_CODE('goff')
|
||||
kControlBevelButtonTextPlaceTag = FOUR_CHAR_CODE('tplc')
|
||||
kControlBevelButtonMenuValueTag = FOUR_CHAR_CODE('mval')
|
||||
kControlBevelButtonMenuHandleTag = FOUR_CHAR_CODE('mhnd')
|
||||
# kControlBevelButtonCenterPopupGlyphTag = FOUR_CHAR_CODE('pglc')
|
||||
kControlBevelButtonLastMenuTag = FOUR_CHAR_CODE('lmnu')
|
||||
kControlBevelButtonMenuDelayTag = FOUR_CHAR_CODE('mdly')
|
||||
kControlBevelButtonScaleIconTag = FOUR_CHAR_CODE('scal')
|
||||
kControlSliderProc = 48
|
||||
kControlSliderLiveFeedback = (1 << 0)
|
||||
kControlSliderHasTickMarks = (1 << 1)
|
||||
kControlSliderReverseDirection = (1 << 2)
|
||||
kControlSliderNonDirectional = (1 << 3)
|
||||
kControlTriangleProc = 64
|
||||
kControlTriangleLeftFacingProc = 65
|
||||
kControlTriangleAutoToggleProc = 66
|
||||
kControlTriangleLeftFacingAutoToggleProc = 67
|
||||
kControlTriangleLastValueTag = FOUR_CHAR_CODE('last')
|
||||
kControlProgressBarProc = 80
|
||||
# kControlProgressBarIndeterminateTag = FOUR_CHAR_CODE('inde')
|
||||
kControlLittleArrowsProc = 96
|
||||
kControlChasingArrowsProc = 112
|
||||
kControlTabLargeProc = 128
|
||||
kControlTabSmallProc = 129
|
||||
kControlTabLargeNorthProc = 128
|
||||
kControlTabSmallNorthProc = 129
|
||||
kControlTabLargeSouthProc = 130
|
||||
kControlTabSmallSouthProc = 131
|
||||
kControlTabLargeEastProc = 132
|
||||
kControlTabSmallEastProc = 133
|
||||
kControlTabLargeWestProc = 134
|
||||
kControlTabSmallWestProc = 135
|
||||
kControlTabContentRectTag = FOUR_CHAR_CODE('rect')
|
||||
kControlTabEnabledFlagTag = FOUR_CHAR_CODE('enab')
|
||||
kControlTabFontStyleTag = kControlFontStyleTag
|
||||
kControlTabInfoTag = FOUR_CHAR_CODE('tabi')
|
||||
kControlTabInfoVersionZero = 0
|
||||
kControlSeparatorLineProc = 144
|
||||
kControlGroupBoxTextTitleProc = 160
|
||||
kControlGroupBoxCheckBoxProc = 161
|
||||
kControlGroupBoxPopupButtonProc = 162
|
||||
kControlGroupBoxSecondaryTextTitleProc = 164
|
||||
kControlGroupBoxSecondaryCheckBoxProc = 165
|
||||
kControlGroupBoxSecondaryPopupButtonProc = 166
|
||||
kControlGroupBoxMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
||||
kControlGroupBoxFontStyleTag = kControlFontStyleTag
|
||||
kControlGroupBoxTitleRectTag = FOUR_CHAR_CODE('trec')
|
||||
kControlImageWellProc = 176
|
||||
kControlImageWellContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlImageWellTransformTag = FOUR_CHAR_CODE('tran')
|
||||
kControlPopupArrowEastProc = 192
|
||||
kControlPopupArrowWestProc = 193
|
||||
kControlPopupArrowNorthProc = 194
|
||||
kControlPopupArrowSouthProc = 195
|
||||
kControlPopupArrowSmallEastProc = 196
|
||||
kControlPopupArrowSmallWestProc = 197
|
||||
kControlPopupArrowSmallNorthProc = 198
|
||||
kControlPopupArrowSmallSouthProc = 199
|
||||
kControlPopupArrowOrientationEast = 0
|
||||
kControlPopupArrowOrientationWest = 1
|
||||
kControlPopupArrowOrientationNorth = 2
|
||||
kControlPopupArrowOrientationSouth = 3
|
||||
kControlPlacardProc = 224
|
||||
kControlClockTimeProc = 240
|
||||
kControlClockTimeSecondsProc = 241
|
||||
kControlClockDateProc = 242
|
||||
kControlClockMonthYearProc = 243
|
||||
kControlClockTypeHourMinute = 0
|
||||
kControlClockTypeHourMinuteSecond = 1
|
||||
kControlClockTypeMonthDay = 2
|
||||
kControlClockTypeMonthDayYear = 3
|
||||
kControlClockFlagStandard = 0
|
||||
kControlClockNoFlags = 0
|
||||
kControlClockFlagDisplayOnly = 1
|
||||
kControlClockIsDisplayOnly = 1
|
||||
kControlClockFlagLive = 2
|
||||
kControlClockIsLive = 2
|
||||
kControlClockLongDateTag = FOUR_CHAR_CODE('date')
|
||||
kControlClockFontStyleTag = kControlFontStyleTag
|
||||
kControlUserPaneProc = 256
|
||||
kControlUserItemDrawProcTag = FOUR_CHAR_CODE('uidp')
|
||||
kControlUserPaneDrawProcTag = FOUR_CHAR_CODE('draw')
|
||||
kControlUserPaneHitTestProcTag = FOUR_CHAR_CODE('hitt')
|
||||
kControlUserPaneTrackingProcTag = FOUR_CHAR_CODE('trak')
|
||||
kControlUserPaneIdleProcTag = FOUR_CHAR_CODE('idle')
|
||||
kControlUserPaneKeyDownProcTag = FOUR_CHAR_CODE('keyd')
|
||||
kControlUserPaneActivateProcTag = FOUR_CHAR_CODE('acti')
|
||||
kControlUserPaneFocusProcTag = FOUR_CHAR_CODE('foci')
|
||||
kControlUserPaneBackgroundProcTag = FOUR_CHAR_CODE('back')
|
||||
kControlEditTextProc = 272
|
||||
kControlEditTextPasswordProc = 274
|
||||
kControlEditTextInlineInputProc = 276
|
||||
kControlEditTextStyleTag = kControlFontStyleTag
|
||||
kControlEditTextTextTag = FOUR_CHAR_CODE('text')
|
||||
kControlEditTextTEHandleTag = FOUR_CHAR_CODE('than')
|
||||
kControlEditTextKeyFilterTag = kControlKeyFilterTag
|
||||
kControlEditTextSelectionTag = FOUR_CHAR_CODE('sele')
|
||||
kControlEditTextPasswordTag = FOUR_CHAR_CODE('pass')
|
||||
kControlEditTextKeyScriptBehaviorTag = FOUR_CHAR_CODE('kscr')
|
||||
kControlEditTextLockedTag = FOUR_CHAR_CODE('lock')
|
||||
kControlEditTextFixedTextTag = FOUR_CHAR_CODE('ftxt')
|
||||
kControlEditTextValidationProcTag = FOUR_CHAR_CODE('vali')
|
||||
kControlEditTextInlinePreUpdateProcTag = FOUR_CHAR_CODE('prup')
|
||||
kControlEditTextInlinePostUpdateProcTag = FOUR_CHAR_CODE('poup')
|
||||
kControlStaticTextProc = 288
|
||||
kControlStaticTextStyleTag = kControlFontStyleTag
|
||||
kControlStaticTextTextTag = FOUR_CHAR_CODE('text')
|
||||
kControlStaticTextTextHeightTag = FOUR_CHAR_CODE('thei')
|
||||
kControlStaticTextTruncTag = FOUR_CHAR_CODE('trun')
|
||||
kControlPictureProc = 304
|
||||
kControlPictureNoTrackProc = 305
|
||||
kControlPictureHandleTag = FOUR_CHAR_CODE('pich')
|
||||
kControlIconProc = 320
|
||||
kControlIconNoTrackProc = 321
|
||||
kControlIconSuiteProc = 322
|
||||
kControlIconSuiteNoTrackProc = 323
|
||||
kControlIconRefProc = 324
|
||||
kControlIconRefNoTrackProc = 325
|
||||
kControlIconTransformTag = FOUR_CHAR_CODE('trfm')
|
||||
kControlIconAlignmentTag = FOUR_CHAR_CODE('algn')
|
||||
kControlIconResourceIDTag = FOUR_CHAR_CODE('ires')
|
||||
kControlIconContentTag = FOUR_CHAR_CODE('cont')
|
||||
kControlWindowHeaderProc = 336
|
||||
kControlWindowListViewHeaderProc = 337
|
||||
kControlListBoxProc = 352
|
||||
kControlListBoxAutoSizeProc = 353
|
||||
kControlListBoxListHandleTag = FOUR_CHAR_CODE('lhan')
|
||||
kControlListBoxKeyFilterTag = kControlKeyFilterTag
|
||||
kControlListBoxFontStyleTag = kControlFontStyleTag
|
||||
kControlListBoxDoubleClickTag = FOUR_CHAR_CODE('dblc')
|
||||
kControlListBoxLDEFTag = FOUR_CHAR_CODE('ldef')
|
||||
kControlPushButtonProc = 368
|
||||
kControlCheckBoxProc = 369
|
||||
kControlRadioButtonProc = 370
|
||||
kControlPushButLeftIconProc = 374
|
||||
kControlPushButRightIconProc = 375
|
||||
kControlCheckBoxAutoToggleProc = 371
|
||||
kControlRadioButtonAutoToggleProc = 372
|
||||
kControlPushButtonDefaultTag = FOUR_CHAR_CODE('dflt')
|
||||
kControlPushButtonCancelTag = FOUR_CHAR_CODE('cncl')
|
||||
kControlScrollBarProc = 384
|
||||
kControlScrollBarLiveProc = 386
|
||||
kControlPopupButtonProc = 400
|
||||
kControlPopupFixedWidthVariant = 1 << 0
|
||||
kControlPopupVariableWidthVariant = 1 << 1
|
||||
kControlPopupUseAddResMenuVariant = 1 << 2
|
||||
kControlPopupUseWFontVariant = kControlUsesOwningWindowsFontVariant
|
||||
kControlPopupButtonMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
||||
kControlPopupButtonMenuIDTag = FOUR_CHAR_CODE('mnid')
|
||||
kControlPopupButtonExtraHeightTag = FOUR_CHAR_CODE('exht')
|
||||
kControlRadioGroupProc = 416
|
||||
kControlScrollTextBoxProc = 432
|
||||
kControlScrollTextBoxAutoScrollProc = 433
|
||||
kControlScrollTextBoxDelayBeforeAutoScrollTag = FOUR_CHAR_CODE('stdl')
|
||||
kControlScrollTextBoxDelayBetweenAutoScrollTag = FOUR_CHAR_CODE('scdl')
|
||||
kControlScrollTextBoxAutoScrollAmountTag = FOUR_CHAR_CODE('samt')
|
||||
kControlScrollTextBoxContentsTag = FOUR_CHAR_CODE('tres')
|
||||
kControlCheckboxUncheckedValue = kControlCheckBoxUncheckedValue
|
||||
kControlCheckboxCheckedValue = kControlCheckBoxCheckedValue
|
||||
kControlCheckboxMixedValue = kControlCheckBoxMixedValue
|
||||
|
@ -385,8 +426,6 @@ inUpButton = kControlUpButtonPart
|
|||
inDownButton = kControlDownButtonPart
|
||||
inPageUp = kControlPageUpPart
|
||||
inPageDown = kControlPageDownPart
|
||||
inThumb = kControlIndicatorPart
|
||||
kNoHiliteControlPart = kControlNoPart
|
||||
kInLabelControlPart = kControlLabelPart
|
||||
kInMenuControlPart = kControlMenuPart
|
||||
kInTriangleControlPart = kControlTrianglePart
|
||||
|
@ -396,6 +435,3 @@ kInUpButtonControlPart = kControlUpButtonPart
|
|||
kInDownButtonControlPart = kControlDownButtonPart
|
||||
kInPageUpControlPart = kControlPageUpPart
|
||||
kInPageDownControlPart = kControlPageDownPart
|
||||
kInIndicatorControlPart = kControlIndicatorPart
|
||||
kReservedControlPart = kControlDisabledPart
|
||||
kControlInactiveControlPart = kControlInactivePart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue