Gets the display text of a specific tab by index.
Takes tabControl (Int) and index (Int).
Returns c_str().
BGI GUI
Parameters & Returns
Parameters
tabControlInt
indexInt
Returns
String
Quick Summary
Gets the display text of a specific tab by index.
Takes tabControl (Int) and index (Int).
Returns c_str().
Technical Exegesis...
Gets the display text of a specific tab in a tab control. Searches gizmoMap for the tabControl ID. Creates 256-byte buffer and TCITEM structure with TCIF_TEXT mask, pszText pointing to buffer, cchTextMax set to 256. Calls TabCtrl_GetItem with index and structure. If successful, stores text in static string and returns c_str(). Returns empty string if TabCtrl_GetItem fails or tab control not found.
This function retrieves the text displayed in a tab header.
Gets the display text of a specific tab in a tab control. Searches gizmoMap for the tabControl ID. Creates 256-byte buffer and TCITEM structure with TCIF_TEXT mask, pszText pointing to buffer, cchTextMax set to 256. Calls TabCtrl_GetItem with index and structure. If successful, stores text in static string and returns c_str(). Returns empty string if TabCtrl_GetItem fails or tab control not found.
This function retrieves the text displayed in a tab header. index is 0-based position (0 = first tab, 1 = second tab, etc.). Text limited to 256 bytes. Uses static string storage - copy immediately if needed across multiple calls. Returns empty string for invalid indices. Use for reading tab labels, finding tabs by text, or displaying current tab name. Returns actual tab header text as shown to user.