By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,088 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

How can I disable the cursor?

P: n/a
I am build a touch screen app and don't want the cursor to show on certain
forms and controls. I still need mouse functions but don't want to see the
cursor.
I have tried

visual basic code:Me.Cursor = Nothing
Me.Control.Cursor = Nothing
but they didn't seem to work
Any ideas?
Nov 21 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Kevin,

Not showing the cursor can bring people to complete madness.

Why don't you just disallow the cursor to enter by putting it back somewhere
outside that.

http://msdn.microsoft.com/library/de...itiontopic.asp

I hope this helps,

Cor
Nov 21 '05 #2

P: n/a
Its a touch screen app. The cursors position will always be where the user
touches and when they touch, a mouse click occurs. Most touch screen apps I
have seen don't show a cursor.
kevin

"Cor Ligthert [MVP]" wrote:
Kevin,

Not showing the cursor can bring people to complete madness.

Why don't you just disallow the cursor to enter by putting it back somewhere
outside that.

http://msdn.microsoft.com/library/de...itiontopic.asp

I hope this helps,

Cor

Nov 21 '05 #3

P: n/a
"kevin" <ke***@discussions.microsoft.com> schrieb:
I am build a touch screen app and don't want the cursor to show on certain
forms and controls. I still need mouse functions but don't want to see the
cursor.
I have tried

visual basic code:Me.Cursor = Nothing
Me.Control.Cursor = Nothing


Create an empty cursor file (this can be done with VS.NET) and assign it to
the control's cursor property:

\\\
Me.Label1.Cursor = New Cursor("C:\bla.cur")
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4

P: n/a
Herfried,

I thought you did a study about human behaviour with an UI, do you really
mean that is told you to remove the cursor from the screen?

(I assume this is not an answer on kevins reply about the touch screen)

Cor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schreef in bericht
news:u8**************@TK2MSFTNGP14.phx.gbl...
"kevin" <ke***@discussions.microsoft.com> schrieb:
I am build a touch screen app and don't want the cursor to show on certain
forms and controls. I still need mouse functions but don't want to see
the
cursor.
I have tried

visual basic code:Me.Cursor = Nothing
Me.Control.Cursor = Nothing


Create an empty cursor file (this can be done with VS.NET) and assign it
to the control's cursor property:

\\\
Me.Label1.Cursor = New Cursor("C:\bla.cur")
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

P: n/a
Cor,

"Cor Ligthert [MVP]" <no************@planet.nl> schrieb:
I thought you did a study about human behaviour with an UI, do you really
mean that is told you to remove the cursor from the screen?

(I assume this is not an answer on kevins reply about the touch screen)


As the OP states, this seems to be a very special case. I don't want to
encourage anybody to hide the cursor if there is no valid reason to do that
:-).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6

P: n/a
Cor Ligthert [MVP] wrote:
Not showing the cursor can bring people to complete madness.


Hiding people's keyboards and mice also drives them mad too!! :)

Nov 21 '05 #7

P: n/a
Kevin,
If you are still following this thread:

Have you tried to using balanced calls to Cursor.Hide & Cursor.Show, for
example in the forms MouseEnter & MouseLeave events?

http://msdn.microsoft.com/library/de...shidetopic.asp

http://msdn.microsoft.com/library/de...sshowtopic.asp

Sorry for the late response, I'm playing catchup...

--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net
"kevin" <ke***@discussions.microsoft.com> wrote in message
news:34**********************************@microsof t.com...
|I am build a touch screen app and don't want the cursor to show on certain
| forms and controls. I still need mouse functions but don't want to see the
| cursor.
| I have tried
|
| visual basic code:Me.Cursor = Nothing
| Me.Control.Cursor = Nothing
|
|
| but they didn't seem to work
| Any ideas?
Nov 21 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.