home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!peora!tarpit!tous!bilver!alex
- From: alex@bilver.uucp (Alex Matulich)
- Subject: Mouse blanking in 2.0 = TRASH (help!)
- Organization: W. J. Vermillion - Winter Park, FL
- Date: Mon, 23 Nov 1992 15:51:30 GMT
- Message-ID: <1992Nov23.155130.5566@bilver.uucp>
- Lines: 40
-
-
- I wrote a program that needs to blank the mouse at times. Under
- AmigaDOS 1.3, the method I used worked perfectly.
-
- However, now that I've upgraded to 2.04, when I blank the mouse a vertical
- bar of trash appears on the screen. The bar does not move when I move the
- mouse. It's fixed in place, and stays there until I restore the mouse.
- The bar is not even in the same position as the mouse when the mouse goes
- blank. It *looks* like a trashed sprite of some sort.
-
- Here is what I'm doing. Please tell me if there's a better way, that will
- work under both 1.3 and 2.0....
-
- --------------------------------------------------------------------------
-
- static short blankpointer { 0, 0 }; // bit image for blank mouse pointer
- .
- .
- .
- SetPointer(Window, blankpointer, 1, 1, 0, 0); // blank the mouse pointer
- .
- . // under 2.0, a vertical bar of trash is now showing on the screen
- .
- ClearPointer(Window); // restore the mouse pointer; bar disappears
-
- --------------------------------------------------------------------------
-
- If it makes any difference, the 2.0 "Text Overscan" and "Standard
- Overscan" are both set to 680x440, but I am using a custom screen and
- window, sized to 640x400, in the program above. I am using SAS C 5.10b
- with 1.3 include files.
-
- I'm rather new at this. If someone knows a better way, please post or
- send email. Thanks in advance for any help offered.
-
- --
- _ |__ Alex Matulich alex.matulich@oau.org
- /(+__> Unicorn Research Corp, 4621 N Landmark Dr, Orlando, FL 32817
- //| \ UUCP: alex@bilver.uucp {peora|ge-dab|uunet!tous}!bilver!alex
- ///__) Internet: alex@bilver.oau.org | alex%bilver@peora.sdc.ccur.com
-