![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| 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 ? |
| | #3 (permalink) |
| 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 ? |
| |
| |
![]() |
| 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 |