EnumChildWindows:

- if hWndParent == NULL: call EnumWindows
- else use bChildren = TRUE

svn path=/trunk/; revision=25921
This commit is contained in:
Timo Kreuzer 2007-02-28 13:21:09 +00:00
parent 9cb8365d3f
commit 4481a26504

View file

@ -551,8 +551,10 @@ EnumChildWindows(
LPARAM lParam)
{
if ( !hWndParent )
hWndParent = GetDesktopWindow();
return User32EnumWindows ( NULL, hWndParent, lpEnumFunc, lParam, 0, FALSE );
{
return EnumWindows(lpEnumFunc, lParam);
}
return User32EnumWindows ( NULL, hWndParent, lpEnumFunc, lParam, 0, TRUE );
}