Article View: borland.public.cppbuilder.nativeapi
Article #7238Re: Mouse Wheell pressed
From: Chris Hill
Date: Sun, 20 Feb 2005 22:43
Date: Sun, 20 Feb 2005 22:43
21 lines
1155 bytes
1155 bytes
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
Technical Details
Message-ID:
<421910a5.1717029698@forums.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42186126$1@newsgroups.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 From: Chris244@aol.com (Chris Hill) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Mouse Wheell pressed Date: Sun, 20 Feb 2005 22:43:53 GMT Message-ID: <421910a5.1717029698@forums.borland.com> References: <42186126$1@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 12.221.211.182 X-Trace: newsgroups.borland.com 1108939430 12.221.211.182 (20 Feb 2005 14:43:50 -0800) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail