make my richeditctrl
I'd like to make my rich edit control unedittable but still ab开发者_StackOverflow中文版le to receive and display data.
Thank you.
class myedit:public CRichEditCtrl
{
public:
private:
protected:
CRichEditCtrl m_editCtrl;
};
You seem to be looking for CRichEditCtrl::SetReadOnly
.
精彩评论