🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3323

Re: How do I disable Mouse Input?

#3323
From: Hans van Oostrom
Date: Thu, 20 Jun 1991 16:44
18 lines
1435 bytes
In article <1405@ssp18.idca.tds.philips.nl>, hansh@idca.tds.PHILIPS.nl (Hans Helmonds) writes...
>Who knows a way to temporarily disable every mouse input to the system
>and leave keyboard input and buffering enabled?
>EnableHardwareInput() works only if you want to disable both mouse and
>keyboard input. 
> 

The program that wants to disable the mouse could do a SetCapture.  
This will send all th mouse messages to the specified window.  There 
you can do whatever you want with it (like ignore it).  ReleaseCapture 
sets everything back.  The window that sets the capture doesn't 
has to be visible.


Hans van Oostrom
PO Box J-254, JHMHC                 hans@ufpine                (BITNET)
Gainesville, FL  32601, USA         hans@pine.circa.ufl.edu    (INTERNET)
>>>          Hoe ver je ook gaat, overal zie je landgenoten           <<<
Technical Details
Message-ID: <29292@uflorida.cis.ufl.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!ncar!gatech!mailer.cc.fsu.edu!uflorida!pine.circa.ufl.edu!hans
References: <1405@ssp18.idca.tds.philips.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!ncar!gatech!mailer.cc.fsu.edu!uflorida!pine.circa.ufl.edu!hans
From: hans@pine.circa.ufl.edu (Hans van Oostrom)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How do I disable Mouse Input?
Message-ID: <29292@uflorida.cis.ufl.EDU>
Date: 20 Jun 91 16:44:55 GMT
References: <1405@ssp18.idca.tds.philips.nl>
Sender: news@uflorida.cis.ufl.EDU
Reply-To: hans@pine.circa.ufl.edu
Organization: University of Florida - Dept. of Anesthesiology
Lines: 18
News-Software: VAX/VMS VNEWS 1.3-4