Centering a window

BlitzPlus Forums/BlitzPlus Programming/Centering a window

and use SetGadgetShape if any changes occur in Resolution,
and GagdetWidth(Desktop()) (as weel as Height) to get the width and height in unknown cases......of course