That is exactly what I am looking for. Just one thing,
after I turn the cursor into a wait cursor, is there a
way to disable all the controls (e.g buttons, textboxes)
so that I can't click on anything, or do I have to
disable each control individually. Again , thanks for
the reply.
[color=blue]
>-----Original Message-----
>Mike,
>
>Something along these lines:
>-------------
>Cursor = Cursors.WaitCur sor;
>// ... do processing
>Cursor = Cursors.Arrow;
>-------------
>
>Is this what you were looking for?
>
>Regards,
>Alex
>
>
>"Mike" <mikebiros@hotm ail.com> wrote in message
>news:0aa701c37 703$5f718bf0$a0 01280a@phx.gbl. ..[color=green]
>> Currently, when my application needs to write/read to a
>> database, there is a time lag. In that time lag, a[/color][/color]
user[color=blue][color=green]
>> can click the same button multiple times causing my app
>> problems. I want to turn the mouse pointer arrow into[/color][/color]
an[color=blue][color=green]
>> hourglass and ignore mouse clicks until my app finishes
>> working. Most commercial apps I've looked at do this.
>> Is there an easy way to do this (ie. any built-in
>> controls in VS.NET or classes in MSDN)? Any[/color][/color]
suggestions[color=blue][color=green]
>> and/or code samples would be greatly appreciated.[/color][/color]
Thank[color=blue][color=green]
>> you for the reply.
>>
>> Mike[/color]
>
>
>.
>[/color]
..
after I turn the cursor into a wait cursor, is there a
way to disable all the controls (e.g buttons, textboxes)
so that I can't click on anything, or do I have to
disable each control individually. Again , thanks for
the reply.
[color=blue]
>-----Original Message-----
>Mike,
>
>Something along these lines:
>-------------
>Cursor = Cursors.WaitCur sor;
>// ... do processing
>Cursor = Cursors.Arrow;
>-------------
>
>Is this what you were looking for?
>
>Regards,
>Alex
>
>
>"Mike" <mikebiros@hotm ail.com> wrote in message
>news:0aa701c37 703$5f718bf0$a0 01280a@phx.gbl. ..[color=green]
>> Currently, when my application needs to write/read to a
>> database, there is a time lag. In that time lag, a[/color][/color]
user[color=blue][color=green]
>> can click the same button multiple times causing my app
>> problems. I want to turn the mouse pointer arrow into[/color][/color]
an[color=blue][color=green]
>> hourglass and ignore mouse clicks until my app finishes
>> working. Most commercial apps I've looked at do this.
>> Is there an easy way to do this (ie. any built-in
>> controls in VS.NET or classes in MSDN)? Any[/color][/color]
suggestions[color=blue][color=green]
>> and/or code samples would be greatly appreciated.[/color][/color]
Thank[color=blue][color=green]
>> you for the reply.
>>
>> Mike[/color]
>
>
>.
>[/color]
..
Comment