Category : C++ Source Code
Archive   : EVENT1.ZIP
Filename : MOUSE.H

 
Output of file : MOUSE.H contained in archive : EVENT1.ZIP
/* ********************************************** */
/* File mouse.h: Adapted from the CUG, Sept/Oct */
/* 1988 issue, Page 88-90. These routines will */
/* allow you to talk to the MICROSOFT mouse driver*/
/* ********************************************** */

#include

#define MOUSE_RESET 0 /* Mouse services */
#define MOUSE_ON 1
#define MOUSE_OFF 2
#define MOUSE_STATUS 3
#define MOUSE_SET 4
#define MOUSE_PRESSED 5
#define MOUSE_RELEASED 6
#define MOUSE_COLMAX 7
#define MOUSE_ROWMAX 8
#define MOUSE_GIMAGE 9
#define MOUSE_TIMAGE 10

/* Used to test BX after service 3 */
#define LEFTBUTTON 1
#define RIGHTBUTTON 2
#define BOTHBUTTONS LEFTBUTTON | RIGHTBUTTON

/* Used with service 5 and 6 */
#define LEFT_STATUS 0
#define RIGHT_STATUS 1

union REGS inregs, outregs;
struct SREGS segregs;


  3 Responses to “Category : C++ Source Code
Archive   : EVENT1.ZIP
Filename : MOUSE.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/