About Edit box
-
Hi I am working in MFC. I have placed a multiline edit box on my dialog box. what i am doing it is that i write some text in another edit box and append it with the previous data in multiline text box. How can i force the text that is being appeneded to multiline text box in such a way that it is always displayed in new line. I tried this thing. multilinetextbox = multilinetextbox + "\n"+ texbox; But it does not work. Please tell me some tip to do it. Thank you. We Believe in Excellence www.aqueelmirza.cjb.net
-
Hi I am working in MFC. I have placed a multiline edit box on my dialog box. what i am doing it is that i write some text in another edit box and append it with the previous data in multiline text box. How can i force the text that is being appeneded to multiline text box in such a way that it is always displayed in new line. I tried this thing. multilinetextbox = multilinetextbox + "\n"+ texbox; But it does not work. Please tell me some tip to do it. Thank you. We Believe in Excellence www.aqueelmirza.cjb.net
-
Hi I am working in MFC. I have placed a multiline edit box on my dialog box. what i am doing it is that i write some text in another edit box and append it with the previous data in multiline text box. How can i force the text that is being appeneded to multiline text box in such a way that it is always displayed in new line. I tried this thing. multilinetextbox = multilinetextbox + "\n"+ texbox; But it does not work. Please tell me some tip to do it. Thank you. We Believe in Excellence www.aqueelmirza.cjb.net
-
Assalamolaikum Thank you very much. It works. We Believe in Excellence www.aqueelmirza.cjb.net
-
Thank you very much. It works. We Believe in Excellence www.aqueelmirza.cjb.net
-
Hi I am working in MFC. I have placed a multiline edit box on my dialog box. what i am doing it is that i write some text in another edit box and append it with the previous data in multiline text box. How can i force the text that is being appeneded to multiline text box in such a way that it is always displayed in new line. I tried this thing. multilinetextbox = multilinetextbox + "\n"+ texbox; But it does not work. Please tell me some tip to do it. Thank you. We Believe in Excellence www.aqueelmirza.cjb.net
wrote:
multilinetextbox = multilinetextbox + "\n"+ texbox;
Use
multilinetextbox = multilinetextbox + CString("\n"+texbox);
which may reduce one extra call to CString constructer or + Operator:) Knock out 't' from can't, You can if you think you can :cool: