May 2001
Intermediate to advanced
360 pages
10h 6m
English
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 ... |
Read now
Unlock full access