I would like to be able to set a On-Hide command for any window not just the main ones.
winshow() is just the proc for you.

Alternative: winset(), "is-visible" parameter.
In response to Kaiochao2536
I suppose I could run a proc when I open a window that continously checks if the window is still open, that just seems like a waste of processor power. I rather it be a feature of the window, it would seem to make more sense in an object oriented system.