Please enable JavaScript to view this site.

A-Shell Development History

AUI_WINDOW enhancement: new optional parameter winsts returns the min/max/norm status of the window:

xcall AUI, AUI_WINDOW, opflag {,lft,top,rgt,btm {,rows,cols {,tst,bsts {,cid,hg,vg {,monitors {,winsts}}}}}}

If specified with one of the query opflags, winsts will return one of:

Symbol

Value

Description

SW_HIDE

0

Window is hidden

SW_SHOWNORMAL

1

Window is neither minimized nor maximized

SW_SHOWMINIMIZED

2

Window is minimized

SW_SHOWMAXIMIZED

3

Window is maximized

 

Example:

! retrieve status of main window

xcall AUI, AUI_WINDOW, SW_QUERY, 0,0,0,0, 0,0, 0,0, 0, 0,0,0, winsts

switch winsts

    case SW_HIDE

    ...