Title: [MSVC] CEditView

Hi Again:

I want to make my CEditView object read-only i have tried

ModifyStyle(0, GetStyle() | ES_READONLY) at OnInitialUpdateFunction for
my
CEditView derived class but this not work for me also I have tried this
more complicated
code at OnInitialUpdate but also doesn't work for me

CEdit& edit = GetEditCtrl();

edit.ModifyStyle(0, edit.GetStyle() | ES_READONLY)

somebody knows how to achive that behavior????
Thanks in advance
--
  Yosvel
  [EMAIL PROTECTED]

--
http://www.fastmail.fm - Choose from over 50 domains or use your own

Reply via email to