ShowOwnedPopups function (winuser.h)
Shows or hides all pop-up windows owned by the specified window.
Syntax
BOOL ShowOwnedPopups(
[in] HWND hWnd,
[in] BOOL fShow
);
Parameters
[in] hWnd
Type: HWND
A handle to the window that owns the pop-up windows to be shown or hidden.
[in] fShow
Type: BOOL
If this parameter is TRUE, all hidden pop-up windows are shown. If this parameter is FALSE, all visible pop-up windows are hidden.
Return value
Type: BOOL
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.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
API set | ext-ms-win-ntuser-window-l1-1-3 (introduced in Windows 10, version 10.0.10240) |
See also
Conceptual
Reference