Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Oct : Height of scrollbar in TStringGrid
| Subject: | Height of scrollbar in TStringGrid |
| Posted by: | "Mikael Lenfors" (mika..@lenfors.se) |
| Date: | Tue, 30 Oct 2007 10:08:22 |
Hello!
I want to adjust the height of my StringGrid to perfectly match the height
of all rows + scrollbar if there is any. How Do I get the scroll bar height?
I'm using "If (GetWindowlong(ScheduleGrid.Handle, GWL_STYLE) And WS_HSCROLL)
<> 0 Then ..." to find out if the scrollbar is visible.
regards, Mikael