BCGSuite for MFC
void CBCGPGridCtrl::SetReadOnly ( BOOL  bReadOnly = TRUE)
inline

Turns the read-only flag on and off.

In the read-only mode the user can't edit grid items. Use the SetReadOnly method to set or clear the "read-only" flag.

Parameters
bReadOnlySpecifies the read-only flag.