Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 showwindow ?
Message
From
28/10/1998 14:30:35
 
 
To
28/10/1998 14:15:24
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00151825
Message ID:
00151835
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform