Mail Archives: djgpp/1996/09/26/00:07:22
From: | mohan AT stealth DOT net (Mohan Khurana)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Mouse Support in GRX
|
Date: | Thu, 26 Sep 1996 03:20:33 GMT
|
Organization: | Stealth Communications, NYC.
|
Lines: | 12
|
Message-ID: | <52cif6$98o@news.stealth.net>
|
NNTP-Posting-Host: | mohan.nyc.stealth.net
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have made a simple graphical demonstration to show someone that
graphics are possible in DJGPP. It looks rather good so far. There
is only 1 problem that I am currently having. After I draw a little
design on the screen and a little "exit" string on the lower right
corner of the screen, I'd like to add mouse support to let the user
click on the exit and it will maybe draw "goodbye" somewhere on the
screen, then exit.. does anyone know how I would do this? I would
basically need to get the x and y values that the mouse is on when the
left mouse button down is done and when the mouse button up is done.
Thanks for any help.
- Raw text -