bgiGetRichTextLineCount

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

richTextBoxID Int

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).

Example

Example.bam
; No example implemented yet