Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

Is this a bug?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rene - 11 Aug 2005 21:48 GMT
Create a new Windows project and a button on it, on the click event of the
button add the following code:

Cursor.Current = System.Windows.Forms.Cursors.Cross;

Run the project and click on the button, It was my understanding that the
cursor should change but it does not, it only changes as long as the code is
running for example, replace the previous code with the following:

Cursor.Current = System.Windows.Forms.Cursors.Cross;
System.Threading.Thread.Sleep(1000);

This will change the cursor for one second. Note that the cursor only
changes when the thread is bussy inside the click event.

Is this a bug?
Michael South - 12 Aug 2005 00:24 GMT
I think the cursor will change back to the one the form is set to. Check the
cursor property against the control the mouse is over. I will have to check
though as Visual Studio isn't installed on this computer.

Mike

> Create a new Windows project and a button on it, on the click event of the
> button add the following code:
[quoted text clipped - 12 lines]
>
> Is this a bug?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.