Results 1 to 2 of 2

Thread: API AnyPopup help

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    fort wayne,IN, usa
    Posts
    12

    Post

    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



  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593

    Post

    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]



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width