Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App to apply exams
Message
De
02/12/2010 07:35:10
 
 
À
02/12/2010 03:36:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01482141
Message ID:
01491537
Vues:
64
>>>>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.

Thanks Al, will do!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform