赞
踩
- #include "StdAfx.h"
- #include "..\DuiLib\UIlib.h"
-
- //#ifdef _DEBUG
- //# ifdef _UNICODE
- //# pragma comment(lib, "DuiLib_ud.lib")
- //# else
- //# pragma comment(lib, "DuiLib_d.lib")
- //# endif
- //#else
- //# ifdef _UNICODE
- //# pragma comment(lib, "DuiLib_u.lib")
- //# else
- //# pragma comment(lib, "DuiLib.lib")
- //# endif
- //#endif
-
- //#pragma comment(lib,"E:/VCPrj/duilib-master/lib/DuiLib_d.lib")
- #pragma comment(lib,"DuiLib_d.lib")
-
- using namespace DuiLib;
-
-
- class TestFrame : public WindowImplBase
- {
- public:
- TestFrame() {}
- ~TestFrame() {}
-
- virtual CDuiString GetSkinFolder()
- {
- return _T("");
- }
- virtual CDuiString GetSkinFile()
- {
- return _T("demo.xml");
- }
- virtual LPCTSTR GetWindowClassName(void) const
- {
- return _T("TestWindowClass");
- }
- virtual LRESULT OnClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
- {
- PostQuitMessage(0);

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。