What I want to do is I want to let the process finish first before the user
can select the main form.
During the process the cursor is in "wait" type.
I just want to make the main form appear normal except cannot select the
controls on the form.If the main form appears in white, the user may think
the system is hang.
"Nicholas Paldino [.NET/C# MVP]" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> This isn't a focus issue, this is a matter of you doing all the
> processing on the main UI thread.
>
> Perform your processing on another thread, and leave the UI thread to
> process messages, and you should have no problem switching back.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - (E-Mail Removed)
>
> "Alan T" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> How do I make my application back to focus during it is processing I
>> switch to other application and back ?
>>
>> During my application processing, I open another application, eg.
>> notepad. Then I select my application, my application screen is in white.
>>
>
>