APPLICATION.DOEVENTS TAKE FOCUS

  • Thread starter Thread starter tony
  • Start date Start date
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.
 
Back
Top