From 06bb38dfa357a731e16980d03ab100b84e5cb989 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Jun 2015 21:53:56 +0000 Subject: MS_CLUI_GETHWND & MS_CLUI_GETHWNDTREE replaced with pcli->hwndContactList & pcli->hwndContactTree respectively git-svn-id: http://svn.miranda-ng.org/main/trunk@14386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Nudge/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/Nudge/src/main.cpp') diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index ac5e64c5f0..5ff5cf9a86 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -10,6 +10,7 @@ CNudgeElement DefaultNudge; CShake shake; CNudge GlobalNudge; +CLIST_INTERFACE *pcli; int hLangpack = 0; //======================== @@ -82,7 +83,7 @@ INT_PTR NudgeSend(WPARAM hContact, LPARAM lParam) void OpenContactList() { - HWND hWnd = (HWND) CallService(MS_CLUI_GETHWND,0,0); + HWND hWnd = pcli->hwndContactList; ShowWindow(hWnd, SW_RESTORE); ShowWindow(hWnd, SW_SHOW); } @@ -320,6 +321,7 @@ int AccListChanged(WPARAM wParam, LPARAM lParam) extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfo); + mir_getCLI(); LoadIcons(); -- cgit v1.2.3