MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / IsWindowActive

Function IsWindowActive

src/windows/WinUtils.cpp:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140bool IsWindowActive(HWND hWnd)
141{
142 return IsWindowVisible(hWnd) && GetForegroundWindow() == hWnd;
143}
144
145bool FileExists(const std::string& path)
146{

Callers 1

WindowProcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected