APPLICATION.DOEVENTS TAKE FOCUS

T

tony

Hi,

i have 2 applications running on the same time.

the user is using app A .

sometimes in app B (hidden form) when try to connect to the internet, im
calling Application.Events to get windows message about the connecting
process.

when this happen, the focus is taken from app A.



* if i put the Application.DoEvents in non gui thread, it will help ?

* any other ideas how to prevent appA from losing is focus at all ?

thanking in advance.
 

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