>Well, I found it, but I cannot get it to work. I want to force focus to stay on my app while it is running. I can trap for it in the handlewinmsg but by the time it is there, the focus has switched to the other app.
I guess you can look at the .h file and see if there's any other event which precedes this.