AnyPopup

  BOOL AnyPopup(void)    

The AnyPopup function indicates whether an unowned, visible, top-level pop-up, or overlapped window exists on the screen. The function searches the entire Windows screen, not just the caller's client area.

Parameters

This function has no parameters.

Return Value

The return value is TRUE if a pop-up window exists, even if the pop-up window is completely covered by other windows. Otherwise, it is FALSE.

Comments

AnyPopup is a Windows 1.x function and remains for compatibility reasons. It is generally not useful.

This function does not detect unowned pop-up windows or windows that do not have the WS_VISIBLE style bit set.

See Also

GetLastActivePopup, ShowOwnedPopups