Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: text buffer conversion Pin
FredrickNorge2-Sep-06 12:06
FredrickNorge2-Sep-06 12:06 
GeneralRe: text buffer conversion Pin
Waldermort2-Sep-06 12:13
Waldermort2-Sep-06 12:13 
GeneralRe: text buffer conversion Pin
FredrickNorge2-Sep-06 12:16
FredrickNorge2-Sep-06 12:16 
GeneralRe: text buffer conversion Pin
Waldermort2-Sep-06 12:27
Waldermort2-Sep-06 12:27 
GeneralRe: text buffer conversion Pin
FredrickNorge2-Sep-06 12:33
FredrickNorge2-Sep-06 12:33 
GeneralRe: text buffer conversion Pin
FredrickNorge2-Sep-06 14:11
FredrickNorge2-Sep-06 14:11 
GeneralRe: text buffer conversion Pin
Waldermort2-Sep-06 19:36
Waldermort2-Sep-06 19:36 
QuestionEdit Box multiple lines Pin
Oliver1232-Sep-06 8:03
Oliver1232-Sep-06 8:03 
I want to develop several lines of text within my program. Then I want to display all the lines in an edit box at the same time. Say I have ten lines of text. I want to manipulate those lines, then display all ten lines at one time in the edit box. The edit box would never show more than ten lines at any one time.

Problem: I can't get more than one line at a time to display.

Edit box is set to multiline and want return.

Here is what I tried:

void CTestEditBoxDlg::OnButton1()
{
void CTestEditBoxDlg::OnButton1()
{
CString sString1 = "First Line\nSecond Line\n...Last Line\n";
m_Edit1 = sString1;
UpdateData(FALSE);
}
}



Any ideas? Is an edit box the wrong approach?
AnswerRe: Edit Box multiple lines Pin
Oliver1232-Sep-06 8:06
Oliver1232-Sep-06 8:06 
GeneralRe: Edit Box multiple lines Pin
James Brown2-Sep-06 8:09
James Brown2-Sep-06 8:09 
GeneralRe: Edit Box multiple lines Pin
Oliver1232-Sep-06 11:39
Oliver1232-Sep-06 11:39 
QuestionHide System Menu Close (X) button for MessageBox Pin
Pradeep.Reddy2-Sep-06 3:47
Pradeep.Reddy2-Sep-06 3:47 
AnswerRe: Hide System Menu Close (X) button for MessageBox Pin
Jun Du2-Sep-06 6:37
Jun Du2-Sep-06 6:37 
AnswerRe: Hide System Menu Close (X) button for MessageBox Pin
Cristian Amarie2-Sep-06 7:01
Cristian Amarie2-Sep-06 7:01 
GeneralRe: Hide System Menu Close (X) button for MessageBox Pin
Pradeep.Reddy3-Sep-06 17:59
Pradeep.Reddy3-Sep-06 17:59 
AnswerRe: Hide System Menu Close (X) button for MessageBox Pin
Waldermort2-Sep-06 7:57
Waldermort2-Sep-06 7:57 
QuestionMemory managment Pin
Waldermort2-Sep-06 3:44
Waldermort2-Sep-06 3:44 
AnswerRe: Memory managment Pin
PJ Arends2-Sep-06 5:31
professionalPJ Arends2-Sep-06 5:31 
GeneralRe: Memory managment Pin
Waldermort2-Sep-06 5:56
Waldermort2-Sep-06 5:56 
AnswerRe: Memory managment Pin
Cristian Amarie2-Sep-06 7:13
Cristian Amarie2-Sep-06 7:13 
GeneralRe: Memory managment Pin
Waldermort2-Sep-06 7:36
Waldermort2-Sep-06 7:36 
Questionhow i can catch message come out dll in my program Pin
shortwave2-Sep-06 1:28
shortwave2-Sep-06 1:28 
AnswerRe: how i can catch message come out dll in my program Pin
Stephen Hewitt2-Sep-06 2:05
Stephen Hewitt2-Sep-06 2:05 
AnswerRe: how i can catch message come out dll in my program Pin
_AnsHUMAN_ 2-Sep-06 3:06
_AnsHUMAN_ 2-Sep-06 3:06 
AnswerRe: how i can catch message come out dll in my program Pin
shortwave2-Sep-06 3:39
shortwave2-Sep-06 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.