|
本帖最后由 826773297 于 2022-10-17 19:36 编辑
WIN1
_SUB WIN1,W545H468,新窗口1,
EDIT EDIT1,L85T85W318H30,EDIT1,,
EDIT EDIT2,L85T129W327H30,EDIT2,,
RADI RADI1,L77T180W60H30,RADI1,,,
CHEK CHEK1,L212T197W60H30,CHEK1,,
LIST LIST1,L358T204W60H100,LIST1,
ENVI @EDIT1.MSG=_0x0021:ENVI @WIN1=EDIT1
ENVI @EDIT2.MSG=_0x0021:ENVI @WIN1=EDIT2
ENVI @RADI1.MSG=_0x0021:ENVI @WIN1=RADI1
ENVI @CHEK1.MSG=_0x0021:ENVI @WIN1=CHEK1
ENVI @LIST1.MSG=_0x0021:ENVI @WIN1=LIST1
ENVI @WIN1.MSG=0x0202:ENVI @WIN1=左键
ENVI @WIN1.MSG=0x0204:ENVI @WIN1=右键
ENVI @WIN1.MSG=0x001C:ENVI @WIN1=未激活
_END
试试wm消息
WIN1
_SUB WIN1,W545H468,新窗口1,
EDIT EDIT1,L85T85W318H30,EDIT1,,
EDIT EDIT2,L85T129W327H30,EDIT2,,
RADI RADI1,L77T180W60H30,RADI1,,,
CHEK CHEK1,L212T197W60H30,CHEK1,,
LIST LIST1,L358T204W60H100,LIST1,
ENVI @EDIT1.MSG=_0x0008:ENVI @WIN1=EDIT1
ENVI @EDIT2.MSG=_0x0008:ENVI @WIN1=EDIT2
ENVI @RADI1.MSG=_0x0008:ENVI @WIN1=RADI1
ENVI @CHEK1.MSG=_0x0008:ENVI @WIN1=CHEK1
ENVI @LIST1.MSG=_0x0008:ENVI @WIN1=LIST1
_END
|
|