From 2566e91de88b60694d9bf346dca707252f0165a9 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 2 Oct 2015 19:03:35 +0000 Subject: part2 git-svn-id: http://svn.miranda-ng.org/main/trunk@15499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_popup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/m_popup.h') diff --git a/include/m_popup.h b/include/m_popup.h index 11fc2d3bc6..a418066a60 100644 --- a/include/m_popup.h +++ b/include/m_popup.h @@ -326,9 +326,10 @@ Send this message when you want to destroy the popup, or use the function below. wParam = 0 lParam = 0 */ +#define MS_POPUP_DESTROYPOPUP "Popup/Delete" #define UM_DESTROYPOPUP (WM_USER + 0x0201) static int __inline PUDeletePopup(HWND hWndPopup) { - return (int)SendMessage(hWndPopup, UM_DESTROYPOPUP, 0, 0); + return (int)CallService(MS_POPUP_DESTROYPOPUP, 0, (LPARAM)hWndPopup); } /* UM_INITPOPUP -- cgit v1.2.3