[SHELLFIND] Add edit box for search location
authorBrock Mammen <brockmammen@gmail.com>
Sat, 3 Aug 2019 16:54:22 +0000 (11:54 -0500)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 15 Sep 2019 16:46:36 +0000 (19:46 +0300)
dll/win32/browseui/shellfind/CSearchBar.cpp

index 7efcd2b..1458137 100644 (file)
@@ -68,9 +68,20 @@ void CSearchBar::InitializeSearchBar()
         m_hWnd, NULL,
         _AtlBaseModule.GetModuleInstance(), NULL);
 
+    CreateWindowExW(0, WC_STATIC, L"&Look in:",
+        WS_CHILD | WS_VISIBLE,
+        10, 150, 500, 20,
+        m_hWnd, NULL,
+        _AtlBaseModule.GetModuleInstance(), NULL);
+    CreateWindowExW(WS_EX_CLIENTEDGE, WC_EDITW, NULL,
+        WS_BORDER | WS_CHILD | WS_VISIBLE,
+        10, 180, 100, 20,
+        m_hWnd, NULL,
+        _AtlBaseModule.GetModuleInstance(), NULL);
+
     CreateWindowExW(0, WC_BUTTON, L"Sea&rch",
         WS_BORDER | WS_CHILD | WS_VISIBLE,
-        10, 150, 100, 20,
+        10, 210, 100, 20,
         m_hWnd, NULL,
         _AtlBaseModule.GetModuleInstance(), NULL);
 }