MoveWindowBy
function · core · host
- Address
0x42de60· 54 bytes, up to0x42de95- Meaning
- Moves the window to its press-time rectangle plus an offset, keeping its size
- Confidence
- verified, proof one
- Finding
- core/input#window-frame
Finding: Window frame in core: window input
The window procedure drags and sizes the frame. A press on the caption (hit test 2) or an
edge or corner (10 to 17) records the hit test, the window rectangle and the cursor point, sets
focus and captures the mouse. Moves under capture shift the rectangle by the cursor delta: the
caption moves the window; an edge or corner changes the sides it names, after WM_SIZING. The
release applies the last delta and ends capture. A press on the minimize (8), maximize (9) or close
(20) box acts on a release with the same hit test: minimize, toggle maximized, quit. A double click
does the same, toggles maximized on the caption, and quits on the system menu (3).
The derivation is in the doc.
Callers 2
- OnFrameMouseMove core
- OnNonClientButtonUp core
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.