Start a window in maximized mode
BlitzMax Forums/MaxGUI Module/Start a window in maximized mode
| ||
Is this posible and if yes tell me how pls If not please tell me a way to simulate this pls Thx in advance |
| ||
MaximizeWindow? |
| ||
yeah but some items go weird on the window... when I create it I'd have to make it exactly screen szie and I dunno how to get descktop height and width... Do you know? |
| ||
im guessing by "some items go weird" you mean gadgets get resized, in that case use SetGadgetLayout to solve that...i'm not quite undestanding your problem though... |
| ||
You can use: GadgetWidth (Desktop ()) GadgetHeight (Desktop ()) ...to get the desktop size. But as Khomy said, you need to apply setgadgetlayout() to each gadget on the window before doing any resizing stuff. |
| ||
oky I got the SetGadgetLayout thing and also thx for the GadgetWidth (Desktop ()) and GadgetHeight (Desktop ()) |
| ||
Create the window as a hidden window, maximize it, then show it. |