Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App to apply exams
Message
De
02/12/2010 03:36:18
 
 
À
01/12/2010 18:08:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01482141
Message ID:
01491513
Vues:
71
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform