本帖最后由 木头人 于 2012-3-2 23:02 编辑
请教:应用了SHE皮肤后,GUICtrlSetColor设置标签文字颜色无效。请问应该如何解决呢?谢谢
加皮肤前请看下图,看看haha的文字颜色是蓝色的
加了皮肤后,颜色就变成黑色的,haha 有设置字体颜色为蓝色的,加了皮肤就成黑色了。#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
Dim $dll
$skins=(@ScriptDir & "\dogmax.she")
$dll = DllOpen(@ScriptDir & "\Skin.dll")
DllCall($Dll, "int", "SkinH_AttachEx", "str", $skins, "str", "mhgd")
DllCall($Dll, "int", "SkinH_SetAero", "int", 1)
$Form1_1 = GUICreate(" ABCABC", 632, 447, 221, 141)
GUISetFont(10, 800, 0, "宋体")
GUISetBkColor(0xF1EFE2)
$Tab1 = GUICtrlCreateTab(8, 48, 617, 393)
$TabSheet1 = GUICtrlCreateTabItem(" aa ")
$brgz = "haha"
$Label3 = GUICtrlCreateLabel("已存在的备份文件:", 10, 220, 200, 17)
$Label4 = GUICtrlCreateLabel($brgz, 155, 220, 50, 17)
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
代码及所有文件已经在附件里 |