Dec 162017
 
Add keystroke/mouse event logic to your C++ program. Source.
File EVENT1.ZIP from The Programmer’s Corner in
Category C++ Source Code
Add keystroke/mouse event logic to your C++ program. Source.
File Name File Size Zip Size Zip Type
INEVENT.CPP 13754 3904 deflated
INEVENT.H 2172 892 deflated
INEVENT.MAK 742 406 deflated
INEVENT.PRJ 7022 1157 deflated
KEYS.H 1947 571 deflated
MAKEFILE 743 409 deflated
MOUSE.H 914 388 deflated
READ.ME 1272 759 deflated

Download File EVENT1.ZIP Here

Contents of the READ.ME file


INEVENT Release Version 1.0January 13, 1993


What it is
----------
INEVENT is a DOS class that will allow you to gather mouse, scan-code,
and keyboard messages from a SINGLE (overloaded) function-name.
By calling GetMessage() from your program, you can make your DOS
C programs "event driven" (see inevent.c for the basic idea).

INEVENT will be featured in the Febuary 1993 version of BYTE in "Some
Assembly Required". I worte the class to demonstrate how C++ can be
used to "wrapper" message-gathering on several operating-system
platforms. I have versions of this for DOS, UNIX, OS/2 and Windows.
Only the DOS version is "freeware".

Written with Borland C++. Runs under all versions. Should work fine
with Microsoft 7.0, though I haven't use MSC for a long time.


Don't Forget!
-------------
All that I ask is that if you modify these files, let me know so that
I can share your goodies with the rest of the world (I'll give you the
credit in the next READ.ME file)! Also, although I have tested this
stuff and it runs without any flaws that I can see, I am obliged to
mention that you have to USE THIS AT YOUR OWN RISK!


Enjoy!


Regards,

Randall A. Nagy


internet:[email protected]
compuserve:72561,2005


 December 16, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)