用的是
WinMain = GUICreate("主窗口", 810, 497, @DesktopWidth/2-810/2, @DesktopHeight/2-497/2-50)
_SkinGUI("SkinCrafterDll.dll", @ScriptDir&"\system\AzuriX.skf", $WinMain)
Func _SkinGUI($SkincrafterDll, $SkincrafterSkin, $Handle) ;皮肤加载
$Dll = DllOpen($SkincrafterDll)
DllCall($Dll, "int:cdecl", "InitLicenKeys", "wstr", "1", "wstr", "", "wstr", "1@1.com", "wstr", "1")
DllCall($Dll, "int:cdecl", "InitDecoration", "int", 1)
DllCall($Dll, "int:cdecl", "LoadSkinFromFile", "wstr", $SkincrafterSkin)
DllCall($Dll, "int:cdecl", "DecorateAs", "int", $Handle, "int", 25)
DllCall($Dll, "int:cdecl", "ApplySkin")
EndFunc ;==>_SkinGUI
如何用皮肤时能让窗口指定的部位不用皮肤效果吗 |