quote:
Originally posted by cooldude_i06
thanks guys, that made sense, and worked
another question i would like to ask now is that, is there an event (i couldnt find it in the documentation) fired when an interface window receives focus, and a function or property that can put focus on another window?
I can use the visible property for now, but the focus one would be better i guess. thanks
No there isn't an event for recieving focus. You can however add a timer and monitor the GetForegroundWindow() api for the handle and compare it to the one you want to remove from focus.