424,303 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,303 IT Pros & Developers. It's quick & easy.

How may I change the Mouse Cursor ? (Hourglass)

P: n/a
Hi All,

I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?

Thx

Nov 20 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
"Eddie" <ma*************@videotron.ca> schrieb
Hi All,

I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?


See System.Windows.Forms.Cursor.Current and
System.Windows.Forms.Control.Cursor
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

P: n/a
me.cursors = cursors.waitcursor

"Eddie" <ma*************@videotron.ca> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi All,

I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?

Thx

Nov 20 '05 #3

P: n/a
sorry...
me.cursor = cursors.waitcursor
"Morgan" <ab**@senditon.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
me.cursors = cursors.waitcursor

"Eddie" <ma*************@videotron.ca> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi All,

I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?

Thx


Nov 20 '05 #4

P: n/a
Hi,

Me.Cursor = Cursors.WaitCursor ' hourglass
Me.Cursor = Cursors.Default ' default

Ken
--------------

"Eddie" <ma*************@videotron.ca> wrote in message
news:#V**************@tk2msftngp13.phx.gbl:
Hi All,

I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?

Thx


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.0 - Release Date: 6/12/2004
Nov 20 '05 #5

P: n/a
* "Eddie" <ma*************@videotron.ca> scripsit:
I just want to change the mouse cursor during a process. I want a
hourglass...


\\\
Cursor.Current = Cursors.WaitCursor
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

P: n/a
Not sure where I read about this (MSDN magazine article?), but it explicity
said NOT to use Cursor.Current = Cursors.WaitCursor, but to instead use
Me.Cursor = Cursors.WaitCursor. I was having all kinds of problems with the
mouse not changing correctly until I switched to using Me.Cursor.

I will try and find the link to back this up. :)

Greg
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j************@uni-berlin.de...
* "Eddie" <ma*************@videotron.ca> scripsit:
I just want to change the mouse cursor during a process. I want a
hourglass...


\\\
Cursor.Current = Cursors.WaitCursor
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #7

P: n/a
Hi Eddie,

Controlname.cursor = cursors.WaitCursor

I hope this helps?

Cor
I just want to change the mouse cursor during a process. I want a
hourglass...

How may I do it ?

Nov 20 '05 #8

P: n/a
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> schrieb
Not sure where I read about this (MSDN magazine article?), but it
explicity said NOT to use Cursor.Current = Cursors.WaitCursor, but to
instead use Me.Cursor = Cursors.WaitCursor. I was having all kinds
of problems with the mouse not changing correctly until I switched to
using Me.Cursor.

I will try and find the link to back this up. :)


If the UI is not idle (and does not use doevents), one should use
cursor.current because it affects the whole application. Otherwise you'd
have to set the cursor for each single control (including forms).
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.