PDA

Click to See Complete Forum and Search --> : API AnyPopup help


yifeipan
Jan 8th, 2000, 11:36 AM
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

John
Jan 8th, 2000, 05:46 PM
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
john@vb-world.net