CGXRichEditCtrl::m_nShrinkMode
int m_nShrinkMode;
Remarks
Lets you specify some behavior for a bottomless CRichEditCtrl cell (autosize is enabled) when the user removes text from the cell.
Following options are possible:
·gxNoShrink - autosize will never shrink cells
·gxOnlyAfterResize - backspace will shrink cells to their initial height when the cell has received the focus
·gxAllways - autosize can shrink cells smaller than initial height
The default setting is gxOnlyAfterResize. This means that when you enter text in rich edit cells, the row height will be enlarged and when you remove text, the row height will shrink again, but the row height will not become smaller than it was before you started editing the cell.