【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.27.26 RichEdit::SetReadOnly
Contents
Description
Sets the read-only option for this RichEdit control
Syntax
BOOL SetReadOnly( BOOL bReadOnly = TRUE )
Parameters
- bReadOnly
- Indicates if this RichEdit control should be read only.
Return
Nonzero if successful; otherwise, 0.
Examples
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_RICHEDIT1 1001 void RichEdit_SetReadOnly(Dialog& EditBoxes) { RichEdit richEdit = EditBoxes.GetItem(IDC_RICHEDIT1); richEdit.SetReadOnly(FALSE); }
Remark
See Also
Header to Include
Control.h