First, I should say that I know nothing about how these mouse functions work. I have a tablet PC (compaq), which I have tried to run my programs on, but I found that the pen digitizer does not work properly.
After some experimentation, I discovered that the mouse functions return integers between 1024 and 768 no matter what screen mode I am in.
I used a simple conversion line to fix this with ratios, but I had to make my own mouse cursor to draw it in the correct place (with GET and PUT). PUT has the undesirable side effects of creating errors whenever the mouse cursor gets placed outside the screen (completely off, but also partially off). I like my implementation of the cursor so far, because it allows me to easily change cursors, but I need something better. Any suggestions?
After some experimentation, I discovered that the mouse functions return integers between 1024 and 768 no matter what screen mode I am in.
I used a simple conversion line to fix this with ratios, but I had to make my own mouse cursor to draw it in the correct place (with GET and PUT). PUT has the undesirable side effects of creating errors whenever the mouse cursor gets placed outside the screen (completely off, but also partially off). I like my implementation of the cursor so far, because it allows me to easily change cursors, but I need something better. Any suggestions?