https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e7c29bb1fcdb261e8437349e3c3a559bdb06cba8

commit e7c29bb1fcdb261e8437349e3c3a559bdb06cba8
Author: Giannis Adamopoulos <gadamopou...@reactos.org>
AuthorDate: Mon Oct 23 18:56:35 2017 +0300

    [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 5540574e03..3f68348a4e 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()                                   
                 \
 {                                                                              
                  \

Reply via email to