Control Events
Control events are generated from onscreen user interface objects-buttons, checkboxes, scroll bars, and so forth.
Table C-2. Required Parameter Names and Types for Control Event Kinds
Event kind | Parameter name | Parameter type |
---|---|---|
kEventControlInitialize
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamInitCollection
|
typeCollection
| |
kEventControlDispose
|
kEventParamDirectObject
|
typeControlRef
|
|
kEventParamDirectObject
|
typeControlRef
|
|
typeQDRectangle
| |
kEventControlHit
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamControlPart
|
| |
kEventParamKeyModifiers
|
typeUInt32
| |
kEventControlSimulateHit
|
kEventParamDirectObject
|
typeControlRef
|
kEventControlHitTest
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamMouseLocation
|
typeQDPoint
| |
kEventParamControlPart
|
typeControlPartCode
| |
kEventControlDraw
|
kEventParamDirectObject
|
typeControlRef
|
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamControlSubControl
|
typeControlRef
| |
kEventParamControlDrawDepth
|
typeShortInteger
| |
kEventParamControlDrawInColor
|
typeBoolean
| |
kEventControlSetFocusPart
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamControlPart
|
typeControlPartCode
| |
kEventControlGetFocusPart
|
kEventParamDirectObject
|
typeControlRef
|
kEventParamControlPart
|
typeControlPartCode
| |
kEventControlActivate
|
kEventParamDirectObject
|
typeControlRef
|
kEventControlDeactivate
|
kEventParamDirectObject ... |
Get Learning Carbon now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.