Sets the background color of the rich text box control.
Takes richTextBoxID (Int), r (Int), g (Int), and b (Int).
Returns 1 on success, 0 if rich text box not found.
BGI GUI
Parameters & Returns
Parameters
richTextBoxIDInt
rInt
gInt
bInt
Returns
Int
Quick Summary
Sets the background color of the rich text box control.
Takes richTextBoxID (Int), r (Int), g (Int), and b (Int).
Returns 1 on success, 0 if rich text box not found.
Technical Exegesis...
Sets the background color of a rich text box control. Searches gizmoMap for the rich text box ID. Sends EM_SETBKGNDCOLOR message with RGB(r, g, b) color value. Returns 1 on success, 0 if rich text box not found.
This function sets the control's background color (not text color - use bgiSetRichTextFormat for text color). RGB values are 0-255 for red, green, and blue components. Default background is typically white (255, 255, 255).
Sets the background color of a rich text box control. Searches gizmoMap for the rich text box ID. Sends EM_SETBKGNDCOLOR message with RGB(r, g, b) color value. Returns 1 on success, 0 if rich text box not found.
This function sets the control's background color (not text color - use bgiSetRichTextFormat for text color). RGB values are 0-255 for red, green, and blue components. Default background is typically white (255, 255, 255). Use for color-coded editors (dark mode with RGB(30,30,30), light themes, syntax highlighting backgrounds). Common examples: white (255,255,255), black (0,0,0), light gray (240,240,240), dark gray (50,50,50). Different from text background - this colors the entire control area.