0

Does anyone know how to get the height of a scrollable child window using Windows API? I've found GetWindowRect but that appears to only return the RECT of the "visible" area but I want the RECT of the entire "scrollable" child window. This window is a 3rd party window so I would need to use, I'm assuming, the User32 WinAPI functions.

Thanks!

thiesdiggity
  • 1,897
  • 2
  • 18
  • 27

1 Answers1

2

The best you can do is to call GetScrollInfo.

SCROLLINFO si = {sizeof(SCROLLINFO), SIF_ALL};
GetScrollInfo(hWndChild, SB_VERT, &si);
Harry Johnston
  • 35,639
  • 6
  • 68
  • 158
Neil
  • 54,642
  • 8
  • 60
  • 72