Sets the text content of a gizmo control.
Takes gizmo (Int) and text (String).
Returns 1 on success, 0 if gizmo not found.
BGI GUI
Parameters & Returns
Parameters
gizmoInt
textString
Returns
Int
Quick Summary
Sets the text content of a gizmo control.
Takes gizmo (Int) and text (String).
Returns 1 on success, 0 if gizmo not found.
Technical Exegesis...
Sets the text content of a gizmo control. Searches gizmoMap for the gizmo ID. For status bars (GIZMO_STATUSBAR), sends SB_SETTEXT message with part 0 and text. For all other gizmos, calls SetWindowText with text. Updates stored title field in CGizmo structure. Returns 1 on success, 0 if gizmo not found.
This function sets the displayed text for controls. Works with buttons, labels, textboxes, windows, status bars, and most text-capable controls.
Sets the text content of a gizmo control. Searches gizmoMap for the gizmo ID. For status bars (GIZMO_STATUSBAR), sends SB_SETTEXT message with part 0 and text. For all other gizmos, calls SetWindowText with text. Updates stored title field in CGizmo structure. Returns 1 on success, 0 if gizmo not found.
This function sets the displayed text for controls. Works with buttons, labels, textboxes, windows, status bars, and most text-capable controls. Status bars require special SB_SETTEXT message (part 0 is first/only section). Use for updating button labels, setting textbox content, changing window titles, or status bar messages. Text persists in CGizmo structure for retrieval with bgiGetGizmoText.