Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App to apply exams
Message
From
02/12/2010 03:36:18
 
 
To
01/12/2010 18:08:42
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01482141
Message ID:
01491513
Views:
69
>>>Well, I found it, but I cannot get it to work. I want to force focus to stay on my app while it is running. I can trap for it in the handlewinmsg but by the time it is there, the focus has switched to the other app.
>>
>>I guess you can look at the .h file and see if there's any other event which precedes this.
>
>I think I may have an option. I found this article by Rick Strahl:
>http://www.west-wind.com/Weblog/posts/1869.aspx
>
>He's doing something different, but I may be able to set the current window handle for the fox app (as he does) so that when the deactivate fires, turn around and set focus back to the original fox app window handler by activate or whatever. Not ideal (focus would still go off for a second) but focus would come right back (or should in theory)....
>
>I'll play around with it....

I believe most Windows OSs have a so-called "kiosk mode" which is designed to restrict users to a single app. You might get some ideas if you Google that with your OS.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform