diff options
author | George Hazan <ghazan@miranda.im> | 2022-01-29 19:51:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-01-29 19:51:13 +0300 |
commit | bd5c44b8596067d5fffbd253ec9f5399dbd72339 (patch) | |
tree | 7020ef3ad16e3ae58c7dd64e03e9eb3afbb0f922 | |
parent | f627783781218a38e066a010654bbfce28775b35 (diff) |
fixes #3018 (UserInfoEx: проблемы с запоминанием сортировки)
-rw-r--r-- | plugins/UserInfoEx/res/resource.rc | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/dlg_anniversarylist.cpp | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/plugins/UserInfoEx/res/resource.rc b/plugins/UserInfoEx/res/resource.rc index cffa4c20ba..7d7dde52da 100644 --- a/plugins/UserInfoEx/res/resource.rc +++ b/plugins/UserInfoEx/res/resource.rc @@ -302,7 +302,7 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN
CONTROL "Upcoming anniversaries\nThis list gives you some overview about all your contact's anniversaries.",IDC_HEADERBAR,
"MHeaderbarCtrl",0x0,0,0,355,25
- CONTROL "",EDIT_ANNIVERSARY_DATE,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,3,69,347,128
+ CONTROL "",EDIT_ANNIVERSARY_DATE,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,3,69,347,128
GROUPBOX "Statistics:",GROUP_STATS,3,28,348,35,0,WS_EX_TRANSPARENT
CONTROL "with birthday:",IDC_STATIC,"Static",SS_SIMPLE | WS_GROUP,21,49,61,8,WS_EX_RIGHT
CONTROL "0",TXT_NUMBIRTH,"Static",SS_SIMPLE | WS_GROUP,86,49,14,8,WS_EX_RIGHT
diff --git a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp index 7a6b0e89e0..af5807bb3a 100644 --- a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp +++ b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp @@ -367,21 +367,6 @@ class CAnnivList }
break;
- // resort the list
- case LVN_COLUMNCLICK:
- {
- LPNMLISTVIEW pnmv = (LPNMLISTVIEW)lParam;
-
- if (pDlg->_sortHeader == pnmv->iSubItem)
- pDlg->_sortOrder *= -1;
- else {
- pDlg->_sortOrder = 1;
- pDlg->_sortHeader = pnmv->iSubItem;
- }
- ListView_SortItemsEx(pDlg->_hList, (CMPPROC)cmpProc, pDlg);
- }
- break;
-
// show contact menu
case NM_RCLICK:
{
|