ZeeGrid Control Message



An application sends a ZGM_SETDEFAULTRESTRICTION message to set the default restriction value of newly added cells to the ZeeGrid.

wParam = (WPARAM)(int) iRestriction; //restriction value to use for default
lParam = 0;                          //not used; must be zero


The value of wParam. The value of the restriction attribute to assign to new cells by default.
Valid values are in the range of [0..4].
The restriction values are defined as follows:

  1. No Restriction
  2. Signed Integer
  3. Unsigned Integer
  4. Signed Double
  5. Unsigned Double

Return Values

This message does not return a value.


A restriction only restricts the characters allowed to be entered into a cell by manual keyboard input. If a paste operation is performed on restricted cells, the restriction will apply and the paste operation may not be able to be completed fully.

Copyright © 2002-2016 by David Hillard