append the text in a new line in CEdit control
-
How to append the text in a new line in CEdit control. \r\n becomes garbage in winCE.
-
How to append the text in a new line in CEdit control. \r\n becomes garbage in winCE.
-
How to append the text in a new line in CEdit control. \r\n becomes garbage in winCE.
I think following code will help you. Where you want to send enter or new line put this code.
SendDlgItemMessage(IDC_EDIT1,WM_CHAR,(WPARAM)VK_RETURN,0);
The secret of life is not enjoyment but education through experience. - Swami Vivekananda. -
I think following code will help you. Where you want to send enter or new line put this code.
SendDlgItemMessage(IDC_EDIT1,WM_CHAR,(WPARAM)VK_RETURN,0);
The secret of life is not enjoyment but education through experience. - Swami Vivekananda.Mahesh Kulkarni wrote:
SendDlgItemMessage(IDC_EDIT1,WM_CHAR,(WPARAM)VK_RETURN,0);
this code will stand good only when inserting text not in continous block!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You