The ShowOwnedPopups function shows or hides all pop-up windows owned by the specified window.
BOOL ShowOwnedPopups(
HWND hWnd, // handle to window
BOOL fShow // window visibility flag
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
ShowOwnedPopups shows only windows hidden by a previous call to ShowOwnedPopups. For example, if a pop-up window is hidden by using the ShowWindow function, subsequently calling ShowOwnedPopups with the fShow parameter set to TRUE does not cause the window to be shown.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Windows Overview, Window Functions, IsWindowVisible, ShowWindow