[SHELL32] CDefView: Implement SFVM_COLUMNCLICK callback (#6943)

Implementing missing folder view callbacks...
JIRA issue: CORE-19616
- Call _DoFolderViewCB on LVN_COLUMNCLICK.
- If it returned S_OK, then don't sort items.
This commit is contained in:
Katayama Hirofumi MZ 2024-05-27 07:35:20 +09:00 committed by GitHub
parent d56e507e95
commit cdb970b653
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2117,7 +2117,8 @@ LRESULT CDefView::OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandl
m_sortInfo.bIsAscending = !m_sortInfo.bIsAscending;
else
m_sortInfo.bIsAscending = TRUE;
_Sort();
if (_DoFolderViewCB(SFVM_COLUMNCLICK, lpnmlv->iSubItem, 0) != S_OK)
_Sort();
break;
case LVN_GETDISPINFOA:
case LVN_GETDISPINFOW: