BCGControlBar Pro for MFC
virtual int CBCGPRibbonComboBox::OnCompareStrings ( const CString &  str1,
const CString &  str2 
) const

/// Called by the framework when it needs to compare two Ribbon combo box items.

str1The first string to compare.
str2The second string to compare.

Indicates the relative position of the two items. It may be any of the following values:

  • -1: item 1 sorts before item 2.
  • 0: item 1 and item 2 sort the same.
  • 1: item 1 sorts after item 2.