Hi Jon!
Personally, I'm using GetForeGroundWindow function
declare integer GetForegroundWindow in Win32Api
lnhwnd =GetForegroundWindow()
* Beggars cannot be choosers
>I need to be able to get the actual handle number of a form to feed to
the
>OCX SDK call...
>like 'hWnd=GetHandle()' or some variation...
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer