MFC中皮膚庫skin++的使用

一.使用皮膚

1.將SkinPPWTL.lib 、skinppwtl.dll 、SkinPPWTL.h三個文件及相應皮膚(**.ssk)拷貝至工程文件夾下;一般還要將這些文件放在Debug文件夾下。

2.在StdAfx.h文件中加入#include "SkinPPWTL.h" 和#pragam comment(lib,"SkinPPWTL.lib")

BOOL CSchoolApp::InitInstance()
{
	AfxEnableControlContainer();

	// Standard initialization
	// If you are not using these features and wish to reduce the size
	//  of your final executable, you should remove from the following
	//  the specific initialization routines you do not need.


#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif
(以上是簡單的skin皮膚庫調用)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章