🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7919

Re: Scrollbars size

#7919
From: Bob Gonder
Date: Wed, 15 Dec 2004 17:17
11 lines
1398 bytes
"Francesco" <> wrote:

>I can get the size of scrollbars with command
>GetSystemMetrics(SM_CXVSCROLL) but how can I set the size I want?? It
>should exist smth like SetSystemMetrics!

Might be possible, if you have the HWND of the scroll bar, to use
SetWindowPos().
This would be simpler if, as mentioned in the previous message, you
created your own control with CreateWindow instead of relying on the
auto-scroll feature.
Technical Details
Message-ID: <m8s0s0t7f0bvmgja46mptda0qmm6k2srgc@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41c05b55$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,63c10a08433e3f08
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Scrollbars size
Date: Wed, 15 Dec 2004 09:17:48 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <m8s0s0t7f0bvmgja46mptda0qmm6k2srgc@4ax.com>
References: <41c05b55$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.211
X-Trace: newsgroups.borland.com 1103131065 67.77.147.211 (15 Dec 2004 09:17:45 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail