Article View: borland.public.cppbuilder.nativeapi
Article #6904Re: Scrolling Size on Mouse Scroller
From: Steve Fear
Date: Thu, 31 Mar 2005 23:18
Date: Thu, 31 Mar 2005 23:18
41 lines
2430 bytes
2430 bytes
Bob, Thanks for the reply. I agree about changing the registery. It's something I want to avoid. I've tried to adjust my LED value to take into account the scroll size setting, but that doesn't seem to work. I was able to work around the problem by adding a trackbar and use the trackbar position to adjust the LED value. Once I do that I can use the mouse wheel to adjust the LED value one digit at a time. Since I don't need the trackbar I can hide that control. Thanks, Steve "Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:669o419mj16l7qfa770upbrptaa97mgir7@4ax.com... > 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:
<424c84d8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<424b3092@newsgroups.borland.com> <669o419mj16l7qfa770upbrptaa97mgir7@4ax.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: "Steve Fear" <slfear@comcast.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <424b3092@newsgroups.borland.com> <669o419mj16l7qfa770upbrptaa97mgir7@4ax.com> Subject: Re: Scrolling Size on Mouse Scroller Date: Thu, 31 Mar 2005 18:18:27 -0500 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 NNTP-Posting-Host: 68.62.106.9 Message-ID: <424c84d8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112311000 68.62.106.9 (31 Mar 2005 15:16:40 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail