www.pudn.com > SDKSkin.rar > SkinBase.cpp


#include "stdafx.h" 
#include "SkinBase.h" 
 
SkinBase::SkinBase() 
{ 
	ZeroMemory(&wMsg,sizeof(SKINMSG)); 
	skIni = SkinIni::Instance(); 
} 
 
SkinBase::~SkinBase() 
{ 
} 
 
void SkinBase::SetMsg(SKINMSG &msg_) 
{ 
	ZeroMemory(&wMsg,sizeof(SKINMSG)); 
	wMsg = msg_; 
	skIni = SkinIni::Instance(); 
} 
 
LRESULT SkinBase::SkinWinProc() 
{ 
	WNDPROC oldProc_ = SkinResList::FindWndProc(wMsg._hWnd); 
	return CallWindowProc(oldProc_,wMsg._hWnd,wMsg._msg,wMsg._wPm,wMsg._lPm);	 
}