jhattingh
May 18th, 1999, 06:13 AM
How do I change the caption of a PropertyPage at runtime?
|
Click to See Complete Forum and Search --> : How do I change the caption of a PropertyPage jhattingh May 18th, 1999, 06:13 AM How do I change the caption of a PropertyPage at runtime? James Dunning May 18th, 1999, 06:28 AM 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... codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |