Hi George,
>
>While I know you have your answer, an altenative is the SetActiveWindow() function. You only need to pass the window handle as a parameter.
>
Actually, I couldn't get that to work. It seems that it works with top-level windows only, i.e. _VFP.hWnd, but I could have been doing something wrong.