Skip to content
find hwnds easily
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
hwnd-finder.sln
hwnd-finder.vcproj
readme.txt

readme.txt

Find HWNDs of windows.

Here's an example. This finds Chrome renderer's window handle:

HwndFinder hf;
HWND rendererHwnd = hf.find("Chrome_WidgetWin_1 > Chrome_WidgetWin_0 > Chrome_RenderWidgetHostHWND");

Here Chrome_RenderWidgetHostHWND is a child of Chrome_WidgetWin_0 is a child of Chrome_WidgetWin_1 which is the top window.

You can’t perform that action at this time.