This method sets the read-only state of an edit control.
BOOL SetReadOnly( BOOL bReadOnly = TRUE );
CWnd::GetStyle