🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #42

HELP: mouse in a DOS window, programming thereof

#42
From: sam4628
Date: Wed, 28 Oct 1992 12:27
15 lines
1483 bytes
My Windows 3.1 and mouse and video driver are compatible (based on
the mouse working when I run DOS EDIT, etc. in a window).  Here's the
problem:  I have a relatively simple DOS program (written in BC++3.1)
which uses the mouse, but for some reason it ignores the mouse when
running in a window.  Is there some special initialization I'm missing
which allows Windows to feed it the mouse info?  My program basically
just initializes the mouse (int 33h, function 0h I think) and then
uses int 33h to check for button presses and locations.  Thanks!

------------------------------------------------------------------------
| Steven A. McCluney                 |"Strange women lying in ponds    |
| sam4628@zeus.tamu.edu              | distributing swords is no basis |
| I'm a grad student, so my opinions | for a system of government!"    |
|    are worthless anyway            |          Dennis, to King Arthur |
------------------------------------------------------------------------
Technical Details
Message-ID: <28OCT199207271077@zeus.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!tamsun.tamu.edu!zeus.tamu.edu!sam4628

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!tamsun.tamu.edu!zeus.tamu.edu!sam4628
From: sam4628@zeus.tamu.edu
Subject: HELP: mouse in a DOS window, programming thereof
Message-ID: <28OCT199207271077@zeus.tamu.edu>
News-Software: VAX/VMS VNEWS 1.41    
Sender: news@tamsun.tamu.edu (Read News)
Organization: Texas A&M University, Academic Computing Services
Date: Wed, 28 Oct 1992 12:27:00 GMT
Lines: 15