Confusion regarding making mouse pointer to hourglass

Discussion in 'Microsoft C# .NET' started by archana, May 4, 2006.

  1. archana

    archana Guest

    Hi all,

    I am having one confusion regarding changing cursor to wait cursor

    I am providing auto refreshing facility for listview using timer.

    So what i am doing is when auto refreshing is in progress i am changing
    cursor to hour glass to indicate user that application is busy in
    background processing.

    My question is when i change cursor to wait cursor and during that time
    user click on some where else will that events get handled immediately
    or it will gets handle only after my previous processing i.e auto
    refreshing gets completed.

    Or can some one tell me how to prevent user from clicking on some other
    when timer event is in execution.


    Any help will be truely appreciated.

    thanks in advance.
     
    archana, May 4, 2006
    #1
    1. Advertisements


  2. >My question is when i change cursor to wait cursor and during that time
    >user click on some where else will that events get handled immediately
    >or it will gets handle only after my previous processing i.e auto
    >refreshing gets completed.


    The mouse cursor doesn't affect when events are handled.


    >Or can some one tell me how to prevent user from clicking on some other
    >when timer event is in execution.


    Disable the controls.


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.
     
    Mattias Sjögren, May 4, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. archana

    confusion regarding threading

    archana, Jul 27, 2006, in forum: Microsoft C# .NET
    Replies:
    3
    Views:
    141
    Ignacio Machin \( .NET/ C# MVP \)
    Jul 27, 2006
  2. archana

    Confusion regarding waitone

    archana, Aug 8, 2006, in forum: Microsoft C# .NET
    Replies:
    2
    Views:
    185
    Guest
    Aug 8, 2006
  3. archana

    Confusion regarding C# and C#.net

    archana, Feb 28, 2007, in forum: Microsoft C# .NET
    Replies:
    1
    Views:
    169
    William Stacey [C# MVP]
    Feb 28, 2007
  4. archana

    confusion regarding hashtable.

    archana, Apr 18, 2007, in forum: Microsoft C# .NET
    Replies:
    2
    Views:
    116
    Jon Skeet [C# MVP]
    Apr 18, 2007
  5. archana
    Replies:
    3
    Views:
    168
    archana
    Jun 15, 2007
Loading...

Share This Page