In the windows initilazation part add following code:
const TCHAR ClassName1[] = _T("CMyCustomView1");
if (!CMyCustomView1::RegisterControlClass(ClassName1)) {
CString strMsg;
strMsg.LoadString(IDS_WNDCLASS_NOT_REGISTERED);
return FALSE; }
In the nitilazation part add following code:
p_MyPropertySheet.AddPage(&m_CameraPage);
p_MyPropertySheet.AddPage(&m_CTPage);
p_MyPropertySheet.Create(this, DS_SETFONT |WS_CHILD | WS_VISIBLE,
0);