|
m_PageA.ShowWindow (SW_HIDE);
m_PageB.ShowWindow (SW_HIDE);
m_PageC.ShowWindow (SW_HIDE);
m_PageD.ShowWindow (SW_HIDE);
switch (m_Tab.GetCurSel ())
{
case 0:
m_PageA.ShowWindow (SW_SHOW);
break;
case 1:
m_PageB.ShowWindow (SW_SHOW);
break;
case 2:
m_PageC.ShowWindow (SW_SHOW);
break;
case 3:
m_PageD.ShowWindow (SW_SHOW);
break;
} |
|