예제 #1
0
int CALLBACK CShellBrowser::SortByImageProperty(int InternalIndex1,int InternalIndex2,PROPID PropertyId) const
{
	std::wstring ImageProperty1 = GetImageColumnText(InternalIndex1,PropertyId);
	std::wstring ImageProperty2 = GetImageColumnText(InternalIndex2,PropertyId);

	return StrCmpLogicalW(ImageProperty1.c_str(),ImageProperty2.c_str());
}
예제 #2
0
int CALLBACK CShellBrowser::SortByImageProperty(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2, PROPID PropertyId) const
{
	std::wstring ImageProperty1 = GetImageColumnText(itemInfo1,PropertyId);
	std::wstring ImageProperty2 = GetImageColumnText(itemInfo2,PropertyId);

	return StrCmpLogicalW(ImageProperty1.c_str(),ImageProperty2.c_str());
}