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