BCGControlBar Pro for MFC
BOOL CBCGPEditCtrl::IsReadOnly ( ) const
inline

Tells whether the edit control is read-only or not.

Returns
TRUE if the edit control is read-only; otherwise FALSE.

Call this function to determine whether the edit control is read-only or not. You can set the read-only flag using SetReadOnly().