An application sends a ZGM_SETCOLRESTRICTION message to set the restriction value of every cell in the specified column in the ZeeGrid. Restrictions perform numeric data entry validation, allowing only valid characters per the restriction to be entered.
ZGM_SETCOLRESTRICTION
wParam = (WPARAM)(int) iCol; //ZeeGrid column
lParam = (LPARAM)(int) iRestriction; //Restriction value
- No Restriction
- Signed Integer
- Unsigned Integer
- Signed Double
- Unsigned Double
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.