MCPcopy Create free account
hub / github.com/NetHack/NetHack / list_view_height

Function list_view_height

win/win32/mhdlg.c:384–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384int
385list_view_height(HWND hWnd, int count)
386{
387 return (ListView_ApproximateViewRect(hWnd, -1, -1, count)) >> 16;
388}
389
390/* calculate the size and position of the controls taking into account
391 the per-monitor DPI expressed as a scaling factor on sizes at 96 DPI */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected