jfl wrote:It's hard to say without more code to verify but judging by your comments I get the feeling you haven't really understood how this is supposed to work. Basically, you turn the mouse off just before drawing on the screen and turn it on again just after you are finished drawing. That's it. At no other moment do you need to fiddle with the mouse pointer.
Thats what I am doing, but some functions turn the mouse back on again, like opening a window and doing blitting for some odd reason. I turn it off just after opening the window (dont really have a choice there) it works on all tests other than the blitting test and GEM window test.
OK knock yourselves out... I can't figure it out, I give up
Code: Select all
WINDOW OPEN mywind_id,"Blitting",0,12,630,190,&hfef
graf_mouse 256,0 ' turn off mouse
for c=1 to 3
p=4 ' if mono then we should really set colours to 1 and 0
FOR i=0 TO 400
FOR i=0 TO 98
WINDOW CLOSE mywind_id
graf_mouse 257,0 ' turn on mouse