#code=950T936
ENVI^ EnviMode=1
ENVI^ ForceLocal=1
SET &::WM_MOUSELEAVE=0x02A3
SET &::WM_MOUSEENTER=0x1000
SET &::WM_LBUTTONDOWN=0x0201
call GetDpiPercent
call @Page1
_sub Page1,W350H500,,,,,, %ScaleCMD%
ENVI @this.bkcolor=0x000000
LABE -left -trans WLAN,W100H30,WLAN,,ffffff,12:宋体**####3
swin swin1:Win1:-SwinMain1,l0 t20 w350 h400,,
_end
_sub Win1,W350H400,,,,,, %ScaleCMD%
swin swin2:Win2:-SwinMain2,l0 t0 w350 h100,,
swin swin3:Win3:-SwinMain3,l0 t100 w350 h50,,
_END
_sub Win2,W350H100,,,,,, %ScaleCMD%
ENVI @this.bkcolor=0x000000
LABE -trans Labewlan,L20T15W100H20,这是一个无线,,ffffff,12:宋体**####10
ITEM Itemwlan,T25L290W50H20,连接
_end
_sub Win3,W350H50,,,,,, %ScaleCMD%
ENVI @this.bkcolor=0x000000
LABE -trans Labewlan,L20T15W100H20,这是一个无线,,ffffff,12:宋体**####10
ITEM Itemwlan,T25L290W50H20,连接
_end
_sub GetDpiPercent *
call $user32.dll,SetProcessDPIAware
call $--ret:hdc user32.dll,GetDC,#0
call $--ret:LogPixels Gdi32.dll,GetDeviceCaps,#%hdc%,#90
set ScaleCMD=-scalef:%LogPixels% -scale:%LogPixels%
_end
我发现那条白线就是swin窗口缝隙,上下滚动后就没有白线了 |