ZeeGrid Control Message

ZGM_SORTCOLUMNDESC


ZGM_SORTCOLUMNDESC

An application sends a ZGM_SORTCOLUMNDESC message to set the primary and secondary sort columns to sort in descending order.

ZGM_SORTCOLUMNDESC
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: alpha values (high to low), numeric values (high to low), BOOLEAN TRUE, BOOLEAN FALSE

Copyright © 2002-2016 by David Hillard