From d8348065cbeb4c23f5594e4cabed7094a8e2e430 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Mar 2013 20:50:49 +0000 Subject: - mir_unsubclassWindow introduced for the explicit window unsubclassing; - fix for subclassing in SRMM event handlers git-svn-id: http://svn.miranda-ng.org/main/trunk@4117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_core.inc | 5 ++--- include/m_core.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index fe6c08de9d..7221ec7c59 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -615,9 +615,8 @@ procedure mir_subclassWindowFull(Wnd:HWND; WndProc, OldWndProc:TWNDPROC); stdcal external CoreDLL name 'mir_subclassWindowFull'; function mir_callNextSubclass(Wnd:HWND; WndProc:TWNDPROC; uMsg:uint; wParam:WPARAM; lParam:LPARAM ):LRESULT; stdcall; external CoreDLL name 'mir_callNextSubclass'; - -procedure KillModuleSubclassing(hInst: HMODULE); - external CoreDLL name 'KillModuleSubclassing'; +procedure mir_unsubclassWindow(Wnd:HWND; WndProc:TWNDPROC); stdcall; + external CoreDLL name 'mir_unsubclassWindow'; /////////////////////////////////////////////////////////////////////////////// diff --git a/include/m_core.h b/include/m_core.h index 9a969c5326..66841e0f6a 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -590,6 +590,7 @@ __forceinline char* mir_utf8decodeA(const char* src) MIR_CORE_DLL(void) mir_subclassWindow(HWND hWnd, WNDPROC wndProc); MIR_CORE_DLL(void) mir_subclassWindowFull(HWND hWnd, WNDPROC wndProc, WNDPROC oldWndProc); MIR_CORE_DLL(LRESULT) mir_callNextSubclass(HWND hWnd, WNDPROC wndProc, UINT uMsg, WPARAM wParam, LPARAM lParam); +MIR_CORE_DLL(void) mir_unsubclassWindow(HWND hWnd, WNDPROC wndProc); MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst); -- cgit v1.2.3