How to set the caption text in the page of sheet?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I have one sheet which is inherited CPropertySheet, I have added 3 page (inherit CPropertyPage) in to the sheet. How to set caption text in each sheet? I used SetWindowText and SetDlgItemText but not success Thanks.
Papais
-
I have one sheet which is inherited CPropertySheet, I have added 3 page (inherit CPropertyPage) in to the sheet. How to set caption text in each sheet? I used SetWindowText and SetDlgItemText but not success Thanks.
Papais
Override the OnSetActive method for the property page and then do this MyPropSheet* parent = (MyPropSheet*)GetParent(); // Set Title parent->SetTitle( " This is the title for my property page " , 0 ); I hope this helps...
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_