General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only