Frederic Naudeau
April 27th, 1999, 08:54 AM
Hi,
I've declared a PropertySheet, and add some pages ( PropertyPage ) into it, like this :
CPropertySheet m_ps;
CMyPropertyPage1 m_pp1;
CMyPropertyPage2 m_pp2;
....
m_ps.AddPage(&m_pp1);
m_ps.AddPage(&m_pp2);
And now I want to change the caption of the pages, so I do :
m_pp1.SetWindowText("New Caption1");
m_pp2.SetWindowText("New Caption2");
But, it doesn't work !! Nothing change !!
Why ?
How can I change the caption of a PropertyPage which is into a PropertySheet ?
Thanks in advance.
Frédéric Naudeau.
I've declared a PropertySheet, and add some pages ( PropertyPage ) into it, like this :
CPropertySheet m_ps;
CMyPropertyPage1 m_pp1;
CMyPropertyPage2 m_pp2;
....
m_ps.AddPage(&m_pp1);
m_ps.AddPage(&m_pp2);
And now I want to change the caption of the pages, so I do :
m_pp1.SetWindowText("New Caption1");
m_pp2.SetWindowText("New Caption2");
But, it doesn't work !! Nothing change !!
Why ?
How can I change the caption of a PropertyPage which is into a PropertySheet ?
Thanks in advance.
Frédéric Naudeau.