ZeeGrid Control Message

ZGM_SETRANGE


ZGM_SETRANGE

An application sends a ZGM_SETRANGE message to define a bounding block of cells and calculates the sum of all numeric type cells in the block. The application must then use ZGM_GETRANGESUM to retrieve this sum.

ZGM_SETRANGE
wParam = (WPARAM)(int) iCellIndex1;   //Cell index of the top left bounding block of cells
lParam = (LPARAM)(int) iCellIndex2;   //Cell index of the bottom right bounding block of cells

Parameters

iCellIndex1
The value of wParam. The cell index of the ZeeGrid. This index is the first of two that defines a block of cells. The block can be in a single column, or span multiple columns. This cell index should be the cell that defines the upper left corner of the cell block.

iCellIndex2
The value of lParam. The cell index of the ZeeGrid. This index is the second of two that defines a block of cells. The block can be in a single column, or span multiple columns. This cell index should be the cell that defines the lower right corner of the cell block.

Return Values

This message does not return a value.

Copyright © 2002-2016 by David Hillard