Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Scan
Message
From
18/12/2002 17:48:48
 
 
To
17/12/2002 16:59:29
Jim Harty
FL Dept Fin Services-Div of Rehab & Liq
Tallahassee, Florida, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00733893
Message ID:
00734304
Views:
16
>The focus switches to another open window. How do I keep focus on the scanning application main window? I'm calling vfp executable from another vfp application. The scanning application has a main form with the activex control on it. Once scanning begins, the focus switches to the most recent open\active window such as excel or email. I wish focus to stay on the scanning application until i have completed processing.

If this ActiveX control does some free games on the background that generates such a situation, you might want to workaround it by adding a timer, for example, which would put the focus back to your VFP application. You may only need to have it run once if the focus is only lost once. Otherwise, you might have to implement something more robust.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform