Gets the total number of lines in a rich text box.
Takes richTextBoxID (Int).
Returns line count on success, 0 if rich text box not found.
BGI GUI
Parameters & Returns
Parameters
richTextBoxIDInt
Returns
Int
Quick Summary
Gets the total number of lines in a rich text box.
Takes richTextBoxID (Int).
Returns line count on success, 0 if rich text box not found.
Technical Exegesis...
Gets the total number of lines in a rich text box control. Searches gizmoMap for the rich text box ID. Sends EM_GETLINECOUNT message to retrieve line count. Returns line count on success, 0 if rich text box not found.
This function returns the total number of lines in the text. Minimum value is 1 (even for empty text). Lines are separated by newline characters (CR/LF).
Gets the total number of lines in a rich text box control. Searches gizmoMap for the rich text box ID. Sends EM_GETLINECOUNT message to retrieve line count. Returns line count on success, 0 if rich text box not found.
This function returns the total number of lines in the text. Minimum value is 1 (even for empty text). Lines are separated by newline characters (CR/LF). Use for iterating through all lines with bgiGetRichTextLineText (loop from 0 to count-1), displaying line counts in status bars, or validating line-based operations. Count includes empty lines. Always at least 1 line even when text is empty.