Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catching when a window is restored
Message
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:
01316632
Vues:
16
I would have called the property PreviousWindowsState, but that's just me :)

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform