MCPcopy Create free account
hub / github.com/lxn/walk / MustRegisterWindowClass

Function MustRegisterWindowClass

window.go:466–468  ·  view source on GitHub ↗

MustRegisterWindowClass registers the specified window class. MustRegisterWindowClass must be called once for every window type that is not based on any system provided control, before calling InitChildWidget or InitWidget. Calling MustRegisterWindowClass twice with the same className results in a

(className string)

Source from the content-addressed store, hash-verified

464// InitWidget. Calling MustRegisterWindowClass twice with the same className
465// results in a panic.
466func MustRegisterWindowClass(className string) {
467 MustRegisterWindowClassWithWndProcPtr(className, defaultWndProcPtr)
468}
469
470func MustRegisterWindowClassWithStyle(className string, style uint32) {
471 MustRegisterWindowClassWithWndProcPtrAndStyle(className, defaultWndProcPtr, style)

Callers 15

initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85
initFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…