Window has no minimize button?
BlitzMax Forums/MaxGUI Module/Window has no minimize button?
| ||
WHen I create a window, I get no Minimize button.. I would like one, but would prefer not to make the window resizable. thanks |
| ||
The source codes in this thread might assist you (under Win32): http://www.blitzbasic.com/Community/posts.php?topic=81272#916228 |
| ||
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 |
| ||
SetMaxWindowSize / SetMinWindowSize is your friend. Can't think of anything else. |
| ||
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. |
| ||
awesome, thanks! |