On 26 Mar 2007 16:52:27 -0700, coffeewithsuds <[EMAIL PROTECTED]> wrote:
> I got this code to enable mouse in c/c++ graphics environment.
>
>
> #include<graphics.h>
> #include<stdio.h>
> #include<conio.h>
> #include<dos.h>
> union REGS in,out;
...snippage...
> My problem is, the mouse pointer appears and moves but it is
> restricted to the upper half of the screen.
> Can anyone tell me why is it so?
> How can I make it move in the whole screen.
I used to run into this problem, and for the life of me can't remember
what I did to fix it... that was something like 15 years ago... which
leads to my next question... why are you using such an ancient
compiler? Turbo C++ is woefully out of date... if you use Windows, you
already have your mouse stuff available, no need to program a driver
for it.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi