ZeeGrid Control Message

ZGM_AUTOSIZECOLONEDIT


ZGM_AUTOSIZECOLONEDIT

An application sends a ZGM_AUTOSIZECOLONEDIT message to enable or disable automatic column sizing to fit data entered in an editable cell.

ZGM_AUTOSIZECOLONEDIT
wParam = (WPARAM) (BOOL) fEnable;  //enable flag
lParam = 0;                        //not used; must be zero

Parameters

fEnable
Value of wParam. Specifies whether to enable or disable the automatic sizing of columns to fit data entered from an editable cell. A value of TRUE enables automatic column resizing; a value of FALSE disables automatic column resizing.

Return Values

This message does not return a value.

Remarks

Automatic column sizing on edit will only happen when the user finishes an edit by pressing the Return key. If a cell is being edited and the user mouse clicks into another cell, the cell that was being edited will not be autosized to fit.

Autosizing of columns on edit is enabled by default.

Copyright © 2002-2016 by David Hillard