Hello, I am trying to use GRX for my graphics library, but I already have my own mouse-cursor drawing code which I want to continue using. Is there a way to use the GrMouse* routines without having the mouse pointer drawn for me by GRX? Thanks for any info. ZS
__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Z Smith a écrit :
Hello, I am trying to use GRX for my graphics library, but I already have my own mouse-cursor drawing code which I want to continue using. Is there a way to use the GrMouse* routines without having the mouse pointer drawn for me by GRX?
I use the following trick for the same reason. The mouse is inited with:
if GrMouseDetect then begin GrMouseInit; pCursor:=GrMouseGetCursor; with pCursor^ do begin xsize:=0; ysize:=0; {invisible cursor !} end; GrMouseSetCursor(pCursor); end else ...some error message
And I draw separately my cursor
Hope this helps