Hey I just took over a project and am working on a shutdown function that will return a default window back to it's original dimensions. I have this line of code in my shutdown function
WindowSetDimensions( basename , 468, 71)
basename is the window name. This same basic function is used to redimension the window in the initialization function but it doesn't seem to work in the shutdown function as the window stays the same dimensions that I changed it to during initialization. I can type this code in as a /script after the addon has been shutdown and it works. I'm a bit baffled why it isn't working in the shutdown function. If anyone can shed some light I'd appreciate it.