#include "myprop.h"
#include "page.h"
#include "page1.h"
myprop my(_T("我"));
myprop::myprop(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
AddPage(&mypage);
AddPage(&mypage1);
}
myprop::myprop(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
AddPage(&mypage);
AddPage(&mypage1);
}
bool init()
{
return false;
}
这样的思路对吗?还要写什么 代码?