The cursor icons are set per form, so you might have to add an hourglass
icon to the process form, when you are writing something like :
Cursor = Cursors.WaitCursor
then you are actually writing :
Me.Cursor = Cursors.WaitCursor
, so you need to get the handle to the process window, and then write
something like:
Me.Cursor = Cursors.WaitCursor
pProcessFrm.Cursor = Cursors.WaitCursor
-Inge
"Tee" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> From my main form, I am executing another application using
> System.Diagnostics.Process.Start.
> The application has its own window displaying when the applicaiton is run.
>
> I want to change the cursor to a hourglass. But I only can change my own
> form's cursor using Cursor.Current, whenever I move my mouse cursor into
> the
> window, the mouse cursor back to default cursor.
> I want to change the cursor in the process's window too. Can anyone tell
> me
> how to do that?
>
>
> Thanks.
>
>
|