realbasic-nug
[Top] [All Lists]

Re: Hiding cursor in Windows games.

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Hiding cursor in Windows games.
From: Emile Schwarz <emile dot a dot schwarz at wanadoo dot fr>
Date: Sun, 30 Jan 2005 11:21:54 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050129223950 dot 734AD6D6036 at lists dot realsoftware dot com>
Subject: Re: Hiding cursor in Windows games.
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Sat, 29 Jan 2005 14:17:07 -0500


On Jan 3, 2005, at 5:12 PM, Roger Clary wrote:


My question then, how does one hide a cursor for games on Windows?


There is a showCursor function. I think you can declare to it as follows:

Declare Sub showCursor lib "User32.dll" (show as boolean)

I'm not sure though, as I haven't used this function yet.
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.

HTH,

Emile


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