Posted on 1997-12-08
* How can I change the text in a CTabCtrl ?
Must I use 'SetItem' for this operation ?
I have try first to get the text of a tab by using :
CTabCtrl *pTab = pSheet->GetTabControl();
TcItem.mask = TCIF_TEXT;
TcItem.pszText = Text;
rcCode = pTab->GetItem(0,&TcItem);
After this rcCode is egal to FALSE. Why ?
* The second question is,
How can I disable some tabs in a CTabCtrl ?
I want that the disabled tabs are grayed !