AnyPopup

2.x

  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 nonzero if a pop-up window exists, even if the pop-up window is completely covered by other windows. The return value is zero if no pop-up window exists.

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