How do I change the caption of a PropertyPage at runtime?
Printable View
How do I change the caption of a PropertyPage at runtime?
It depends by what you mean by a caption, when you refer to a caption, it usually means you want to change the title of the propertysheet.
but you want to change the caption of the property page, by this im thinking you want to change the tab text?
pPropSht->SetWindowText(_T("Caption"));
or
TC_ITEM tcItem; tcItem.mask = TCIF_TEXT;
tcItem.pszText = (LPTSTR)((LPCTSTR)_T("Tab"));
pPropSheet->GetTabControl()->SetItem(0, &tcItem );
regards
j...