Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

wait cursor

Closed Thread
 
Thread Tools Display Modes
Old 07-04-2006   #1 (permalink)
Benoist.Demeure
Guest
 
Posts: n/a

wait cursor

Is there any way to set a wait cursor that block any click , for example when
loading a part of the application ?
 
Old 07-04-2006   #2 (permalink)
Josh Smith
Guest
 
Posts: n/a

RE: wait cursor

FrameworkElement declares the Cursor property, which can be set to
Cursors.Wait if you want to show the hourglass temporarily. As for
preventing mouse clicks from having an effect on the UI while the cursor is
an hourglass, you'll need to code that logic yourself. Perhaps you might
want to set the IsEnabled property to false on the Window/Page while it loads
whatever data you are dealing with.

Josh

"Benoist.Demeure" wrote:

> Is there any way to set a wait cursor that block any click , for example when
> loading a part of the application ?

 
Old 07-05-2006   #3 (permalink)
Nick Kramer [MSFT]
Guest
 
Posts: n/a

Re: wait cursor

You can block mouse down for a whole page by listening to PreviewMouseDown
and marking the event as handled. For the cursor, you'll also want to use
ForceCursor=true so that things like hyperlinks will still use the wait
cursor.

--
-Nick Kramer [MSFT]
http://blogs.msdn.com/nickkramer

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Josh Smith" <JoshSmith@discussions.microsoft.com> wrote in message
news:24DEF805-FB5E-493B-995D-15521C3587A5@microsoft.com...
> FrameworkElement declares the Cursor property, which can be set to
> Cursors.Wait if you want to show the hourglass temporarily. As for
> preventing mouse clicks from having an effect on the UI while the cursor
> is
> an hourglass, you'll need to code that logic yourself. Perhaps you might
> want to set the IsEnabled property to false on the Window/Page while it
> loads
> whatever data you are dealing with.
>
> Josh
>
> "Benoist.Demeure" wrote:
>
>> Is there any way to set a wait cursor that block any click , for example
>> when
>> loading a part of the application ?



 
 
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
cursor keyboard touch pad very sensitive and cursor bounces around petro Vista General 2 05-19-2008 11:09 PM
crazy cursor - cursor keeps bouncing back form certain clickable a jordanly Vista performance & maintenance 0 05-10-2008 04:46 AM
Should I Wait or Take the Leap? Ed Sutherland Vista General 20 01-03-2007 08:41 AM
Better to wait before buying new PC? Brett Vista General 42 11-21-2006 06:04 AM
Please Wait..... leebob Vista installation & setup 2 06-19-2006 05:02 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49