CSimpleFrame::OnKeyDown
function · ui · orchestration
- Address
0x76b7d0· 615 bytes, up to0x76ba36- Meaning
- Takes a key down when visible and OnKeyDown or OnKeyUp is set, running OnKeyDown with the key name
- Confidence
- verified, proof two
- Finding
- ui/keyscripts#the-test-a-frame-makes
Finding: The test a frame makes in ui: key scripts and typing
A frame answers a key down or key up with a script only when it is visible, and answers the key down
with 1 when either its OnKeyDown or its OnKeyUp script is set, running only OnKeyDown. A key up needs
OnKeyUp. A character needs OnChar. The script's own result is never read, so a handler cannot decline.
A frame that merely has the keyboard enabled does not take keys.
The derivation is in the doc.
Callers 1
Callees 3
- EncodeUtf8 unassigned
- SStrPrintf storm
- FrameScriptExecuteVarArgs ui
Calls and jumps by a bare address, from tables/calls.tsv.