Window starts maximized (Vista only)

BlitzPlus Forums/BlitzPlus Programming/Window starts maximized (Vista only)

bytecode77(Posted 2008) [#1]
hi!
i have a problem with windows. they always start maximized and i have to restore them manually. does anyone know why they do that?
thanks.


Cp(Posted 2008) [#2]
Doesnt happen with me(i have vista.)


Doiron(Posted 2009) [#3]
I'm arguably a little late for this, but I recently stumbled upon this problem myself and maybe my workaround can be of help for someone else still using BlitzPlus.

I've noticed that only the first created window suffers from this issue, so a quick hack I've found is to open a second window and close the first one. It's not very stylish as you can see a glimpse of the maximed window before it's closed but it works. Still, I've devoted very little time on the problem and there may be better solutions.

EDIT: hey, it looks like it only happens when running the app from the ide (with and without debug), but not on with compiled exe... so my suggestion is only useful during development, after which you can remove the added window code.


Starwar(Posted 2009) [#4]
I use Restorewindow


Doiron(Posted 2009) [#5]
Weird, this command is undocumented.
Was looking for a way myself to restore a window.