Start maximized?

BlitzPlus Forums/BlitzPlus Programming/Start maximized?

How can I create a window which is maximized right after creation?

Thanks :)

Is this what you mean?
Win = CreateWindow("test", ClientWidth(Desktop()) + 1, 0, 640, 320, 0, 1 + 2)
MaximizeWindow Win

Repeat: Until WaitEvent() = $803
* edit *
You're welcome. The simple stuff can elude us sometimes ;)

i feel so stupid! thanks

Umm, if I hit the button to not maximize it but not minimize it, so i can scale it, it just minimizes! then i have to right click the toolbar and click maximize to see it again!

how can i get around that? ill check the code archives

EDIT: i found out how :P i set the windows x and y to -1024 and the width and height to 0 so the user cant see the window while all the stuff is being made but i fixeid tn ow and it works as i want it to :)

@MrSAK
As any beginner, there are no stupid questions to ask, only stupid answers! :-)