MENUWIN = CreateWindow("Stellar v1.0",scrwidth / 2 - 375, scrheight / 2 - 281,750,563,0,19)
MENUCANVAS = CreateCanvas(0,0,750,563,MENUWIN,0)
BTNSNGL = CreateButton("Single Player",100,500,95,25,MENUWIN,1)
BTNMULT = CreateButton("Multiplayer",200,500,95,25,MENUWIN,1)
BTNOPT = CreateButton("Options",300,500,95,25,MENUWIN,1)
BTNQUIT = CreateButton("Quit",400,500,95,25,MENUWIN,1)
SetGadgetLayout(MENUCANVAS,1,1,1,1)
SetGadgetLayout(BTNSNGL,1,1,1,1)
SetGadgetLayout(BTNMULT,1,1,1,1)
SetGadgetLayout(BTNOPT,1,1,1,1)
SetGadgetLayout(BTNQUIT,1,1,1,1)
Ok... what am I doing wrong? The form is still resizable (that's fine) and the controls still resize as well. I don't want ANY movement or resizing...
,1,0,1,0 seems to work but doesn't appear to be correct according to the docs.
|