Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hello,

I have dificulty in inserting the new line char in the Text Widget .
I want to insert the character using the ITextModel_ReplaceSel().

I am currently adding '\n' after converting it into the AECHAR using STRTOWSTR
and then inserting in the textmodel using ITEXTMODEL_ReplaceSel()
but as I add this character there is a space like character is added in the text widget and when we try to add any other character after that it is getting added into the next line

I want to go to the next line as soon as I add the '\n'.

Can anybody help me out in this matter..?

Thanks in advance...
Regards,
Lalit :)

That should work. Maybe there's a bug in your implementation.
-Erik

That should work. Maybe there's a bug in your implementation.
-Erik