mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-12-18 02:16:00 +01:00
25 lines
670 B
C
25 lines
670 B
C
#ifndef _H_HIDEEXPLORERSEARCHBAR_H_
|
|
#define _H_HIDEEXPLORERSEARCHBAR_H_
|
|
#include <Windows.h>
|
|
#include <commctrl.h>
|
|
#pragma comment(lib, "Comctl32.lib")
|
|
#include "osutility.h"
|
|
|
|
// https://stackoverflow.com/questions/30141592/how-do-i-find-a-handle-inside-a-control
|
|
HWND FindChildWindow(
|
|
HWND hwndParent,
|
|
wchar_t* lpszClass
|
|
);
|
|
|
|
// https://github.com/Open-Shell/Open-Shell-Menu/blob/master/Src/ClassicExplorer/ExplorerBHO.cpp
|
|
VOID HideExplorerSearchBar(HWND hWnd);
|
|
|
|
LRESULT CALLBACK HideExplorerSearchBarSubClass(
|
|
HWND hWnd,
|
|
UINT uMsg,
|
|
WPARAM wParam,
|
|
LPARAM lParam,
|
|
UINT_PTR uIdSubclass,
|
|
DWORD_PTR dwRefData
|
|
);
|
|
#endif |