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

Click here to load this message in the networking platform