R.Wieser
unread,Dec 10, 2022, 7:31:37 AM12/10/22Sign in to reply to author
Sign in to forward
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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