January 1, 2005

WinTask - AnyPopup

'
' AnyPopup
'
' Author: Joe Strazzere
'
' Popups are Child windows (dialog boxes, for example), rather than Main windows.
' Main windows are owned by the desktop, while child windows are owned by Main windows.
'
Function AnyPopup()
 AnyPopup = External("user32","AnyPopup")
EndFunction
If AnyPopup() = 1 then
  msgbox("At least one popup window was found.")
else
  msgbox("No popup windows were found.")
endif