I'm not getting word-wrap in my Richedit control:
CONTROL d1,@RICHEDIT,"",7,35,570,294,@CTEDITMULTI|@CTEDITRETURN|@CTEDITAUTOV|@VSCROLL,1
Letters pile up on the right margin, instead of wrapping to the next line. :(
Ah! Set line length in twips. Of course.
CONTROLCMD window | dialog, ID, @RTSETLINEWIDTH, width
And if user resizes, recount the twips, I suppose....
Jerry,
I'm beginning to think you have "dual" personalities!
You post a question and then you post the answer. :D
Did I see you on the "Twilight Zone"? ;)
Larry
I think Jerry works at light speed Larry .. :)
Before anyone can even comprehend the question, he's found an answer .. and onwards he goes ..... ::)
He! .. he! .. :)
Graham
The only thing I can do at the "speed of light" is foul up! :D
Larry
I'm not so sure about your "foul up" assertion, Larry. I've been looking at your Whizzywig hybrid editor implementation. There's more than a germ of an idea there.... More like a blooming tumor on my ambitions. I may have to pull the plug on my RichEdit adventures and do a fork off your editor instead.
A couiple more asked-and-answered questions, and my plans will crystallize... or maybe ossify. ::)