具体见:http://www.uipower.com/index.php
![](http://www.cppblog.com/images/cppblog_com/guo/skin1.jpg)
使用方法
/*
1、将SkinPPWTL.lib skinppwtl.dll SkinPPWTL.h三个文件及相应皮肤拷贝至工程文件夹下
*/
//2、在StdAfx.h文件中加入#include "SkinPPWTL.h"
//..
#endif // _AFX_NO_AFXCMN_SUPPORT
#include "SkinPPWTL.h" //在这个地方加
//{{AFX_INSERT_LOCATION}}
//..
//3、在BOOL CXXApp::InitInstance()函数中加入:
BOOL CWwApp::InitInstance()
{
skinppLoadSkin(_T("blue.ssk"));//blue.ssk为项目下的皮肤文件
//..
}
//4、如果是SDI/MDI程序,则要重载ExitInstance
int CWwApp::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
skinppExitSkin();
return CWinApp::ExitInstance();
}
![](http://www.cppblog.com/images/cppblog_com/guo/skin2.jpg)
![](http://www.cppblog.com/images/cppblog_com/guo/skin3.jpg)
posted on 2010-08-29 02:19
CrazyNerd 阅读(1722)
评论(0) 编辑 收藏 引用 所属分类:
工具