![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| 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 | |||