GLBasic forum

Main forum => GLBasic - en => Topic started by: Guest on 2004-Apr-04

Title: mouse cursor
Post by: Guest on 2004-Apr-04
Hello,

      The mouse works fine, except I can't see the cursor.  How can I display the cursor?
Title: mouse cursor
Post by: Kitty Hello on 2004-Apr-05
Either draw a sprite or print somethins to the mouse location:

Code (glbasic) Select
LOADSPRITE "MyPointer.bmp", 12
start:
MOUSESTATE mx, my, b1, b2
SPRITE 12, mx, my
SHOWSCREEN
GOTO start

or:

Code (glbasic) Select
start:
MOUSESTATE mx, my, b1, b2
PRINT "X", mx, my
SHOWSCREEN
GOTO start

Have fun,
Gernot