bgiSetRichTextReadOnly

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

richTextBoxID Int
readonly Int

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.

Example

Example.bam
; No example implemented yet