CRichEditCtrl::SetReadOnly
Visual Studio 2005
Changes the ECO_READONLY option for this CRichEditCtrl object.
BOOL SetReadOnly( BOOL bReadOnly = TRUE );
Parameters
- bReadOnly
-
Indicates if this CRichEditCtrl object should be read only.
For a brief description of this option, see SetOptions. You can use this function to set all the options for this CRichEditCtrl object.
For more information, see EM_SETREADONLY in the Platform SDK.