Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catching when a window is restored
Message
 
À
13/05/2008 08:45:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01316520
Message ID:
01316625
Vues:
16
Tamar & Naomi, thanks. I did end up storing a property on the form for LastWindoState that gets checked in the Resize() vs. the current WindowState. Then another form property for UserFiredWindowStateChange (T/F), which I have normally set to .T. Then right before the form state changes programatically, I set it to .F. In the Resize() event then when the state changes, I'm checking to see if it was the user or the program that caused the state change.

Not as handy as having a native method for UserClickedIconicFormInWindowsTaskbarToRestoreIt(), but hey, what can you expect from a language that just hasn't been around that long? ;-)

Thanks guys,

-Matt
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform