Hello All, it has been a while and I'm back with what I hope is an easy question.
I have a top level form (VFP6) that is set to be always on top. Because of this the lost focus (and got focus too) event does not fire even though the top level form may not be the current user selected application.
In other words my top level form is displayed (on top of every other application) but the user is currently in another application. I need to trap the event of lost focus or got focus. I fugure I need to access win32api but a quick browse through the api didn't reveal anything.
Anyone know an API function to tell you what the current application is? Or a foxpro function? -Pete
I have a top level form (VFP6) that is set to be always on top. Because of this the lost focus (and got focus too) event does not fire even though the top level form may not be the current user selected application.
In other words my top level form is displayed (on top of every other application) but the user is currently in another application. I need to trap the event of lost focus or got focus. I fugure I need to access win32api but a quick browse through the api didn't reveal anything.
Anyone know an API function to tell you what the current application is? Or a foxpro function? -Pete