Are EnableWindow and SetReadOnly mutually exclusive?

  • Thread starter Thread starter Jimmy Blundell
  • Start date Start date
J

Jimmy Blundell

Guest
I'm not quite sure how to phrase this question. I am asking it purely for knowledge sake.


I have a CEdit box derived from CWnd. I know there's no reason I would need to do this, but I tried calling m_edtBox.EnableWindow (FALSE), immediately followed by m_edtBox.SetReadOnly. I found the box never does get set to read only, and instead stays disabled. I was wondering why this is?

Continue reading...
 
Back
Top