压缩包里的DLL是在CSDN下载的,据说是破解版,但是我感觉不是破解版或者破解不完全,大家可以研究研究
这款插件支持修改控件文本的颜色
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ###
$skins="SkinSE_QQ2009"
$dll = DllOpen("SkinSE_DL.dll")
$Form1 = GUICreate("Form1", 359, 217, 351, 246)
DllCall($Dll, "int", "SkinSE_LoadSkinResourceFromFolder", "str",$skins)
DllCall($Dll, "int", "SkinSE_Init", "hwnd",$Form1,"str",1)
$Label1 = GUICtrlCreateLabel("点击下面按钮修改我的颜色", 18, 18, 260, 17)
GUICtrlSetColor(-1, 0x0000FF)
$Button1 = GUICtrlCreateButton("修改颜色", 20, 54, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetColor($Label1,0xff0000)
EndSwitch
WEnd
|