2001-08-19 19:13:00 -03:00
|
|
|
# Generated from 'Controls.h'
|
|
|
|
|
|
|
|
def FOUR_CHAR_CODE(x): return x
|
2002-08-28 18:18:37 -03:00
|
|
|
from Carbon.TextEdit import *
|
|
|
|
from Carbon.QuickDraw import *
|
|
|
|
from Carbon.Dragconst import *
|
|
|
|
from Carbon.CarbonEvents import *
|
|
|
|
from Carbon.Appearance import *
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserItemAnyState = -1
|
|
|
|
kControlBevelButtonCenterPopupGlyphTag = -1
|
2002-08-28 18:18:37 -03:00
|
|
|
kDataBrowserClientPropertyFlagsMask = 0xFF000000
|
2001-08-19 19:13:00 -03:00
|
|
|
|
|
|
|
kControlDefProcType = FOUR_CHAR_CODE('CDEF')
|
|
|
|
kControlTemplateResourceType = FOUR_CHAR_CODE('CNTL')
|
|
|
|
kControlColorTableResourceType = FOUR_CHAR_CODE('cctb')
|
|
|
|
kControlDefProcResourceType = FOUR_CHAR_CODE('CDEF')
|
|
|
|
controlNotifyNothing = FOUR_CHAR_CODE('nada')
|
|
|
|
controlNotifyClick = FOUR_CHAR_CODE('clik')
|
|
|
|
controlNotifyFocus = FOUR_CHAR_CODE('focu')
|
2004-07-18 03:16:08 -03:00
|
|
|
controlNotifyKey = FOUR_CHAR_CODE('key ')
|
|
|
|
kControlCanAutoInvalidate = 1L << 0
|
2001-08-19 19:13:00 -03:00
|
|
|
staticTextProc = 256
|
|
|
|
editTextProc = 272
|
|
|
|
iconProc = 288
|
|
|
|
userItemProc = 304
|
2004-07-18 03:16:08 -03:00
|
|
|
pictItemProc = 320
|
2001-08-19 19:13:00 -03:00
|
|
|
cFrameColor = 0
|
|
|
|
cBodyColor = 1
|
|
|
|
cTextColor = 2
|
|
|
|
cThumbColor = 3
|
|
|
|
kNumberCtlCTabEntries = 4
|
|
|
|
kControlNoVariant = 0
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlUsesOwningWindowsFontVariant = 1 << 3
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlNoPart = 0
|
|
|
|
kControlIndicatorPart = 129
|
|
|
|
kControlDisabledPart = 254
|
|
|
|
kControlInactivePart = 255
|
|
|
|
kControlEntireControl = 0
|
|
|
|
kControlStructureMetaPart = -1
|
|
|
|
kControlContentMetaPart = -2
|
|
|
|
kControlFocusNoPart = 0
|
|
|
|
kControlFocusNextPart = -1
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlFocusPrevPart = -2
|
2001-08-19 19:13:00 -03:00
|
|
|
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')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlCollectionTagUnicodeTitle = FOUR_CHAR_CODE('uttl')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlCollectionTagIDSignature = FOUR_CHAR_CODE('idsi')
|
|
|
|
kControlCollectionTagIDID = FOUR_CHAR_CODE('idid')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlCollectionTagCommand = FOUR_CHAR_CODE('cmd ')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlCollectionTagVarCode = FOUR_CHAR_CODE('varc')
|
2001-08-19 19:13:00 -03:00
|
|
|
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')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlKeyScriptBehaviorRequiresRoman = FOUR_CHAR_CODE('rrmn')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlFontBigSystemFont = -1
|
|
|
|
kControlFontSmallSystemFont = -2
|
|
|
|
kControlFontSmallBoldSystemFont = -3
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlFontViewSystemFont = -4
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlUseFontMask = 0x0001
|
|
|
|
kControlUseFaceMask = 0x0002
|
|
|
|
kControlUseSizeMask = 0x0004
|
|
|
|
kControlUseForeColorMask = 0x0008
|
|
|
|
kControlUseBackColorMask = 0x0010
|
|
|
|
kControlUseModeMask = 0x0020
|
|
|
|
kControlUseJustMask = 0x0040
|
|
|
|
kControlUseAllMask = 0x00FF
|
|
|
|
kControlAddFontSizeMask = 0x0100
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlAddToMetaFontMask = 0x0200
|
|
|
|
kControlUseThemeFontIDMask = 0x0080
|
2001-08-19 19:13:00 -03:00
|
|
|
kDoNotActivateAndIgnoreClick = 0
|
|
|
|
kDoNotActivateAndHandleClick = 1
|
|
|
|
kActivateAndIgnoreClick = 2
|
2004-07-18 03:16:08 -03:00
|
|
|
kActivateAndHandleClick = 3
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlFontStyleTag = FOUR_CHAR_CODE('font')
|
|
|
|
kControlKeyFilterTag = FOUR_CHAR_CODE('fltr')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindTag = FOUR_CHAR_CODE('kind')
|
|
|
|
kControlSizeTag = FOUR_CHAR_CODE('size')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlSupportsGhosting = 1 << 0
|
|
|
|
kControlSupportsEmbedding = 1 << 1
|
|
|
|
kControlSupportsFocus = 1 << 2
|
|
|
|
kControlWantsIdle = 1 << 3
|
|
|
|
kControlWantsActivate = 1 << 4
|
|
|
|
kControlHandlesTracking = 1 << 5
|
|
|
|
kControlSupportsDataAccess = 1 << 6
|
|
|
|
kControlHasSpecialBackground = 1 << 7
|
|
|
|
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
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlSupportsClickActivation = 1 << 22
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlIdlesWithTimer = 1 << 23
|
2001-08-19 19:13:00 -03:00
|
|
|
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
|
|
|
|
kControlMsgFocus = 16
|
|
|
|
kControlMsgKeyDown = 17
|
|
|
|
kControlMsgIdle = 18
|
|
|
|
kControlMsgGetFeatures = 19
|
|
|
|
kControlMsgSetData = 20
|
|
|
|
kControlMsgGetData = 21
|
|
|
|
kControlMsgActivate = 22
|
|
|
|
kControlMsgSetUpBackground = 23
|
|
|
|
kControlMsgCalcValueFromPos = 26
|
|
|
|
kControlMsgTestNewMsgSupport = 27
|
|
|
|
kControlMsgSubValueChanged = 25
|
|
|
|
kControlMsgSubControlAdded = 28
|
|
|
|
kControlMsgSubControlRemoved = 29
|
|
|
|
kControlMsgApplyTextColor = 30
|
|
|
|
kControlMsgGetRegion = 31
|
|
|
|
kControlMsgFlatten = 32
|
|
|
|
kControlMsgSetCursor = 33
|
|
|
|
kControlMsgDragEnter = 38
|
|
|
|
kControlMsgDragLeave = 39
|
|
|
|
kControlMsgDragWithin = 40
|
|
|
|
kControlMsgDragReceive = 41
|
|
|
|
kControlMsgDisplayDebugInfo = 46
|
|
|
|
kControlMsgContextualMenuClick = 47
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlMsgGetClickActivation = 48
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlSizeNormal = 0
|
|
|
|
kControlSizeSmall = 1
|
|
|
|
kControlSizeLarge = 2
|
|
|
|
kControlSizeAuto = 0xFFFF
|
2001-08-19 19:13:00 -03:00
|
|
|
kDrawControlEntireControl = 0
|
|
|
|
kDrawControlIndicatorOnly = 129
|
|
|
|
kDragControlEntireControl = 0
|
|
|
|
kDragControlIndicator = 1
|
|
|
|
kControlSupportsNewMessages = FOUR_CHAR_CODE(' ok ')
|
|
|
|
kControlKeyFilterBlockKey = 0
|
|
|
|
kControlKeyFilterPassKey = 1
|
|
|
|
noConstraint = kNoConstraint
|
|
|
|
hAxisOnly = 1
|
|
|
|
vAxisOnly = 2
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlDefProcPtr = 0
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlDefObjectClass = 1
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindSignatureApple = FOUR_CHAR_CODE('appl')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPropertyPersistent = 0x00000001
|
2001-12-12 18:40:27 -04:00
|
|
|
kDragTrackingEnterControl = 2
|
|
|
|
kDragTrackingInControl = 3
|
|
|
|
kDragTrackingLeaveControl = 4
|
2001-08-19 19:13:00 -03:00
|
|
|
useWFont = kControlUsesOwningWindowsFontVariant
|
|
|
|
inThumb = kControlIndicatorPart
|
|
|
|
kNoHiliteControlPart = kControlNoPart
|
|
|
|
kInIndicatorControlPart = kControlIndicatorPart
|
|
|
|
kReservedControlPart = kControlDisabledPart
|
|
|
|
kControlInactiveControlPart = kControlInactivePart
|
|
|
|
kControlTabListResType = FOUR_CHAR_CODE('tab#')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlListDescResType = FOUR_CHAR_CODE('ldes')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlCheckBoxUncheckedValue = 0
|
|
|
|
kControlCheckBoxCheckedValue = 1
|
|
|
|
kControlCheckBoxMixedValue = 2
|
|
|
|
kControlRadioButtonUncheckedValue = 0
|
|
|
|
kControlRadioButtonCheckedValue = 1
|
|
|
|
kControlRadioButtonMixedValue = 2
|
|
|
|
popupFixedWidth = 1 << 0
|
|
|
|
popupVariableWidth = 1 << 1
|
|
|
|
popupUseAddResMenu = 1 << 2
|
|
|
|
popupUseWFont = 1 << 3
|
|
|
|
popupTitleBold = 1 << 8
|
|
|
|
popupTitleItalic = 1 << 9
|
|
|
|
popupTitleUnderline = 1 << 10
|
|
|
|
popupTitleOutline = 1 << 11
|
|
|
|
popupTitleShadow = 1 << 12
|
|
|
|
popupTitleCondense = 1 << 13
|
|
|
|
popupTitleExtend = 1 << 14
|
|
|
|
popupTitleNoStyle = 1 << 15
|
|
|
|
popupTitleLeftJust = 0x00000000
|
|
|
|
popupTitleCenterJust = 0x00000001
|
|
|
|
popupTitleRightJust = 0x000000FF
|
|
|
|
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
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlDataBrowserDraggedPart = 25
|
2001-08-19 19:13:00 -03:00
|
|
|
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
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlBehaviorCommandMenu = 0x2000
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlBevelButtonMenuOnBottom = 0
|
|
|
|
kControlBevelButtonMenuOnRight = (1 << 2)
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindBevelButton = FOUR_CHAR_CODE('bevl')
|
2001-08-19 19:13:00 -03:00
|
|
|
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')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlBevelButtonMenuRefTag = FOUR_CHAR_CODE('mhnd')
|
2004-07-18 03:16:08 -03:00
|
|
|
# kControlBevelButtonCenterPopupGlyphTag = FOUR_CHAR_CODE('pglc')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlBevelButtonLastMenuTag = FOUR_CHAR_CODE('lmnu')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlBevelButtonMenuDelayTag = FOUR_CHAR_CODE('mdly')
|
|
|
|
kControlBevelButtonScaleIconTag = FOUR_CHAR_CODE('scal')
|
2003-12-05 19:59:37 -04:00
|
|
|
kControlBevelButtonOwnedMenuRefTag = FOUR_CHAR_CODE('omrf')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlBevelButtonKindTag = FOUR_CHAR_CODE('bebk')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlSliderProc = 48
|
|
|
|
kControlSliderLiveFeedback = (1 << 0)
|
|
|
|
kControlSliderHasTickMarks = (1 << 1)
|
|
|
|
kControlSliderReverseDirection = (1 << 2)
|
|
|
|
kControlSliderNonDirectional = (1 << 3)
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlSliderPointsDownOrRight = 0
|
|
|
|
kControlSliderPointsUpOrLeft = 1
|
|
|
|
kControlSliderDoesNotPoint = 2
|
|
|
|
kControlKindSlider = FOUR_CHAR_CODE('sldr')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlTriangleProc = 64
|
|
|
|
kControlTriangleLeftFacingProc = 65
|
|
|
|
kControlTriangleAutoToggleProc = 66
|
|
|
|
kControlTriangleLeftFacingAutoToggleProc = 67
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlDisclosureTrianglePointDefault = 0
|
|
|
|
kControlDisclosureTrianglePointRight = 1
|
|
|
|
kControlDisclosureTrianglePointLeft = 2
|
|
|
|
kControlKindDisclosureTriangle = FOUR_CHAR_CODE('dist')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlTriangleLastValueTag = FOUR_CHAR_CODE('last')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlProgressBarProc = 80
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlRelevanceBarProc = 81
|
|
|
|
kControlKindProgressBar = FOUR_CHAR_CODE('prgb')
|
|
|
|
kControlKindRelevanceBar = FOUR_CHAR_CODE('relb')
|
|
|
|
kControlProgressBarIndeterminateTag = FOUR_CHAR_CODE('inde')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlProgressBarAnimatingTag = FOUR_CHAR_CODE('anim')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlLittleArrowsProc = 96
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindLittleArrows = FOUR_CHAR_CODE('larr')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlChasingArrowsProc = 112
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindChasingArrows = FOUR_CHAR_CODE('carr')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlChasingArrowsAnimatingTag = FOUR_CHAR_CODE('anim')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlTabLargeProc = 128
|
|
|
|
kControlTabSmallProc = 129
|
|
|
|
kControlTabLargeNorthProc = 128
|
|
|
|
kControlTabSmallNorthProc = 129
|
|
|
|
kControlTabLargeSouthProc = 130
|
|
|
|
kControlTabSmallSouthProc = 131
|
|
|
|
kControlTabLargeEastProc = 132
|
|
|
|
kControlTabSmallEastProc = 133
|
|
|
|
kControlTabLargeWestProc = 134
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlTabSmallWestProc = 135
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlTabDirectionNorth = 0
|
|
|
|
kControlTabDirectionSouth = 1
|
|
|
|
kControlTabDirectionEast = 2
|
|
|
|
kControlTabDirectionWest = 3
|
|
|
|
kControlTabSizeLarge = kControlSizeNormal
|
|
|
|
kControlTabSizeSmall = kControlSizeSmall
|
|
|
|
kControlKindTabs = FOUR_CHAR_CODE('tabs')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlTabContentRectTag = FOUR_CHAR_CODE('rect')
|
|
|
|
kControlTabEnabledFlagTag = FOUR_CHAR_CODE('enab')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlTabFontStyleTag = kControlFontStyleTag
|
|
|
|
kControlTabInfoTag = FOUR_CHAR_CODE('tabi')
|
|
|
|
kControlTabImageContentTag = FOUR_CHAR_CODE('cont')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlTabInfoVersionZero = 0
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlTabInfoVersionOne = 1
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlSeparatorLineProc = 144
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindSeparator = FOUR_CHAR_CODE('sepa')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlGroupBoxTextTitleProc = 160
|
|
|
|
kControlGroupBoxCheckBoxProc = 161
|
|
|
|
kControlGroupBoxPopupButtonProc = 162
|
|
|
|
kControlGroupBoxSecondaryTextTitleProc = 164
|
|
|
|
kControlGroupBoxSecondaryCheckBoxProc = 165
|
|
|
|
kControlGroupBoxSecondaryPopupButtonProc = 166
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindGroupBox = FOUR_CHAR_CODE('grpb')
|
|
|
|
kControlKindCheckGroupBox = FOUR_CHAR_CODE('cgrp')
|
|
|
|
kControlKindPopupGroupBox = FOUR_CHAR_CODE('pgrp')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlGroupBoxMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlGroupBoxMenuRefTag = FOUR_CHAR_CODE('mhan')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlGroupBoxFontStyleTag = kControlFontStyleTag
|
|
|
|
kControlGroupBoxTitleRectTag = FOUR_CHAR_CODE('trec')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlImageWellProc = 176
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindImageWell = FOUR_CHAR_CODE('well')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlImageWellContentTag = FOUR_CHAR_CODE('cont')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlImageWellTransformTag = FOUR_CHAR_CODE('tran')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlImageWellIsDragDestinationTag = FOUR_CHAR_CODE('drag')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPopupArrowEastProc = 192
|
|
|
|
kControlPopupArrowWestProc = 193
|
|
|
|
kControlPopupArrowNorthProc = 194
|
|
|
|
kControlPopupArrowSouthProc = 195
|
|
|
|
kControlPopupArrowSmallEastProc = 196
|
|
|
|
kControlPopupArrowSmallWestProc = 197
|
|
|
|
kControlPopupArrowSmallNorthProc = 198
|
|
|
|
kControlPopupArrowSmallSouthProc = 199
|
|
|
|
kControlPopupArrowOrientationEast = 0
|
|
|
|
kControlPopupArrowOrientationWest = 1
|
|
|
|
kControlPopupArrowOrientationNorth = 2
|
|
|
|
kControlPopupArrowOrientationSouth = 3
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlPopupArrowSizeNormal = 0
|
|
|
|
kControlPopupArrowSizeSmall = 1
|
|
|
|
kControlKindPopupArrow = FOUR_CHAR_CODE('parr')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPlacardProc = 224
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindPlacard = FOUR_CHAR_CODE('plac')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlClockTimeProc = 240
|
|
|
|
kControlClockTimeSecondsProc = 241
|
|
|
|
kControlClockDateProc = 242
|
|
|
|
kControlClockMonthYearProc = 243
|
|
|
|
kControlClockTypeHourMinute = 0
|
|
|
|
kControlClockTypeHourMinuteSecond = 1
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlClockTypeMonthDayYear = 2
|
|
|
|
kControlClockTypeMonthYear = 3
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlClockFlagStandard = 0
|
|
|
|
kControlClockNoFlags = 0
|
|
|
|
kControlClockFlagDisplayOnly = 1
|
|
|
|
kControlClockIsDisplayOnly = 1
|
|
|
|
kControlClockFlagLive = 2
|
|
|
|
kControlClockIsLive = 2
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindClock = FOUR_CHAR_CODE('clck')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlClockLongDateTag = FOUR_CHAR_CODE('date')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlClockFontStyleTag = kControlFontStyleTag
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlClockAnimatingTag = FOUR_CHAR_CODE('anim')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlUserPaneProc = 256
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindUserPane = FOUR_CHAR_CODE('upan')
|
2001-08-19 19:13:00 -03:00
|
|
|
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')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlUserPaneBackgroundProcTag = FOUR_CHAR_CODE('back')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlEditTextProc = 272
|
|
|
|
kControlEditTextPasswordProc = 274
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlEditTextInlineInputProc = 276
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindEditText = FOUR_CHAR_CODE('etxt')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlEditTextStyleTag = kControlFontStyleTag
|
|
|
|
kControlEditTextTextTag = FOUR_CHAR_CODE('text')
|
|
|
|
kControlEditTextTEHandleTag = FOUR_CHAR_CODE('than')
|
|
|
|
kControlEditTextKeyFilterTag = kControlKeyFilterTag
|
|
|
|
kControlEditTextSelectionTag = FOUR_CHAR_CODE('sele')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlEditTextPasswordTag = FOUR_CHAR_CODE('pass')
|
2001-08-19 19:13:00 -03:00
|
|
|
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')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlEditTextInlinePostUpdateProcTag = FOUR_CHAR_CODE('poup')
|
2003-12-05 19:59:37 -04:00
|
|
|
kControlEditTextCFStringTag = FOUR_CHAR_CODE('cfst')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlEditTextPasswordCFStringTag = FOUR_CHAR_CODE('pwcf')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlStaticTextProc = 288
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindStaticText = FOUR_CHAR_CODE('stxt')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlStaticTextStyleTag = kControlFontStyleTag
|
|
|
|
kControlStaticTextTextTag = FOUR_CHAR_CODE('text')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlStaticTextTextHeightTag = FOUR_CHAR_CODE('thei')
|
|
|
|
kControlStaticTextTruncTag = FOUR_CHAR_CODE('trun')
|
|
|
|
kControlStaticTextCFStringTag = FOUR_CHAR_CODE('cfst')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPictureProc = 304
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPictureNoTrackProc = 305
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindPicture = FOUR_CHAR_CODE('pict')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPictureHandleTag = FOUR_CHAR_CODE('pich')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlIconProc = 320
|
|
|
|
kControlIconNoTrackProc = 321
|
|
|
|
kControlIconSuiteProc = 322
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlIconSuiteNoTrackProc = 323
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlIconRefProc = 324
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlIconRefNoTrackProc = 325
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindIcon = FOUR_CHAR_CODE('icon')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlIconTransformTag = FOUR_CHAR_CODE('trfm')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlIconAlignmentTag = FOUR_CHAR_CODE('algn')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlIconResourceIDTag = FOUR_CHAR_CODE('ires')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlIconContentTag = FOUR_CHAR_CODE('cont')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlWindowHeaderProc = 336
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlWindowListViewHeaderProc = 337
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindWindowHeader = FOUR_CHAR_CODE('whed')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlListBoxProc = 352
|
|
|
|
kControlListBoxAutoSizeProc = 353
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindListBox = FOUR_CHAR_CODE('lbox')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlListBoxListHandleTag = FOUR_CHAR_CODE('lhan')
|
|
|
|
kControlListBoxKeyFilterTag = kControlKeyFilterTag
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlListBoxFontStyleTag = kControlFontStyleTag
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlListBoxDoubleClickTag = FOUR_CHAR_CODE('dblc')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlListBoxLDEFTag = FOUR_CHAR_CODE('ldef')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPushButtonProc = 368
|
|
|
|
kControlCheckBoxProc = 369
|
|
|
|
kControlRadioButtonProc = 370
|
|
|
|
kControlPushButLeftIconProc = 374
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPushButRightIconProc = 375
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlCheckBoxAutoToggleProc = 371
|
|
|
|
kControlRadioButtonAutoToggleProc = 372
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlPushButtonIconOnLeft = 6
|
|
|
|
kControlPushButtonIconOnRight = 7
|
|
|
|
kControlKindPushButton = FOUR_CHAR_CODE('push')
|
|
|
|
kControlKindPushIconButton = FOUR_CHAR_CODE('picn')
|
|
|
|
kControlKindRadioButton = FOUR_CHAR_CODE('rdio')
|
|
|
|
kControlKindCheckBox = FOUR_CHAR_CODE('cbox')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPushButtonDefaultTag = FOUR_CHAR_CODE('dflt')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPushButtonCancelTag = FOUR_CHAR_CODE('cncl')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlScrollBarProc = 384
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlScrollBarLiveProc = 386
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindScrollBar = FOUR_CHAR_CODE('sbar')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlScrollBarShowsArrowsTag = FOUR_CHAR_CODE('arro')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPopupButtonProc = 400
|
|
|
|
kControlPopupFixedWidthVariant = 1 << 0
|
|
|
|
kControlPopupVariableWidthVariant = 1 << 1
|
|
|
|
kControlPopupUseAddResMenuVariant = 1 << 2
|
|
|
|
kControlPopupUseWFontVariant = kControlUsesOwningWindowsFontVariant
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindPopupButton = FOUR_CHAR_CODE('popb')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlPopupButtonMenuHandleTag = FOUR_CHAR_CODE('mhan')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlPopupButtonMenuRefTag = FOUR_CHAR_CODE('mhan')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPopupButtonMenuIDTag = FOUR_CHAR_CODE('mnid')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlPopupButtonExtraHeightTag = FOUR_CHAR_CODE('exht')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlPopupButtonOwnedMenuRefTag = FOUR_CHAR_CODE('omrf')
|
|
|
|
kControlPopupButtonCheckCurrentTag = FOUR_CHAR_CODE('chck')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlRadioGroupProc = 416
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindRadioGroup = FOUR_CHAR_CODE('rgrp')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlScrollTextBoxProc = 432
|
|
|
|
kControlScrollTextBoxAutoScrollProc = 433
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindScrollingTextBox = FOUR_CHAR_CODE('stbx')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlScrollTextBoxDelayBeforeAutoScrollTag = FOUR_CHAR_CODE('stdl')
|
|
|
|
kControlScrollTextBoxDelayBetweenAutoScrollTag = FOUR_CHAR_CODE('scdl')
|
|
|
|
kControlScrollTextBoxAutoScrollAmountTag = FOUR_CHAR_CODE('samt')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlScrollTextBoxContentsTag = FOUR_CHAR_CODE('tres')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlScrollTextBoxAnimatingTag = FOUR_CHAR_CODE('anim')
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindDisclosureButton = FOUR_CHAR_CODE('disb')
|
|
|
|
kControlDisclosureButtonClosed = 0
|
|
|
|
kControlDisclosureButtonDisclosed = 1
|
|
|
|
kControlRoundButtonNormalSize = kControlSizeNormal
|
|
|
|
kControlRoundButtonLargeSize = kControlSizeLarge
|
|
|
|
kControlRoundButtonContentTag = FOUR_CHAR_CODE('cont')
|
2004-07-18 03:16:08 -03:00
|
|
|
kControlRoundButtonSizeTag = kControlSizeTag
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlKindRoundButton = FOUR_CHAR_CODE('rndb')
|
|
|
|
kControlKindDataBrowser = FOUR_CHAR_CODE('datb')
|
|
|
|
errDataBrowserNotConfigured = -4970
|
|
|
|
errDataBrowserItemNotFound = -4971
|
|
|
|
errDataBrowserItemNotAdded = -4975
|
|
|
|
errDataBrowserPropertyNotFound = -4972
|
|
|
|
errDataBrowserInvalidPropertyPart = -4973
|
|
|
|
errDataBrowserInvalidPropertyData = -4974
|
2004-07-18 03:16:08 -03:00
|
|
|
errDataBrowserPropertyNotSupported = -4979
|
2001-12-12 18:40:27 -04:00
|
|
|
kControlDataBrowserIncludesFrameAndFocusTag = FOUR_CHAR_CODE('brdr')
|
|
|
|
kControlDataBrowserKeyFilterTag = kControlEditTextKeyFilterTag
|
|
|
|
kControlDataBrowserEditTextKeyFilterTag = kControlDataBrowserKeyFilterTag
|
|
|
|
kControlDataBrowserEditTextValidationProcTag = kControlEditTextValidationProcTag
|
|
|
|
kDataBrowserNoView = 0x3F3F3F3F
|
|
|
|
kDataBrowserListView = FOUR_CHAR_CODE('lstv')
|
|
|
|
kDataBrowserColumnView = FOUR_CHAR_CODE('clmv')
|
|
|
|
kDataBrowserDragSelect = 1 << 0
|
|
|
|
kDataBrowserSelectOnlyOne = 1 << 1
|
|
|
|
kDataBrowserResetSelection = 1 << 2
|
|
|
|
kDataBrowserCmdTogglesSelection = 1 << 3
|
|
|
|
kDataBrowserNoDisjointSelection = 1 << 4
|
|
|
|
kDataBrowserAlwaysExtendSelection = 1 << 5
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserNeverEmptySelectionSet = 1 << 6
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserOrderUndefined = 0
|
|
|
|
kDataBrowserOrderIncreasing = 1
|
|
|
|
kDataBrowserOrderDecreasing = 2
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserNoItem = 0L
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserItemNoState = 0
|
|
|
|
# kDataBrowserItemAnyState = (unsigned long)(-1)
|
|
|
|
kDataBrowserItemIsSelected = 1 << 0
|
|
|
|
kDataBrowserContainerIsOpen = 1 << 1
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserItemIsDragTarget = 1 << 2
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserRevealOnly = 0
|
|
|
|
kDataBrowserRevealAndCenterInView = 1 << 0
|
|
|
|
kDataBrowserRevealWithoutSelecting = 1 << 1
|
|
|
|
kDataBrowserItemsAdd = 0
|
|
|
|
kDataBrowserItemsAssign = 1
|
|
|
|
kDataBrowserItemsToggle = 2
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserItemsRemove = 3
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserSelectionAnchorUp = 0
|
|
|
|
kDataBrowserSelectionAnchorDown = 1
|
|
|
|
kDataBrowserSelectionAnchorLeft = 2
|
|
|
|
kDataBrowserSelectionAnchorRight = 3
|
|
|
|
kDataBrowserEditMsgUndo = kHICommandUndo
|
|
|
|
kDataBrowserEditMsgRedo = kHICommandRedo
|
|
|
|
kDataBrowserEditMsgCut = kHICommandCut
|
|
|
|
kDataBrowserEditMsgCopy = kHICommandCopy
|
|
|
|
kDataBrowserEditMsgPaste = kHICommandPaste
|
|
|
|
kDataBrowserEditMsgClear = kHICommandClear
|
|
|
|
kDataBrowserEditMsgSelectAll = kHICommandSelectAll
|
|
|
|
kDataBrowserItemAdded = 1
|
|
|
|
kDataBrowserItemRemoved = 2
|
|
|
|
kDataBrowserEditStarted = 3
|
|
|
|
kDataBrowserEditStopped = 4
|
|
|
|
kDataBrowserItemSelected = 5
|
|
|
|
kDataBrowserItemDeselected = 6
|
|
|
|
kDataBrowserItemDoubleClicked = 7
|
|
|
|
kDataBrowserContainerOpened = 8
|
|
|
|
kDataBrowserContainerClosing = 9
|
|
|
|
kDataBrowserContainerClosed = 10
|
|
|
|
kDataBrowserContainerSorting = 11
|
|
|
|
kDataBrowserContainerSorted = 12
|
|
|
|
kDataBrowserUserToggledContainer = 16
|
|
|
|
kDataBrowserTargetChanged = 15
|
|
|
|
kDataBrowserUserStateChanged = 13
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserSelectionSetChanged = 14
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserItemNoProperty = 0L
|
|
|
|
kDataBrowserItemIsActiveProperty = 1L
|
|
|
|
kDataBrowserItemIsSelectableProperty = 2L
|
|
|
|
kDataBrowserItemIsEditableProperty = 3L
|
|
|
|
kDataBrowserItemIsContainerProperty = 4L
|
|
|
|
kDataBrowserContainerIsOpenableProperty = 5L
|
|
|
|
kDataBrowserContainerIsClosableProperty = 6L
|
|
|
|
kDataBrowserContainerIsSortableProperty = 7L
|
|
|
|
kDataBrowserItemSelfIdentityProperty = 8L
|
|
|
|
kDataBrowserContainerAliasIDProperty = 9L
|
|
|
|
kDataBrowserColumnViewPreviewProperty = 10L
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserItemParentContainerProperty = 11L
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserCustomType = 0x3F3F3F3F
|
|
|
|
kDataBrowserIconType = FOUR_CHAR_CODE('icnr')
|
|
|
|
kDataBrowserTextType = FOUR_CHAR_CODE('text')
|
|
|
|
kDataBrowserDateTimeType = FOUR_CHAR_CODE('date')
|
|
|
|
kDataBrowserSliderType = FOUR_CHAR_CODE('sldr')
|
|
|
|
kDataBrowserCheckboxType = FOUR_CHAR_CODE('chbx')
|
|
|
|
kDataBrowserProgressBarType = FOUR_CHAR_CODE('prog')
|
|
|
|
kDataBrowserRelevanceRankType = FOUR_CHAR_CODE('rank')
|
|
|
|
kDataBrowserPopupMenuType = FOUR_CHAR_CODE('menu')
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserIconAndTextType = FOUR_CHAR_CODE('ticn')
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserPropertyEnclosingPart = 0L
|
|
|
|
kDataBrowserPropertyContentPart = FOUR_CHAR_CODE('----')
|
|
|
|
kDataBrowserPropertyDisclosurePart = FOUR_CHAR_CODE('disc')
|
|
|
|
kDataBrowserPropertyTextPart = kDataBrowserTextType
|
|
|
|
kDataBrowserPropertyIconPart = kDataBrowserIconType
|
|
|
|
kDataBrowserPropertySliderPart = kDataBrowserSliderType
|
|
|
|
kDataBrowserPropertyCheckboxPart = kDataBrowserCheckboxType
|
|
|
|
kDataBrowserPropertyProgressBarPart = kDataBrowserProgressBarType
|
|
|
|
kDataBrowserPropertyRelevanceRankPart = kDataBrowserRelevanceRankType
|
|
|
|
kDataBrowserUniversalPropertyFlagsMask = 0xFF
|
|
|
|
kDataBrowserPropertyIsMutable = 1 << 0
|
|
|
|
kDataBrowserDefaultPropertyFlags = 0 << 0
|
|
|
|
kDataBrowserUniversalPropertyFlags = kDataBrowserUniversalPropertyFlagsMask
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserPropertyIsEditable = kDataBrowserPropertyIsMutable
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserPropertyFlagsOffset = 8
|
|
|
|
kDataBrowserPropertyFlagsMask = 0xFF << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserCheckboxTriState = 1 << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserDateTimeRelative = 1 << (kDataBrowserPropertyFlagsOffset)
|
|
|
|
kDataBrowserDateTimeDateOnly = 1 << (kDataBrowserPropertyFlagsOffset + 1)
|
|
|
|
kDataBrowserDateTimeTimeOnly = 1 << (kDataBrowserPropertyFlagsOffset + 2)
|
|
|
|
kDataBrowserDateTimeSecondsToo = 1 << (kDataBrowserPropertyFlagsOffset + 3)
|
|
|
|
kDataBrowserSliderPlainThumb = kThemeThumbPlain << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserSliderUpwardThumb = kThemeThumbUpward << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserSliderDownwardThumb = kThemeThumbDownward << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserDoNotTruncateText = 3 << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserTruncateTextAtEnd = 2 << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserTruncateTextMiddle = 0 << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserTruncateTextAtStart = 1 << kDataBrowserPropertyFlagsOffset
|
|
|
|
kDataBrowserPropertyModificationFlags = kDataBrowserPropertyFlagsMask
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserRelativeDateTime = kDataBrowserDateTimeRelative
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserViewSpecificFlagsOffset = 16
|
|
|
|
kDataBrowserViewSpecificFlagsMask = 0xFF << kDataBrowserViewSpecificFlagsOffset
|
2004-07-18 03:16:08 -03:00
|
|
|
kDataBrowserViewSpecificPropertyFlags = kDataBrowserViewSpecificFlagsMask
|
2001-12-12 18:40:27 -04:00
|
|
|
kDataBrowserClientPropertyFlagsOffset = 24
|
|
|
|
# kDataBrowserClientPropertyFlagsMask = (unsigned long)(0xFF << kDataBrowserClientPropertyFlagsOffset)
|
|
|
|
kDataBrowserLatestCallbacks = 0
|
|
|
|
kDataBrowserContentHit = 1
|
|
|
|
kDataBrowserNothingHit = 0
|
|
|
|
kDataBrowserStopTracking = -1
|
|
|
|
kDataBrowserLatestCustomCallbacks = 0
|
|
|
|
kDataBrowserTableViewMinimalHilite = 0
|
|
|
|
kDataBrowserTableViewFillHilite = 1
|
|
|
|
kDataBrowserTableViewSelectionColumn = 1 << kDataBrowserViewSpecificFlagsOffset
|
|
|
|
kDataBrowserTableViewLastColumn = -1
|
|
|
|
kDataBrowserListViewMovableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 1)
|
|
|
|
kDataBrowserListViewSortableColumn = 1 << (kDataBrowserViewSpecificFlagsOffset + 2)
|
|
|
|
kDataBrowserListViewSelectionColumn = kDataBrowserTableViewSelectionColumn
|
|
|
|
kDataBrowserListViewDefaultColumnFlags = kDataBrowserListViewMovableColumn + kDataBrowserListViewSortableColumn
|
|
|
|
kDataBrowserListViewLatestHeaderDesc = 0
|
|
|
|
kDataBrowserListViewAppendColumn = kDataBrowserTableViewLastColumn
|
|
|
|
kControlEditUnicodeTextPostUpdateProcTag = FOUR_CHAR_CODE('upup')
|
|
|
|
kControlEditUnicodeTextProc = 912
|
|
|
|
kControlEditUnicodeTextPasswordProc = 914
|
2003-12-05 19:59:37 -04:00
|
|
|
kControlKindEditUnicodeText = FOUR_CHAR_CODE('eutx')
|
2001-08-19 19:13:00 -03:00
|
|
|
kControlCheckboxUncheckedValue = kControlCheckBoxUncheckedValue
|
|
|
|
kControlCheckboxCheckedValue = kControlCheckBoxCheckedValue
|
|
|
|
kControlCheckboxMixedValue = kControlCheckBoxMixedValue
|
|
|
|
inLabel = kControlLabelPart
|
|
|
|
inMenu = kControlMenuPart
|
|
|
|
inTriangle = kControlTrianglePart
|
|
|
|
inButton = kControlButtonPart
|
|
|
|
inCheckBox = kControlCheckBoxPart
|
|
|
|
inUpButton = kControlUpButtonPart
|
|
|
|
inDownButton = kControlDownButtonPart
|
|
|
|
inPageUp = kControlPageUpPart
|
|
|
|
inPageDown = kControlPageDownPart
|
|
|
|
kInLabelControlPart = kControlLabelPart
|
|
|
|
kInMenuControlPart = kControlMenuPart
|
|
|
|
kInTriangleControlPart = kControlTrianglePart
|
|
|
|
kInButtonControlPart = kControlButtonPart
|
|
|
|
kInCheckBoxControlPart = kControlCheckBoxPart
|
|
|
|
kInUpButtonControlPart = kControlUpButtonPart
|
|
|
|
kInDownButtonControlPart = kControlDownButtonPart
|
|
|
|
kInPageUpControlPart = kControlPageUpPart
|
|
|
|
kInPageDownControlPart = kControlPageDownPart
|