CTabCtrl - retrieving tab's title text
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
How to get the title text CTabCtrl's tabs? The following code is crashing at the last line:
TCITEM tcItem; tcItem.mask = TCIF_TEXT; m_ReportTabCtrl.GetItem(ID_PANE_FOUND, &tcItem); CString csText = tcItem.pszText;
Thanks & Regards-- "Programming is an art that fights back!"
-
How to get the title text CTabCtrl's tabs? The following code is crashing at the last line:
TCITEM tcItem; tcItem.mask = TCIF_TEXT; m_ReportTabCtrl.GetItem(ID_PANE_FOUND, &tcItem); CString csText = tcItem.pszText;
Thanks & Regards-- "Programming is an art that fights back!"
-