summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_userinfo.h2
-rw-r--r--libs/win32/mir_app.libbin275968 -> 276524 bytes
-rw-r--r--libs/win64/mir_app.libbin275278 -> 275834 bytes
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
-rw-r--r--src/mir_app/src/userInfo.cpp11
6 files changed, 15 insertions, 0 deletions
diff --git a/include/m_userinfo.h b/include/m_userinfo.h
index 880d224739..a0976e90a5 100644
--- a/include/m_userinfo.h
+++ b/include/m_userinfo.h
@@ -39,6 +39,8 @@ public:
m_hContact = hContact;
}
+ virtual INT_PTR DlgProc(UINT, WPARAM, LPARAM) override;
+
virtual bool IsEmpty() const;
virtual bool OnRefresh();
};
diff --git a/libs/win32/mir_app.lib b/libs/win32/mir_app.lib
index 88d5d82528..8665026b0c 100644
--- a/libs/win32/mir_app.lib
+++ b/libs/win32/mir_app.lib
Binary files differ
diff --git a/libs/win64/mir_app.lib b/libs/win64/mir_app.lib
index 63178c0078..681b7b006a 100644
--- a/libs/win64/mir_app.lib
+++ b/libs/win64/mir_app.lib
Binary files differ
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 6d7da2e47a..e2f035218c 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -920,3 +920,4 @@ Clist_GroupSaveExpanded @1003 NONAME
?isAlertable@EventInfo@DB@@QBE_NXZ @1037 NONAME
?Send@File@@YGPAUHWND__@@IQAPA_W@Z @1038 NONAME
?GetReceivedFolder@File@@YGPA_WIPA_WI_N@Z @1039 NONAME
+?DlgProc@CUserInfoPageDlg@@UAEHIIJ@Z @1040 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index c6da8544fd..6c39849c39 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -920,3 +920,4 @@ Clist_GroupSaveExpanded @1003 NONAME
?isAlertable@EventInfo@DB@@QEBA_NXZ @1037 NONAME
?Send@File@@YAPEAUHWND__@@IQEAPEA_W@Z @1038 NONAME
?GetReceivedFolder@File@@YAPEA_WIPEA_W_K_N@Z @1039 NONAME
+?DlgProc@CUserInfoPageDlg@@UEAA_JI_K_J@Z @1040 NONAME
diff --git a/src/mir_app/src/userInfo.cpp b/src/mir_app/src/userInfo.cpp
index 196ea0ae0a..7b3d4de607 100644
--- a/src/mir_app/src/userInfo.cpp
+++ b/src/mir_app/src/userInfo.cpp
@@ -33,6 +33,17 @@ CUserInfoPageDlg::CUserInfoPageDlg(class CMPluginBase &pPlug, int idDialog) :
m_forceResizable = true;
}
+INT_PTR CUserInfoPageDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
+{
+ if (uMsg == WM_NOTIFY) {
+ NMHDR *pnmh = (NMHDR *)lParam;
+ if (pnmh->code == PSN_INFOCHANGED)
+ OnRefresh();
+ }
+
+ return CDlgBase::DlgProc(uMsg, wParam, lParam);
+}
+
bool CUserInfoPageDlg::IsEmpty() const
{
return false;