Sets whether the rich text box is read-only (prevents user editing).
Takes richTextBoxID (Int) and readonly (Int).
Returns 1 on success, 0 if rich text box not found.
BGI GUI
Parameters & Returns
Parameters
richTextBoxIDInt
readonlyInt
Returns
Int
Quick Summary
Sets whether the rich text box is read-only (prevents user editing).
Takes richTextBoxID (Int) and readonly (Int).
Returns 1 on success, 0 if rich text box not found.
Technical Exegesis...
Sets whether a rich text box control is read-only, preventing or allowing user editing. Searches gizmoMap for the rich text box ID. Sends EM_SETREADONLY message with TRUE if readonly is non-zero, FALSE if zero. Returns 1 on success, 0 if rich text box not found.
This function controls whether users can edit the text. When readonly is non-zero (true), users cannot type, delete, or modify text - only view and select. When readonly is zero (false), normal editing is allowed.
Sets whether a rich text box control is read-only, preventing or allowing user editing. Searches gizmoMap for the rich text box ID. Sends EM_SETREADONLY message with TRUE if readonly is non-zero, FALSE if zero. Returns 1 on success, 0 if rich text box not found.
This function controls whether users can edit the text. When readonly is non-zero (true), users cannot type, delete, or modify text - only view and select. When readonly is zero (false), normal editing is allowed. Programmatic changes via bgiSetRichTextBoxText, bgiAppendRichText, etc. still work regardless of readonly state. Use for displaying logs, showing formatted output, or protecting content while allowing selection and copying. Common for read-only viewers, help text displays, or conditional editing modes.