>I want to find and show a window(the code below does that)
>but its not the active window. I have to click on it.
>Is there some to make it the active window?
>Thanks
>Ken Paulson
>
>DECLARE INTEGER FindWindow IN Win32API;
> STRING @lpClassName, STRING @lpWindowName
>lctitle="Alarm"
>w_handle = FindWindow(0, @lctitle)
>if w_handle>0
>DECLARE LONG ShowWindow IN USER32 LONG NHWND, LONG NSHOWHOW
>=ShowWindow(w_handle,1)
>endif
Do you want to do it outside VFP application or inside? The latter task can be done by native VFP means.
Edward Pikman
Independent Consultant