473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

How can I disable the cursor?

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
7 4399
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
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
"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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: KS | last post by:
Im trying to prevent the user from clicking any other links on my page when the user have selected/clicked a href once. Sometimes it takes a while before the next page loads so some user will try...
4
by: | last post by:
I want to program a application for user login in windows.Now I has some question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and limit the mouse cursor in winform How can I do it?...
13
by: Rich | last post by:
Hello, So I would like to disable a textbox on a vb.net form without the text getting grayed out. In vb6 I could place a textbox control on a frame control and disable the frame leaving the...
2
by: Fei | last post by:
Hi, Is this possible that when the user move out a form, the mouse is disabled/hidden? I want to restrict user to use mouse just in my application. Thanks ! Fei
3
by: vanya | last post by:
i have been tryin to program(javascript) to disable the following keystroke combinations CTRL+O or CTRL+L Go to a new location (O = 79 L = 76) CTRL+S Save the current page ( S = 83) CTRL+E...
7
by: John den Haan | last post by:
Hello! When I use putchar to fill up an entire screen (of 80x25) with text, it seems to leave an empty line at the end, thus forcing me to scroll upwards in to see the first line. This forces me...
1
by: mask | last post by:
I wish to disable all triggers for a particular user.I am using a cursor to select all triggers from user_triggers table whose table_owner is the user. Now inside a cursor DDL statements can't be...
3
by: myjish18 | last post by:
Hello, We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3 which has Automatic Storage (AS) enabled. We want to disable automatic storage on entire database and/or disable...
9
by: timw.google | last post by:
Is there a way to disable ctrl-P (print window) in IDLE? I'm editing some python code in IDLE and I keep hitting this by mistake from my years of emacs editing. Thanks in advance.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.