Main UI is losing focus on updating background thread UI

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top