TEAM ENVI^ ENVIMODE=1| ENVI^ FORCELOCAL=1
SET  ::WM_KEYDOWN                      =0x0100

WIN1

_SUB WIN1,W287H254,EDIT捕捉ENTER/ESC,
    EDIT EDIT1,L22T47W214H30,EDIT1,,
    ENVI @EDIT1.MSG=+%WM_KEYDOWN%::wp,lp,MESS-  Super wp=[%wp%],lp=[%lp%]@#OK      
    //ENVI @EDIT1.MSG=%WM_KEYDOWN%::wp,lp,MESS-  Normal  wp=[%wp%],lp=[%lp%]@#OK      
_END

