[SHELLFIND] Add search bar click handler for testing search results
[reactos.git] / dll / win32 / browseui / shellfind / CSearchBar.h
index 81c9455..3bef420 100644 (file)
@@ -48,6 +48,7 @@ private:
     // *** ATL event handlers ***
     LRESULT OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
     LRESULT OnSearchButtonClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
+    LRESULT OnClicked(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
 
 public:
     CSearchBar();
@@ -136,5 +137,6 @@ public:
     BEGIN_MSG_MAP(CSearchBar)
         MESSAGE_HANDLER(WM_SETFOCUS, OnSetFocus)
         COMMAND_CODE_HANDLER(BN_CLICKED, OnSearchButtonClicked)
+        MESSAGE_HANDLER(WM_LBUTTONDOWN, OnClicked)
     END_MSG_MAP()
 };