Help Center

Comparefunction

Occurs when the Sort property for the MSHFlexGrid is set to Custom Sort (9), so the user can customize the sort process.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION Compare (BYVAL row1 AS LONG, BYVAL row2 AS LONG, BYVAL iCmp AS SHORT PTR) AS HRESULT

Parameters

NameDescription
row1The first row in a pair of rows being compared.
row2The second row in a pair of rows being compared.
iCmpAn integer that represents the sort order of each pair, as descibed below.

Description

Occurs when the Sort property for the MSHFlexGrid is set to Custom Sort (9), so the user can customize the sort process.

Reference