Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focus problem

Status
Not open for further replies.

UdoScheuvens

Programmer
Apr 12, 2001
42
DE
Hello,

I have the following problem with the window focus: I have 2 applications running, where one starts the other. After a couple of seconds the focus returns the first application, and whenever I set it back to the second manually it will return to the first after a short while.

When debugging the first application with a breakpoint within the "GotFocus" event, there's no other code within this application being executed before. And if I kill the first application, the focus will stay at the second forever.

Is there any way to find out, by what the focus switch was caused? Any kind of external spy program or something like that? Any idea would be helpful.

Udo
 
Really need to know what the applications are doing. There are a lot of different reasons why focus might be changing.

-I hate Microsoft!
-Forever and always forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top