找回密码
 加入
搜索
查看: 21725|回复: 56

[转贴] 令人振奋的窗口皮肤,美化你的界面!

 火... [复制链接]
发表于 2008-6-24 13:03:05 | 显示全部楼层 |阅读模式


单调的默认皮肤如果让你厌烦,换个皮肤会使人振奋。
以下帖子转自:
http://sogho.cn/blog/6/archives/2008/200862102236.htm

皮肤的使用,一是下载一个皮肤样式,二是下载一个DLL文件,三是完成代码。
一、下载皮肤
提供各类皮肤下载的网站是:
http://www.skincrafter.com/skingal.php#
二、相应的DLL下载
运用皮肤需要一个Dll文件的支持:
SkinCrafterDll.rar
三、代码例子

使用方法:

#Region ### START Koda GUI section ### Form=
        $Form1 = GUICreate("DrvT_2.6", 360, 256, -1, -1, BitOR($WS_CAPTION, $WS_POPUP), 0)
        _SkinGUI(@WindowsDir & "\temp\SkinCrafterDll.dll", @WindowsDir & "\temp\Flexi_ST.skf", $Form1)

。。。。。。。。。。。。。。
。。。。。。。。。。。。
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
                                            Exit
        EndSwitch
WEnd

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

突然发现高手们有关皮肤资源、使用、视频教程等的好帖子:
http://www.autoitx.com/forum.php?mod=viewthread&tid=1375&extra=page%3D1





[ 本帖最后由 顽固不化 于 2008-6-24 15:52 编辑 ]

评分

参与人数 1金钱 +10 收起 理由
yarsye + 10 好贴啊

查看全部评分

发表于 2008-6-26 20:50:48 | 显示全部楼层
楼主在别的地方抄贴过来,也不知道抄清楚,搞完整。
Func Quit()
    GUISetState(@SW_HIDE)
    DllCall($dll, "int:cdecl", "DeInitDecoration")
    DllCall($dll, "int:cdecl", "RemoveSkin")
    DllClose($dll)
    ;DirRemove(@AppDataDir&"\skin",1)
    Exit
EndFunc
发表于 2008-6-27 00:33:37 | 显示全部楼层
加上很重要的一句...
Opt("OnExitFunc","Quit");

http://www.autoitx.com/forum.php ... &extra=page%3D1
看我有说明...
发表于 2009-4-20 08:59:02 | 显示全部楼层
越来越牛X!!!!!!!!
发表于 2009-4-20 11:27:27 | 显示全部楼层

好文章,我收了!!
发表于 2009-4-27 10:12:09 | 显示全部楼层
调用啊dll啊,对俺而言复杂了...
发表于 2009-4-27 16:08:34 | 显示全部楼层
1# 顽固不化


不错
发表于 2009-4-30 12:17:06 | 显示全部楼层
这个值得收藏....
发表于 2009-5-20 11:48:59 | 显示全部楼层
照做了以后没有效果也。也没有错误提示
但是:
-> Warning: Unable to open au3.api.  Skipping ProperCase function for KeyWords/Function/Macros
这是怎么回事啊?
发表于 2009-5-20 13:27:47 | 显示全部楼层
原来是放在脚本目录,我放在程序目录了 呵呵
发表于 2009-8-14 11:10:05 | 显示全部楼层
好东西
我喜欢
收藏了
发表于 2009-8-14 20:30:43 | 显示全部楼层
支持,收藏。
发表于 2009-8-14 23:55:33 | 显示全部楼层
不管是原创,还是是转帖,支持前辈的劳动成果。
发表于 2009-8-15 08:31:28 | 显示全部楼层
谢谢分享!
学习中。
发表于 2009-8-15 11:17:10 | 显示全部楼层
谢谢了
可是我没钱了
无法下了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-29 20:13 , Processed in 0.083810 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表