Results 1 to 7 of 7

Thread: Cursor disable

  1. #1

    Cursor disable

    I can't disable my mouse pointer/cursor in my game . Can anybody tell my how i can disable the mouse cursor ?

  2. #2

    Cursor disable

    You're talking about not showing it anymore on the form?

    Cursor:=crNone;

    Firle

  3. #3

    Cursor disable

    Yes ,i tryed that in onActivate (Form) but the cursor is still there in the form .

  4. #4
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Cursor disable

    Have you tried changing the Form.Cursor property to crNone?
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  5. #5

    Cursor disable

    Have you tried changing the Form.Cursor property to crNone?
    Yes and the result is same.

  6. #6

    Cursor disable

    In Windows, use

    Code:
    ShowCursor(false)
    This will hide the cursor, just remember to un-hide it with

    Code:
    ShowCursor(true)
    My site: DelphiTuts.com (coming soon)...

    Download Font Studio 4.21 here.

  7. #7

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •