Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!ns-mx!ccad.uiowa.edu!cadsi From: cadsi@ccad.uiowa.edu (CADSI) Newsgroups: comp.os.msdos.programmer Subject: Re: Programming a Mouse with Turbo C/C++ Message-ID: <1991May3.145457.6124@ccad.uiowa.edu> Date: 3 May 91 14:54:57 GMT References: <1991May3.000656.1462@ccu.umanitoba.ca> Organization: CAD-Research, U. of Iowa, Iowa City, Iowa Lines: 25 From article <1991May3.000656.1462@ccu.umanitoba.ca>, by umholtm0@ccu.umanitoba.ca (Heston Holtmann): > > As a new programmer to ibm/ms-dos/intel based machines, I was hoping to be able to program the mouse for complete mouse based applications as easily as it wasfor the Amiga or Macintosh using C or C++. This task, however, is not the case > after going through my Turbo C/C++ docs.. > > So, could someone PLEASE (at least) point me in the correct direction with > regards to this problem??? Any indication as to how many different ways there > are programming the mouse, and which way is the best/worst or quickest to go > about would be helpfull. Windows 3.0 could help here. Otherwise, get a third party Mouse Event library (Zinc works). Last, make your own Event (Queue) classes. The latter is what I did (its copyright CADSI so I can't release it). The last option is best in my book, 'cause you can make them work in Phar Lap (and other) extended DOS. This is required in my book. If you do the latter, there is a little eensy teensy book called MS-DOS extensions that will be invaluable. I got it at B. Dalton for about $7. |----------------------------------------------------------------------------| |Tom Hite | The views expressed by me | |Manager, Product development | are mine, not necessarily | |CADSI (Computer Aided Design Software Inc. | the views of CADSI. | |----------------------------------------------------------------------------|