mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[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:
parent
d56e507e95
commit
cdb970b653
1 changed files with 2 additions and 1 deletions
|
@ -2117,7 +2117,8 @@ LRESULT CDefView::OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandl
|
||||||
m_sortInfo.bIsAscending = !m_sortInfo.bIsAscending;
|
m_sortInfo.bIsAscending = !m_sortInfo.bIsAscending;
|
||||||
else
|
else
|
||||||
m_sortInfo.bIsAscending = TRUE;
|
m_sortInfo.bIsAscending = TRUE;
|
||||||
_Sort();
|
if (_DoFolderViewCB(SFVM_COLUMNCLICK, lpnmlv->iSubItem, 0) != S_OK)
|
||||||
|
_Sort();
|
||||||
break;
|
break;
|
||||||
case LVN_GETDISPINFOA:
|
case LVN_GETDISPINFOA:
|
||||||
case LVN_GETDISPINFOW:
|
case LVN_GETDISPINFOW:
|
||||||
|
|
Loading…
Reference in a new issue