realbasic-nug
[Top] [All Lists]

Re: Hiding cursor in Windows games.

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Hiding cursor in Windows games.
From: Toon Van Acker <toon dot van dot acker at mac dot com>
Date: Mon, 31 Jan 2005 08:56:49 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050129223950 dot 734AD6D6036 at lists dot realsoftware dot com> <41FCB542 dot 8060804 at wanadoo dot fr>
Why don't you set the MouseCursor(s) to Nil ?


App.MouseCursor = Nil
Window.MouseCursor = Nil


and do the same for all object that can hold a MouseCursor ... and that exists on the game Window(s)...

ListBox1.MouseCursor = Nil.

Setting .mouseCursor to nil means that the default cursor is used. Instead you can make an empty cursor, and use app.MouseCursor = emptyCursor to hide the cursor.

--
Toon Van Acker

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>