BCGSuite for MFC
void CBCGPEditCtrl::SetReadOnly ( BOOL  bReadOnly = TRUE,
BOOL  bShowCaret = FALSE 
)
inline

Sets read-only flag and makes the edit control read-only.

Parameters
bReadOnlyIf TRUE, the edit control is put into read-only mode.
bShowCaretSpecifies whether the caret is displayed in read-only mode.