[MAXGUI] Maximize a window??

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

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

hm.. dunno.. perhaps resize the window yourself using setgadgetshape? (and store the original sizes to be able to restore its original size)

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


Thanks tonyg

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

Thanks!

cbmeeks

Help>Modules>MaxGUI, and the events also belong to the GUI module afaik ( >event objects >event queue )

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?

Sure it was reported before and people might have re-installed to cure it.
You could try manually running docmods first though.