MCPcopy Create free account
hub / github.com/andlabs/libui / track

Function track

windows/areaevents.cpp:39–58  ·  view source on GitHub ↗

Windows doesn't natively support mouse crossing events. TrackMouseEvent() (and its comctl32.dll wrapper _TrackMouseEvent()) both allow for a window to receive the WM_MOUSELEAVE message when the mouse leaves the client area. There's no equivalent WM_MOUSEENTER because it can be simulated (https://blogs.msdn.microsoft.com/oldnewthing/20031013-00/?p=42193). Unfortunately, WM_MOUSELEAVE does not get

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

captureFunction · 0.85
onMouseEnteredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…