CRichedit Control
-
Can anyone help me with a snippit of code? I need to create a read only richedit control, the control will be populated and may have a scroll bar, but I do not want it to receive focus (or any other way of making the text read only you can think of!) Thanks.
-
Can anyone help me with a snippit of code? I need to create a read only richedit control, the control will be populated and may have a scroll bar, but I do not want it to receive focus (or any other way of making the text read only you can think of!) Thanks.
Are you using MFC? if so try;
wndMyRichEditCtrl.SetReadOnly ( TRUE )
or in C;SendMessage ( hMyRichEditWnd, EM_SETREADONLY, TRUE, 0L );
Have a good one, -Ben "Its funny when you stop doing things not because they’re wrong, but because you might get caught." - Unknown