MCPcopy
hub / github.com/lxn/walk / windowFromHandle

Function windowFromHandle

window.go:2123–2129  ·  view source on GitHub ↗
(hwnd win.HWND)

Source from the content-addressed store, hash-verified

2121}
2122
2123func windowFromHandle(hwnd win.HWND) Window {
2124 if wb := hwnd2WindowBase[hwnd]; wb != nil {
2125 return wb.window
2126 }
2127
2128 return nil
2129}
2130
2131func defaultWndProc(hwnd win.HWND, msg uint32, wParam, lParam uintptr) (result uintptr) {
2132 defer func() {

Callers 15

WndProcMethod · 0.85
ForEachAncestorMethod · 0.85
ancestorFunction · 0.85
writePathMethod · 0.85
setWindowFontFunction · 0.85
forEachDescendantFunction · 0.85
RequestLayoutMethod · 0.85
FocusedWindowFunction · 0.85
defaultWndProcFunction · 0.85
backgroundEffectiveMethod · 0.85
handleWMCTLCOLORMethod · 0.85
WndProcMethod · 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…