Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called by the property grid control to sort properties.
virtual int CompareProps(
const CMFCPropertyGridProperty* pProp1,
const CMFCPropertyGridProperty* pProp2
) const;
Parameters
pProp1
A pointer to a property.pProp2
A pointer to a property.
Return Value
Return Value |
Description |
|---|---|
< 0 |
The name of the pProp1 parameter is less than the name of the pProp2 parameter. |
0 |
The name of the pProp1 parameter is equal to the name of the pProp2 parameter. |
> 0 |
The name of the pProp1 object is greater than the name of the pProp2 parameter. |
Remarks
By default, this method uses the CString::Compare method to compare the CMFCPropertyGridProperty::m_strName members of the specified parameters.
Requirements
Header: afxpropertygridctrl.h