Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making top level form active
Message
From
03/04/2003 19:10:23
 
 
To
02/04/2003 09:01:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00768739
Message ID:
00773836
Views:
19
Hi David,

Good for you! I assume you are using VFP 7 or later, coz my VFP 6 doesnt have the HWnd property.

>:: lh_form = _SCREEN.ACTIVEFORM
>:: DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd
>:: =SetForegroundWindow(lh_form.HWnd)
>
>This same thing has bugged me ... but was something I had not gotten around to investigating yet ... adding these three lines between my DO FORM and READ EVENTS in my _start.prg did the trick ... thanks guys.
>
>David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform