• EDITTEXT control refuses to add lines - even though there is enough spa

    From R.Wieser@21:1/5 to All on Sat Dec 10 13:31:30 2022
    Hello all,

    I've created a dialog containing an EDITTEXT control, and given that control the ES_MULTILINE flag. Although I've created the contol to hold about 5-and-a-bit lines, it gets resized in the WM_SIZE event of the dialog, and
    than can hold more than double of that.

    The thing is that although I can use ctrl-enter to enter about 14 lines of text, I've noticed that when I /programmatically/ try to add lines (string + CRLF, using EM_REPLACESEL) it refuses to go past line 6. :-(

    My question : How can I tell the text control that its available number of lines has changed (due to it being resized) ?

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)