Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
140
bool IsWindowActive(HWND hWnd)
141
{
142
return IsWindowVisible(hWnd) && GetForegroundWindow() == hWnd;
143
}
144
145
bool FileExists(const std::string& path)
146
{
Callers
1
WindowProc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected