BOOL AnyPopup( )
This function indicates whether a pop-up window exists on the screen. It searches the entire Windows screen, not just the caller's client area. The AnyPopup function returns nonzero even if a pop-up window is completely covered by another window.
This function has no parameters.
The return value is nonzero if a pop-up window exists. Otherwise, it is zero.