ZeeGrid Control Message

ZGM_SETSORTLIMIT


ZGM_SETSORTLIMIT

An application sends a ZGM_SETSORTLIMIT message to set the maximum amount of time (in seconds) that a sort operation will take before prompting the user with the estimated time to sort and asking if (s)he wants to continue the sort operation.

ZGM_SETSORTLIMIT
wParam = (WPARAM)(int) iSortLimit;   //number of seconds
lParam = (LPARAM)(BOOL) bFlag ;      //MessageBox flag

Parameters

iSortLimit
The value of wParam. The value is the number of seconds to allow for sorting. If this number is less than the estimated time to sort, the user is prompted to continue or cancel the sort operation depending on the boolean flag value of lParam..

bFlag
The value of lParam. If this value is TRUE, the user will receive a prompt to continue or cancel the sort operation if the estimated time exceeds the sort limit value. If this value is FALSE, no prompt is given and the sort operation is canceled.

Return Values

This message does not return a value.

ZeeGridTMCopyright © 2002-2016 by David Hillard