Confusion regarding making mouse pointer to hourglass

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • archana

    Confusion regarding making mouse pointer to hourglass

    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.

  • Mattias Sjögren

    #2
    Re: Confusion regarding making mouse pointer to hourglass

    [color=blue]
    >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.[/color]

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

    [color=blue]
    >Or can some one tell me how to prevent user from clicking on some other
    >when timer event is in execution.[/color]

    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.

    Comment

    Working...