Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
InsertItemがtabctrlに新しいタブを追加するためのものであることは知っていますが、作成後にタブのキャプションを変更する必要があります。キーワードtabctrlとキャプションを使用して古い記事を検索しますが、それを解決するための関係の問題はありません。タブページ...
わかった、
次のコードのように、解決策を得ました
TC_ITEM TabCtrlItem; switch(m_tabCtrl.GetCurSel()) { case TAB1: TabCtrlItem.mask = TCIF_TEXT; TabCtrlItem.pszText = _T("Some Text"); m_tabCtrl.SetItem(TAB1, &TabCtrlItem );