Spread 8.0 Documentation
SSM_AFTERUSERSORT Message
Support Options
DLL Reference > DLL Messages > SSM_AFTERUSERSORT Message

Glossary Item Box

SSM_AFTERUSERSORT Message


Applies To

fpSpread control

Description

Sent to the owner of the Spread control when one of the following occurs:

and the SSSetUserColAction function's nUserColAction parameter is set to either 1 (SS_USERCOLACTION_SORT) or 2 (SS_USERCOLACTION_SORTNOINDICATOR) and the data is sorted.

Parameters

The following parameters are available:

Parameter Description
wParam Spread control ID
lParam Column on which sort occurred

Remarks

If you set the SSSetUserColAction function's nUserColAction parameter to 1 (SS_USERCOLACTION_SORT) or 2 (SS_USERCOLACTION_SORTNOINDICATOR) and the user clicks the column header, the column is sorted in either ascending or descending order and the SSM_BEFOREUSERSORT and SSM_AFTERUSERSORT messages occur.

If the SSSetColUserSortIndicator function's nColUserSortIndicator parameter is set to 3 (SS_COLUSERSORTINDCATOR_DISABLED) or if the SSSetUserColAction function's nUserColAction parameter is set to 0 (SS_USERCOLACTION_DEFAULT), this message will not be sent.

Return Value

None

See Also

SSSetColUserSortIndicator, SSSetUserColAction functions

SSM_BEFOREUSERSORT message

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.