CEdit multiline
-
Ok. I'm almost embarrassed to ask this one, but here goes... I have a dialog box with a CEdit control on it. I'm using it as a logging window, but I can't get it to multiline my text. I'm using a CString member variable to contain the text that is written to it, but when I insert a
'\n'
or'\r'
the CEdit control displays it as a control character inside of moving to the next line. What properties need to be set? The ones that I have checked are: - multiline - horizontal scroll - vertical scroll Am I missing something? Thanks in advance. Mark Mark Donkers A witty saying proves nothing. -- Voltaire -
Ok. I'm almost embarrassed to ask this one, but here goes... I have a dialog box with a CEdit control on it. I'm using it as a logging window, but I can't get it to multiline my text. I'm using a CString member variable to contain the text that is written to it, but when I insert a
'\n'
or'\r'
the CEdit control displays it as a control character inside of moving to the next line. What properties need to be set? The ones that I have checked are: - multiline - horizontal scroll - vertical scroll Am I missing something? Thanks in advance. Mark Mark Donkers A witty saying proves nothing. -- Voltaire -
Perfect. Thanks Papa. MD Mark Donkers A witty saying proves nothing. -- Voltaire