#!PECMD
SET  ::WM_DROPFILES                    =0x0233
WIN1
_SUB WIN1,W523H364,ÐÂ´°¿Ú1,
    EDIT|- EDIT2,L24T22W466H144,EDIT2,,0x004
    EDIT   EDIT3,L24T174W466H96,EDIT3,,0x204
    LABE LABE6,L26T297W60H30,LABE6,,
    ENVI @EDIT2.MSG=%&WM_DROPFILES%::&&wp,&&lp, CALL OnDrop2 %&wp%  %&lp% 
    
    ENVI @WIN1.MSG=%&WM_DROPFILES%::&&wp,&&lp,  ENVI @WIN1.POSTMSG=#1,%&wp%,%&lp%
    ENVI @WIN1.MSG=#1::&&wp,&&lp, CALL OnDrop1 %&wp%  %&lp%
_END

_SUB OnDrop2
    ENVI  ?&&F1,&&FS=DROPFILE,%1
    MESS.  OnDrop2 [%*][ENVI @LABE6=%&FS%]@#OK
    ENVI @EDIT2=%&FS%
_END

_SUB OnDrop1
    ENVI ?&F1,&FS=DROPFILE,%1
    MESS.  OnDrop1 [%*][ENVI @EDIT3=%&FS%]@#OK
    ENVI @EDIT3=%&FS%
_END
