Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - wait cursor

 
 
Old 07-04-2006   #1 (permalink)
Benoist.Demeure


 
 

wait cursor

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

My System SpecsSystem Spec
Old 07-04-2006   #2 (permalink)
Josh Smith


 
 

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 ?

My System SpecsSystem Spec
Old 07-05-2006   #3 (permalink)
Nick Kramer [MSFT]


 
 

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 ?



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Very long wait Vista installation & setup
But wait... XP is still there!! GRR... General Discussion
cursor keyboard touch pad very sensitive and cursor bounces around Vista General
crazy cursor - cursor keeps bouncing back form certain clickable a Vista performance & maintenance
Please Wait..... Vista installation & setup


Vista Forums 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 Ltd

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