Article View: microsoft.public.vb.winapi
Article #2Re: GetScrollInfo
From: Chris Eastwood
Date: Wed, 28 Oct 1998 00:00
Date: Wed, 28 Oct 1998 00:00
22 lines
1287 bytes
1287 bytes
Hi Raphael Boos wrote in message <3636ED3B.CD348B8E@w-4.de>... >In VB5 I don't receive any results when using the GetScrollInfo for a >treeview in a control array. A call like > > Dim scInfo As SCROLLINFO > scInfo.fMask=SIF_ALL 'or any other valid SIF constant > GetScrollInfo(trv(1).hwnd,SB_HORZ,scInfo) > <Snip> The GetScrollInfo API Call will only get scroll information from a ScrollBar window - you'll need to get the handle of the Horizontal Scrollbar contained within the TreeView for this to work. Regards Chris Eastwood Software Engineer ACNielsen Ltd
Technical Details
Message-ID:
<OsIAqAmA#GA.187@uppssnewspub04.moswest.msn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3636ED3B.CD348B8E@w-4.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 104093,205687d5585a5291 X-Google-Attributes: gid104093,public X-Google-Thread: 10b213,205687d5585a5291 X-Google-Attributes: gid10b213,public X-Google-Thread: 10229f,205687d5585a5291 X-Google-Attributes: gid10229f,public From: "Chris Eastwood" <Chris.Eastwood@NoCrapSpamPleaseACNielsen.Co.UK> Subject: Re: GetScrollInfo Date: 1998/10/28 Message-ID: <OsIAqAmA#GA.187@uppssnewspub04.moswest.msn.net> X-Deja-AN: 405889883 References: <3636ED3B.CD348B8E@w-4.de> Newsgroups: microsoft.public.vb.winapi,microsoft.public.vb.controls,basicworld.public.vb.allgemein X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3