TEAM ENVI^ ENVIMODE=1| ENVI^ FORCELOCAL=1
SET WM_WINDOWPOSCHANGED=0x0047
WIN1
_SUB WIN1,W287H254,新窗口1,
    ENVI @this.MSG=_%WM_WINDOWPOSCHANGED%:OnPos
_END
_SUB OnPos
    ENVI @this.POS=?@&&X:&&Y
    ENVI @this=%X%  %Y%
_END

