How can I disable the cursor?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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
 
kevin said:
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")
///
 
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
 
Cor,

Cor Ligthert said:
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
:-).
 
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/d...lrfsystemwindowsformscursorclasshidetopic.asp

http://msdn.microsoft.com/library/d...lrfsystemwindowsformscursorclassshowtopic.asp

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

--
Hope this helps
Jay
T.S. Bradley - http://www.tsbradley.net


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top