mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
reverted some test changes
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5179 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -3975,11 +3975,17 @@ static BOOL CALLBACK EnumProcessWindowsProc(
|
||||
)
|
||||
{
|
||||
ULONG processId;
|
||||
HWND parentWindow;
|
||||
|
||||
if (!IsWindowVisible(hwnd))
|
||||
return TRUE;
|
||||
|
||||
GetWindowThreadProcessId(hwnd, &processId);
|
||||
|
||||
if (
|
||||
processId == (ULONG)lParam
|
||||
processId == (ULONG)lParam &&
|
||||
!((parentWindow = GetParent(hwnd)) && IsWindowVisible(parentWindow)) && // skip windows with a visible parent
|
||||
GetWindowTextLength(hwnd) != 0
|
||||
)
|
||||
{
|
||||
SelectedProcessWindowHandle = hwnd;
|
||||
|
||||
Reference in New Issue
Block a user