ZeeGrid Control Message
ZGM_SORTCOLUMNASC
ZGM_SORTCOLUMNASC
An application sends a ZGM_SORTCOLUMNASC message to set the primary and secondary sort columns to sort in ascending order.
ZGM_SORTCOLUMNASC
wParam = (WPARAM)(int) iPrimarySortCol; //Primary sort column
lParam = (LPARAM)(int) iSecondarySortCol; //Secondary sort column
Parameters
-
iPrimarySortCol
-
The value of wParam. The ZeeGrid column number to use as the primary sort column. When sorting, the order of equal values in this column will be determined by the secondary sort column.
-
iSecondarySortCol
-
The value of lParam. The ZeeGrid column number to use as the secondary sort column. The secondary sort column is used as a tie-breaker for rows with equal values in the primary sort column.
Return Values
This message does not return a value.
Remarks
ZeeGrid types are sorted in the following order: BOOLEAN FALSE, BOOLEAN TRUE, numeric values (low to high), alpha values (low to high).
Copyright © 2002-2016 by David Hillard