ZeeGrid Control Message

ZGM_COMPARETEXT


ZGM_COMPARETEXT

An application sends a ZGM_COMPARETEXT message to compare the display text of two cells specified by their cell indexes in wParam and lParam.

ZGM_COMPARETEXT
wParam = (WPARAM)(int) iCellIndex1;        //ZeeGrid cell index
lParam = (LPARAM)(int) iCellIndex2;        //ZeeGrid cell index

Parameters

iCellIndex1
The value of wParam. The cell index of a cell to compare (1 of 2).

iCellIndex2
The value of lParam. The cell index of a cell to compare (2 of 2).

Return Values

If the text of the cell pointed to by iCellIndex1 is equal to the text of the cell pointed to by iCellIndex2, the return value is zero. If the text of the cell pointed to by iCellIndex1 is less than the text of the cell pointed to by iCellIndex2, the return value is less than zero. If the text of the cell pointed to by iCellIndex1 is greater than the text of the cell pointed to by iCellIndex2, the return value is greater than zero.

Copyright © 2002-2016 by David Hillard