Show Window

? tab(-10, AG_SHOWWINDOW); flags; {","; lft; ","; top; ","; rgt; ","; btn; { ","; rows; ","; cols; { ","; tsts; ","; bsts; { ",";  cid; ","; hg; ","; vg; { ","; monitors; }}}}}; chr(127);

AG_SHOWWINDOW (27) is equivalent to the subroutine AUI_WINDOW.

If flags >= 0, display window according to the flags and other options. For flags < 0, retrieves information, which is returned formatted as follows (and which you can process via an INPUT or INPUT LINE statement):

flags = -1 or -3 (SW_QRYCTLUNV or SW_QRYCTLPIX):

lft,top,rgt,btm,rows,cols,tsts,bsts,hg,vg

flags = -2 (SW_QRYMON)

lft,top,rgt,btm,0,0,0,0,xres,yres