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

How can I change the mouse's pointer

P: n/a
Hi Gang,
In VB6 is was relatively easy to change the pointer, but now I don't even
see that as a property for any objects. Can somebody tell me how to do that
in .NET?
Thanks in Advance,
Christian Blackburn
Nov 20 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Hi Christian,

What search keywords did you use when you looked this one up in the Help
or on MSDN?

Regards,
Fergus
MVP [Windows Keyboard, PC Power Switch]
Nov 20 '05 #2

P: n/a
"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> schrieb
Hi Gang,
Hi guy,
In VB6 is was relatively easy to change the pointer, but now I don't
even see that as a property for any objects. Can somebody tell me
how to do that in .NET?


To change the cursor of a control:

Me.Cursor = Cursors.WaitCursor
To change the cursor for the application:

Cursor.Current = Cursors.WaitCursor

Cursor.Current is a shared member of the cursor class, not a property of the
Form's cursor.

The latter will keep the cursor only until Application.Doevents ist called
(see docs).

--
Armin

Nov 20 '05 #3

P: n/a
Cor
UP again????????????
Nov 20 '05 #4

P: n/a
Hi Cor,
Are you referring to how late it is at night? Yes I am and yes it is 4:25AM
Pacifc Standard Time. Ahhh!
Adios Amigo,
Christian

"Cor" <no*@non.com> wrote in message
news:3f**********************@reader21.wxs.nl...
UP again????????????

Nov 20 '05 #5

P: n/a
Hello,

"Christian Blackburn" <Christian@Damn@Sp**@Hotmail.com> schrieb:
In VB6 is was relatively easy to change the pointer, but now
I don't even see that as a property for any objects. Can
somebody tell me how to do that in .NET?


Use the 'Cursor' property instead.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #6

P: n/a
Cor
Christiaan,
No it was for Fergus,
But Adios Amigo Christian to you too.
Cor
Nov 20 '05 #7

P: n/a
see also:
http://msdn.microsoft.com/library/de...asp?frame=true
Visual Studio.NET
Visual Basic and Visual C#
Upgrading applications
Upgrading from VB 6.0
-> Introduction in VB.Net for experienced VB users

direct link:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB/vbcon/html/vboriIntroductionToVisu
alBasic70ForVisualBasicVeterans.htm

(see hints in signature)
--
Armin

- Links might be split into two lines. Concatenate them using notepad.
- Links might require to add a ".nnnn" after the "2003FEB", e.g.
"2003FEB.1033" for localized versions.
- Links starting with "ms-help" are URLs for the document explorer (<F1>).
Paste them in the URL textbox and press enter. Using internal help (menu
tools -> options -> environment -> help), display the "Web" toolbar that
contains the textbox.
- The tree representing the table of contents has been translated from
localized (German) version. Excuse slight deviations.

Nov 20 '05 #8

P: n/a
Thanks guys,
Now that I've got the custom cursor it looks a bit more professional since
it's a board game and I'm using the hand pointer.
Cheers,
Christian Blackburn

"Cor" <no*@non.com> wrote in message
news:3f**********************@reader21.wxs.nl...
Christiaan,
No it was for Fergus,
But Adios Amigo Christian to you too.
Cor

Nov 20 '05 #9

P: n/a
Hi Armin,
Thanks Armin that is an excellent link I'll have to spend a week and
memorize all of it :). No sarcasm intended.
Cheers,
Christian
"Armin Zingler" <az*******@freenet.de> wrote in message
news:ux*************@TK2MSFTNGP11.phx.gbl...
see also:
http://msdn.microsoft.com/library/de...asp?frame=true

Visual Studio.NET
Visual Basic and Visual C#
Upgrading applications
Upgrading from VB 6.0
-> Introduction in VB.Net for experienced VB users

direct link:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB/vbcon/html/vboriIntroductionToVisu alBasic70ForVisualBasicVeterans.htm

(see hints in signature)
--
Armin

- Links might be split into two lines. Concatenate them using notepad.
- Links might require to add a ".nnnn" after the "2003FEB", e.g.
"2003FEB.1033" for localized versions.
- Links starting with "ms-help" are URLs for the document explorer (<F1>).
Paste them in the URL textbox and press enter. Using internal help (menu
tools -> options -> environment -> help), display the "Web" toolbar that
contains the textbox.
- The tree representing the table of contents has been translated from
localized (German) version. Excuse slight deviations.

Nov 20 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.