🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mouse Wheell pressed

#7239
From: Sabetay Toros
Date: Mon, 21 Feb 2005 05:51
30 lines
1620 bytes
Chris Hill wrote:
> On Sun, 20 Feb 2005 12:06:29 +0200, Sabetay Toros
> <bilsarbiz@ttnet.net.tr> wrote:
> 
> 
>>Hi,
>>
>>Does any body know how can I querry if the mouse wheel is pressed ?
>>
>>Thanks
>>
>>Sabetay
> 
> 
> If the mouse wheel is the middle mouse button you can use:
> 
> bool wheel_down = GetAsyncKeyState(VK_MBUTTON) < 0;
> 
> This will tell you if the middle button is down at the time you call
> the function.
> 
> Chris
> Chris Hill
> Chris244@aol.com
Chris,
Thanks alot .It's working. I want to learn how to catch fish.  Will you 
tell me where can    I find this kind of information.
Thanks

Sabetay
Technical Details
Message-ID: <421976cf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42186126$1@newsgroups.borland.com> <421910a5.1717029698@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,507d8e4306b83cf0
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 21 Feb 2005 07:51:11 +0200
From: Sabetay Toros <bilsarbiz@ttnet.net.tr>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Mouse Wheell pressed
References: <42186126$1@newsgroups.borland.com> <421910a5.1717029698@forums.borland.com>
In-Reply-To: <421910a5.1717029698@forums.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.213.124.231
Message-ID: <421976cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108965071 81.213.124.231 (20 Feb 2005 21:51:11 -0800)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail