🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Scrolling Size on Mouse Scroller

#6891
From: Bob Gonder
Date: Thu, 31 Mar 2005 16:37
23 lines
1842 bytes
Steve Fear wrote:

>I'm stumped on how I can set the scrolling size property for the mouse
>scroller.

This sounds a bit like it might be a VCL question, which would be
better asked in the  .vcl.components.using  group.

If Adam's answer isn't what you were after, then...

You might check the registry entry
HKEY_CURRENT_USER\Control Panel\Desktop\WheelScrollLines
to see what the setting is.
I would advise against changing the value because changing user
settings tends to anger users.

>I want to use the mouse wheel to adjust a value in a LED control. Right now
>the code works fine except for the increments being set to the mouse
>scrolling size.

You might be able, though, to count the increase messages and divide
by the scroll rate before changing the control. (Like change the
control once every "WheelScrollLines" increases)
Technical Details
Message-ID: <669o419mj16l7qfa770upbrptaa97mgir7@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <424b3092@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d1b8305454e2d180
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: Scrolling Size on Mouse Scroller
Date: Thu, 31 Mar 2005 08:37:56 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <669o419mj16l7qfa770upbrptaa97mgir7@4ax.com>
References: <424b3092@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.200.229
X-Trace: newsgroups.borland.com 1112287074 67.77.200.229 (31 Mar 2005 08:37:54 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail