-
Dear all,
I am trying to use API function
AnyPopup to detect if there exists
any popup window in a timer as follow
if AnyPopup then
beep
end if
But when I run it, it beeps all the
time no matter if there is any popup windown
Can anyone help me why?
Thanks in advance
-
Quote from Dan Appleman's API book:
"A pop-up for this function includes any visible, owned top level windows, both pop-up and overlapped."
It is probably returning true because there are pop up windows matching the description above. Apparently, the API call is only there for compatibility, and there are no real uses under Win32 systems.
------------------
John Percival
Editor, VB-World.net
[email protected]