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: Roger Clary <roger at classonesoftware dot com>
Date: Mon, 31 Jan 2005 19:15:21 -0500
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> <b0a7649193194718df512fc71fe31dca at mac dot com>

On Jan 31, 2005, at 2:56 AM, Toon Van Acker wrote:


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.

This was originally my post about 3 weeks ago which was recently revived. What I learned was the on Win32, no matter what you set the MouseCursor property to, if your app's window does not fill the screen and the mouse moves out of the app's screen area, it will revert to the sys Cursor. This is, of course, not true on Mac. The options are to make your app fill the screen or to limit the range of cursor movement using win32 declares.

Roger M. Clary
Class One Software
http://www.classonesoftware.com
roger at classonesoftware dot com

_______________________________________________
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>