Home All Groups Group Topic Archive Search About

making entire application's cursor change to wait cursor in MDI

Author
23 Aug 2006 3:53 PM
Smokey Grindle
I have an MDI app, that has a Modal (non MDI child) form that shows up in
it's properties that performs a very long task, I want the wait cursor to
show over the entire application... when I do cursor.current = Wait it only
changes the cursor over the Modal dialog... anyway to change the cursor so
when its over any part of the app it is the same? thanks!

Author
23 Aug 2006 4:34 PM
Izzy
Me.TopLevelControl.Cursor = Cursors.WaitCursor

Smokey Grindle wrote:
Show quoteHide quote
> I have an MDI app, that has a Modal (non MDI child) form that shows up in
> it's properties that performs a very long task, I want the wait cursor to
> show over the entire application... when I do cursor.current = Wait it only
> changes the cursor over the Modal dialog... anyway to change the cursor so
> when its over any part of the app it is the same? thanks!
Author
23 Aug 2006 4:38 PM
Izzy
Oh wait...Non MDI child...Hmmm.

I wrote one MDI application once and controled all my froms from a
module. I also had on sub called WaitCursor and when I called it, it
set the Me.Cursor property of all forms that were not disposed or =
nothing.

I'm not sure if there is a better way than that.


Izzy wrote:
Show quoteHide quote
> Me.TopLevelControl.Cursor = Cursors.WaitCursor
>
> Smokey Grindle wrote:
> > I have an MDI app, that has a Modal (non MDI child) form that shows up in
> > it's properties that performs a very long task, I want the wait cursor to
> > show over the entire application... when I do cursor.current = Wait it only
> > changes the cursor over the Modal dialog... anyway to change the cursor so
> > when its over any part of the app it is the same? thanks!