Results 1 to 5 of 5

Thread: .NET hourglass problem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    .NET hourglass problem

    Hi all,

    I've got a couple of milliseconds computational task and .NET thinks it needs to help me and change the mouse cursor into an hourglass. But it is getting quite annoying seeing the cursor change 10 times every second.
    Anyone know how to keep my default cursor?

    thanx in advance, Figa

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: .NET hourglass problem

    Quote Originally Posted by figa
    Hi all,

    I've got a couple of milliseconds computational task and .NET thinks it needs to help me and change the mouse cursor into an hourglass. But it is getting quite annoying seeing the cursor change 10 times every second.
    Anyone know how to keep my default cursor?

    thanx in advance, Figa
    Hi,
    You could try this link:

    http://msdn.microsoft.com/library/de...HV01122142.asp

    Hope it helps you,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Re: .NET hourglass problem

    First let me thank you for your quick reply. Second it didnt really solve the problem. It's an underlying process which i have no control over with properties ot anything. I think I have to send a message or something, but which one.
    Anyone else want to share their 2 cents? In the mean time, i will dig in to it, and reply an anwser here, if there is any

    Thanks, Figa

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: .NET hourglass problem

    Post your code. With all the stuff I've worked on, it has required me to manually change to an hour glass during any computation.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Re: .NET hourglass problem

    Im happy to post the code, but i dont think you quite understand my problem. I do not want the hourglass, but still i get it. I didnt change the Cursor to an hourglass anywhere in my code.
    I use a thread to do some calculations and i think that calculation make the cursor change into an hourglass for a really short time. But it changes 10 times a second (very ugly). So i want to disable .NET's cursor autochanger.

    Thanks anyway...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width