Article View: borland.public.cppbuilder.nativeapi
Article #6903Re: Scrolling Size on Mouse Scroller
From: Steve Fear
Date: Thu, 31 Mar 2005 22:29
Date: Thu, 31 Mar 2005 22:29
32 lines
1974 bytes
1974 bytes
Adam, Thanks for the response. The wheel mouse events you mention are for scrollbars only. This was the first place I looked. What I'm using the wheel for is not for scrolling via the scrollbars. I have a couple of controls where their behavior depends on direction and number of rotations of the wheel. Through my mouse properties I have my scroll size set to 3 lines per rotation. Given that, when my control sees that the wheel has moved one rotation it actually behaves as if the wheel rotated 3 times. This behavior is happening outside of the control and I can't find any way to adjust it. Steve "adam" <eve@apple> wrote in message news:opsoifgrj2ajtsdq@news.noeatingpuzzlepieces... > > > I can't seem to find any reference to this property. Can anyone point me > > in > > the right direction? > > Activities on a mouse wheel generate messages like WM_HSCROLL and > WM_VSCROLL > > which in return gives you information like SB_THUMBPOSITION and > SB_THUMBTRACK. > > Just look Win32 Help about Scroll Bars. You will find plenty of info on > this subject. > > -- > A
Technical Details
Message-ID:
<424c7968$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<424b3092@newsgroups.borland.com> <opsoifgrj2ajtsdq@news.noeatingpuzzlepieces>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> <opsoifgrj2ajtsdq@news.noeatingpuzzlepieces> Subject: Re: Scrolling Size on Mouse Scroller Date: Thu, 31 Mar 2005 17:29:37 -0500 Lines: 34 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: <424c7968$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112308072 68.62.106.9 (31 Mar 2005 14:27:52 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail