Exemplo n.º 1
0
int CALLBACK CShellBrowser::SortByAttributes(int InternalIndex1,int InternalIndex2) const
{
	std::wstring AttributeString1 = GetAttributeColumnText(InternalIndex1);
	std::wstring AttributeString2 = GetAttributeColumnText(InternalIndex2);

	return StrCmpLogicalW(AttributeString1.c_str(),AttributeString2.c_str());
}
Exemplo n.º 2
0
int CALLBACK CShellBrowser::SortByAttributes(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2) const
{
	std::wstring AttributeString1 = GetAttributeColumnText(itemInfo1);
	std::wstring AttributeString2 = GetAttributeColumnText(itemInfo2);

	return StrCmpLogicalW(AttributeString1.c_str(),AttributeString2.c_str());
}