From e7c29bb1fcdb261e8437349e3c3a559bdb06cba8 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Mon, 23 Oct 2017 18:56:35 +0300 Subject: [PATCH] [ATL] Add CHAIN_MSG_MAP macro --- sdk/lib/atl/atlwin.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/lib/atl/atlwin.h b/sdk/lib/atl/atlwin.h index 5540574e03a..3f68348a4ee 100644 --- a/sdk/lib/atl/atlwin.h +++ b/sdk/lib/atl/atlwin.h @@ -1827,6 +1827,12 @@ public: return TRUE; \ } +#define CHAIN_MSG_MAP(theChainClass) \ + { \ + if (theChainClass::ProcessWindowMessage(hWnd, uMsg, wParam, lParam, lResult)) \ + return TRUE; \ + } + #define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd) \ static ATL::CWndClassInfo& GetWndClassInfo() \ { \