Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

You can make any cell in any grid window read only by applying the __EGCS_READ_ONLY style to the cell object:

pSomeCell->ModifyStyle( __EGCS_READ_ONLY );

Please note that applying this style does not disable activation of the cell editor (i.e. clicking such a cell activates the corresponding in-place editor window that is also read-only). This may be useful for copying cell's text into the clipboard. You can suppress in-place activation for a cell by applying the __EGCS_NO_INPLACE_CONTROL style:

pSomeCell->ModifyStyle(__EGCS_NO_INPLACE_CONTROL );