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

Glossary Item Box

SSM_BEFOREUSERSORT Message


Applies To

fpSpread control

Description

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

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

Parameters

The following parameters are available:

Parameter Description
wParam Spread control ID
lParam Pointer to SS_BEFOREUSERSORT structure

Remarks

The SSM_BEFOREUSERSORT message uses the SS_BEFOREUSERSORT structure to return the column on which the sort will occur, the type of sort that will occur, and whether automatic or manual sorting will occur or whether sorting will be canceled.

After sorting is completed, the SSM_AFTERUSERSORT message is sent.

Return Value

None

See Also

SSSetColUserSortIndicator, SSSetUserColAction functions

SSM_AFTERUSERSORT message

SS_BEFOREUSERSORT structure

Copyright © GrapeCity, inc. All rights reserved.