Article View: borland.public.cppbuilder.nativeapi
Article #6915Re: Scrolling Size on Mouse Scroller
From: Steve Fear
Date: Thu, 31 Mar 2005 23:06
Date: Thu, 31 Mar 2005 23:06
42 lines
2804 bytes
2804 bytes
Bob, Thanks for your reply. You're right about changing the WheelScrollLines in the registry. It's a situation I want to avoid. I've tried your idea about adjusting the count prior to giving it to the control but that doesn't work. I did find that if I put a trackbar on the form with the LED control and have the LED value change with the trackbar position, I can get the desired effect with the mouse wheel. I guess I can hide the trackbar since it's redundant. 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:
<mPqdndnO4YxnKtDfRVn-sg@comcast.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!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 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 01 Apr 2005 15:07:06 -0600 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:06:50 -0500 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 Message-ID: <mPqdndnO4YxnKtDfRVn-sg@comcast.com> Lines: 45 NNTP-Posting-Host: 68.62.106.9 X-Trace: sv3-T8UoZ9aCETcH7NjyLc7Jv+X5RD7QN33TAWVgjebjuRnT2r65hlWQ5oKXXM6sSiGAD6Gs5YRgnEpnuOE!fqpsAGUL5SeMC84MeSZD9Oa+vgEwNRGxUV9cHVYsd+MUbNBWcyMSi3fEa+8= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31