bgiGetTabText

Gets the display text of a specific tab by index. Takes tabControl (Int) and index (Int). Returns c_str().

BGI GUI

Parameters & Returns

Parameters

tabControl Int
index Int

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.

Example

Example.bam
; No example implemented yet