Sets the title bar text of a window.
Takes win (Int) and text (String).
Returns 1 on success, 0 if window ID not found.
BGI GUI
Parameters & Returns
Parameters
winInt
textString
Returns
Int
Quick Summary
Sets the title bar text of a window.
Takes win (Int) and text (String).
Returns 1 on success, 0 if window ID not found.
Technical Exegesis...
Sets the title bar text of a BGI window. Searches gizmoMap for the window ID, then calls SetWindowText with the window's HWND and the new text. Updates both the Windows window title (visible in title bar) and the internal CGizmo.title field. Returns 1 on success, 0 if window ID not found.
The title appears in the window's title bar and in the taskbar. Changes take effect immediately. Useful for updating window titles to reflect current state (e.g., "Untitled" vs "Document.txt - MyApp").
Sets the title bar text of a BGI window. Searches gizmoMap for the window ID, then calls SetWindowText with the window's HWND and the new text. Updates both the Windows window title (visible in title bar) and the internal CGizmo.title field. Returns 1 on success, 0 if window ID not found.
The title appears in the window's title bar and in the taskbar. Changes take effect immediately. Useful for updating window titles to reflect current state (e.g., "Untitled" vs "Document.txt - MyApp"). The text can be any string including Unicode characters (depending on font support).