benilla-re systems structs docs

CSimpleButton::RunDoubleClick

function · ui · orchestration

Address
0x779650 · 177 bytes, up to 0x779700
Meaning
Runs the C++ listener and OnDoubleClick with the button's name, on an enabled button
Confidence
verified, proof one
Finding
ui/button#double-click

Finding: Double click in ui: Button and CheckButton

A release that clicks fires OnDoubleClick instead of OnClick when the button has an OnDoubleClick script, a previous click time is stored, and at most 300 ms have passed since it, by the unsigned difference of the millisecond clock. A double click clears the stored time, so a third click is a single click; a single click stores the current time. Only the release path can double click. The time is the button's, not the mouse button's: a left click then a right click within 300 ms, both registered as up clicks, runs OnDoubleClick with RightButton. Hiding the button or the mouse leaving it keeps the stored time.

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.