Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top level form does not get the focus
Message
 
To
13/03/2002 11:27:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00627628
Message ID:
00632158
Views:
30
>>Remember that Windows is a pre-emptive multi-tasking operating system. IOW, whether or not an application has focus, it still gets a time-slice of the processor and processing continues. If this is VFP 7.0, just past the _VFP.hWnd property to the same API function as in the other case. If pre-7.0, use either the FindWindow() API call passing the _SCREEN.Caption property to get the window handle or MainhWnd() from Foxtools.
>
>GetActiveWindow() does not accept any parameter. I tried:
>
>
>GetActiveWindow(_VFP.hWnd)
>
I was referring to SetActiveWindow() which does.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform