Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catching when a window is restored
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01316520
Message ID:
01316632
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform