G
George
I'm stopping and starting the painting of my form while I
move controls. How can I change the mouse cursor and
have the mouse cursor actually paint before the next line
of code excutes? I would hate to use Thread.Sleep(100)
just to give it a chance to paint the mouse cursor.
Basically I'm doing this:
base.Cursor = Cursors.WaitCursor;
FreezePaint(true);
do some stuff
FreezePaint(false);
base.Cursor = Cursors.Arrow;
Thanks for any help,
George
move controls. How can I change the mouse cursor and
have the mouse cursor actually paint before the next line
of code excutes? I would hate to use Thread.Sleep(100)
just to give it a chance to paint the mouse cursor.
Basically I'm doing this:
base.Cursor = Cursors.WaitCursor;
FreezePaint(true);
do some stuff
FreezePaint(false);
base.Cursor = Cursors.Arrow;
Thanks for any help,
George