hi,
I have an multi-line edit control in a modeless dlg. I need to change the text that is displayed with SendDlgItemMessage because it looks like this:
/************************************************** ******************
|
|A.) some text that is a choice for a test answer
|and it is aligned all the way to the left after a line break
|
************************************************** ******************/
and I want it to look like this:
/************************************************** *****************
|
|B.) after some text and the edit control line break I want
| it to look like this, not all the way to the left.
|
************************************************** *****************/
NOTE: The "|" symbol used above is to show the edit ctrl's left edge, when I previewed the post it aligned the post just like my edit ctrl does! Even so cboard's edit ctrl only allowed one space. I want the 'i' in it to line up under the 'a' in after.
I've been trying to figure out how to get a handle to the edit control's text buffer heap addr. no luck so far. The msdn site gives thorough info but it is dated 1992 and doesn't seem to work for me. I'm using XP and would like to have the edit ctrl as read-only but will use read/write to make buffer change and switch to ro after if possible. Can I reprogram the line-break code??? subclass?
Thanks for any help/suggestions