Simple mistake. You have two MyPropSheet constructors. In one you have added the pages. In the second ctor, you don't add any pages. You are using the second constructor.
So instead of
Code:
MyPropSheets::MyPropSheets(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}
code it as
Code:
MyPropSheets::MyPropSheets(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
m_psh.dwFlags &= ~(PSH_HASHELP);
AddPage( &mm_Prop1 );
AddPage( &mm_Prop2 );
SetWizardMode( );
}