Window has no minimize button?

BlitzMax Forums/MaxGUI Module/Window has no minimize button?

jondecker76(Posted 2010) [#1]
WHen I create a window, I get no Minimize button.. I would like one, but would prefer not to make the window resizable.

thanks


Grisu(Posted 2010) [#2]
The source codes in this thread might assist you (under Win32):
http://www.blitzbasic.com/Community/posts.php?topic=81272#916228


jondecker76(Posted 2010) [#3]
I shouold have mentioned that this is for a cross-platform project. Oh well, maybe I'll set it to resizable and lock its size in code


Grisu(Posted 2010) [#4]
SetMaxWindowSize / SetMinWindowSize is your friend.

Can't think of anything else.


SebHoll(Posted 2010) [#5]
If you want a minimizable non-resizable window, use the WINDOW_RESIZABLE style constant and pass SetWindowMinSize() and SetWindowMaxSize() the same values - effectively locking the window to its current size. MaxGUI should notice this and the maximize button should disappear, leaving just the minimize button operational.


jondecker76(Posted 2010) [#6]
awesome, thanks!