|
#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,l1 t20 w340 h400,,0x180
_end
_sub Win1,W340H800,,,,,, %ScaleCMD%
ENVI @this.bkcolor=0x000000
swin swin2:Win2:-SwinMain2,l0 t0 w340 h100,,
swin swin3:Win3:-SwinMain3,l0 t450 w340 h50,,
_END
_sub Win2,W340H100,,,,,, %ScaleCMD%
ENVI @this.bkcolor=0x000000
LABE -trans Labewlan,L20T5W100H20,这是一个无线,,ffffff,12:宋体**####10
ITEM Itemwlan,T25L290W50H20,连接
_end
_sub Win3,W340H50,,,,,, %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窗口的滚动条可否设置颜色
|
|