Main UI is losing focus on updating background thread UI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have an application which performs set of operations. There is status
window (different from main application UI) which shows the status of current
operation.

When I change the status in the status window then the main application
losses focus. I am changing the status from main application using background
thread.

I would like to keeps the focus to main application and would like to change
the status in background.

Any suggestion on this will be much appreciated.

Atul Sureka
 
You're setting the focus on the status window. Afterwards, call the Focus()
method of the Form.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

A man, a plan, a canal, a palindrome that has.. oh, never mind.
 
Back
Top