bgiSetGizmoText

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

gizmo Int
text String

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.

Example

Example.bam
; No example implemented yet