Trying to indent text in CRichEditCtrl
Posted on 2000-04-22
I am trying to make a CRichEditCtrl indent lines in the control a set number of spaces. If the window is resized, the indents stay. (What I really need is to be able to indent selected lines, such as those without a preceding newline char, and not indent others.) But I can't even get part A to work yet. I've tried SetParaFormat(), but with no luck. And I'm not sure if this really does what I want. I've seen it done smoothly in other apps, so I'm sure it's out there somewhere....