Perfect, Thanks!

--

Luke Pascoe
Programming
Ihug
[EMAIL PROTECTED]
0800 GET IHUG ext.9764

"Get 'em by the balls and their hearts and minds will follow."
--

----- Original Message -----
From: "Max Nilson" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, April 20, 2000 11:28 AM
Subject: RE: [DUG]: TStringGrid


> Luke Pascoe asked:
>
> > Does anyone know how to tell whether a scrollbar is visible on a
> > TStringGrid?
>
> The technique that I have found to work is something like:
>
>   HasVScrollBar := GetWindowLong(MyStringGrid.Handle, GWL_STYLE)
>     and WS_VSCROLL <> 0;
>
> Cheers, Max.
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to