Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switch to another app/switch back to mine
Message
De
08/07/2005 11:48:08
 
 
À
08/07/2005 08:27:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01030278
Message ID:
01030535
Vues:
23
Hi Herman

Thank you for your code! Your code executes perfectly, but doesn't generate the mystery Windows message my application needs to restore access to keyboard events.

Can you think of a Windows message that gets sent to an application when one Alt+Tabs away from it and then back again? The same message is sent when I resize my toplevel form via the mouse but is not sent when I resize my form with the sysmenu Size menu and keyboard cursor keys.

I've also tried SetForegroundWindow( _VFP.hWnd ) without success.

Basically ... (I think) ... I want to reactivate my application.

As always, thanks for your generous help!

Malcolm


I'm using a 3rd party toolbar component that loses access keyboard events when I REPORT FORM in a top level form. The workaround - to restore access to keyboard events - is to Alt+Tab to another application and then back to my application. This restores my 3rd party toolbar's ability to recognize keyboard events. I can also restore keyboard events by using the mouse to resize my top level form.

Any suggestions on an API call that would accomplish the same effect as either of these techniques?
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform