mulity line edit control
-
i want to allow user that he can press enter in edit control and i want to set text in edit control like this SetDlgItemText(IDC_EDIT1,' abc \n xyz '); \n normaly use for new line my edit control in multil line but \n does not add new line how i can set mulity line text in mulityline edit control?
-
i want to allow user that he can press enter in edit control and i want to set text in edit control like this SetDlgItemText(IDC_EDIT1,' abc \n xyz '); \n normaly use for new line my edit control in multil line but \n does not add new line how i can set mulity line text in mulityline edit control?
ani_ikram wrote:
SetDlgItemText(IDC_EDIT1,' abc \n xyz ');
Did you try "\r\n" ???
SetDlgItemText(IDC_EDIT1," abc \r\n xyz ");
nave [OpenedFileFinder]
-
ani_ikram wrote:
SetDlgItemText(IDC_EDIT1,' abc \n xyz ');
Did you try "\r\n" ???
SetDlgItemText(IDC_EDIT1," abc \r\n xyz ");
nave [OpenedFileFinder]
-
ani_ikram wrote:
yes it is working but like thie
Is this supposed to mean something? :confused:
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch