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

Method ClientBoundsPixels

window.go:1839–1841  ·  view source on GitHub ↗

ClientBoundsPixels returns the inner bounding box rectangle of the *WindowBase, excluding decorations.

()

Source from the content-addressed store, hash-verified

1837// ClientBoundsPixels returns the inner bounding box rectangle of the *WindowBase,
1838// excluding decorations.
1839func (wb *WindowBase) ClientBoundsPixels() Rectangle {
1840 return windowClientBounds(wb.hWnd)
1841}
1842
1843// sizeFromClientSizePixels calculates size from client size in native pixels.
1844func (wb *WindowBase) sizeFromClientSizePixels(clientSize Size) Size {

Callers 2

ClientBoundsMethod · 0.95
WndProcMethod · 0.95

Calls 1

windowClientBoundsFunction · 0.85

Tested by

no test coverage detected