[MAXGUI] Maximize a window??

BlitzMax Forums/BlitzMax Beginners Area/[MAXGUI] Maximize a window??

cbmeeks(Posted 2006) [#1]
noob here.

I have my window created...now, I just want to virtually click the maximize button.

How do I do this?

I can't seem to find any real docs for MAXGui...only tuts (which are nice)

Thanks
cbmeeks


CS_TBL(Posted 2006) [#2]
hm.. dunno.. perhaps resize the window yourself using setgadgetshape? (and store the original sizes to be able to restore its original size)


tonyg(Posted 2006) [#3]
From the MaxGUI doc...
Function MaximizeWindow( window:TGadget )
MyWindow:TGadget=CreateWindow("Hello World", 200,200,320,240)
MaximizeWindow(mywindow)
Repeat
    WaitEvent()
Until EventID()=EVENT_WINDOWCLOSE

End



cbmeeks(Posted 2006) [#4]
Thanks tonyg

That's my problem...where do I find the docs??? (for MAXGui)

Thanks!

cbmeeks


CS_TBL(Posted 2006) [#5]
Help>Modules>MaxGUI, and the events also belong to the GUI module afaik ( >event objects >event queue )


cbmeeks(Posted 2006) [#6]
That's what I thought.

I bought the software yesterday and I have installed at home and at work...hope that is OK because I am the ONLY one that will use it.

Anyway, at home I have the docs there. At work I do not. I don't even get syntax coloring at work for maxgui but maxgui is working??

What am I missing?


tonyg(Posted 2006) [#7]
Sure it was reported before and people might have re-installed to cure it.
You could try manually running docmods first though.