benilla-re systems structs docs

CSimpleTop::OnActivationChange

function · ui · orchestration

Address
0x766650 · 68 bytes, up to 0x766693
Meaning
Handles category 2, the window's activation change: calls a window-code function, then the host's callback at +0x1134
Confidence
verified, proof two
Finding
ui/keyscripts#deactivating-the-window

Finding: Deactivating the window in ui: key scripts and typing

Losing the window's activation clears the eight movement direction bits at one instruction, the only bulk release in the client, and re-sends the state; gaining it does nothing. Mouse look and autorun stay set. The same event zeroes the modifier and button masks and the held-key set. A UI focus change has no such effect, and neither does an OS focus message: the window procedure queues no input record for one.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.