PDA

View Full Version : Cursor disable



aleksander_tenev
30-10-2006, 11:20 AM
I can't disable my mouse pointer/cursor in my game . Can anybody tell my how i can disable the mouse cursor ?

Firlefanz
30-10-2006, 11:44 AM
You're talking about not showing it anymore on the form?

Cursor:=crNone;

Firle

aleksander_tenev
30-10-2006, 11:59 AM
Yes ,i tryed that in onActivate (Form) but the cursor is still there in the form .

cairnswm
30-10-2006, 12:14 PM
Have you tried changing the Form.Cursor property to crNone?

aleksander_tenev
30-10-2006, 12:29 PM
Have you tried changing the Form.Cursor property to crNone?

Yes and the result is same.

Nitrogen
30-10-2006, 12:33 PM
In Windows, use


ShowCursor(false)

This will hide the cursor, just remember to un-hide it with


ShowCursor(true)

aleksander_tenev
30-10-2006, 12:38 PM
Thanks