This API function shows or hides all pop-up windows owned by the given window. This eliminates the need to call ShowWindow() for each individual pop-up window.
To use it with Clipper, simply add this command line in one .prg file of you application :
DLL FUNCTION ShowOwnedPopups( nHwnd AS _INT, bShow AS BOOL ) AS BOOL PASCAL FROM "ShowOwnedPopups" LIB "USER.EXE"
ShowOwnedPopups(hWnd, .F.) return not always .T. when there is not
Owned popups for the window, depending on unknown reason.
Problem found on a pc with XP Home edition.