Results 1 to 10 of 10

Thread: Is there a way to determine if a msgbox is open?

Hybrid View

  1. #1
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: Is there a way to determine if a msgbox is open?

    I'm no pro when it comes to hooks but this might help give you some ideas...
    Attached Files Attached Files

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Apr 2007
    Posts
    18

    Re: Is there a way to determine if a msgbox is open?

    Thanks that works pretty well, and almost exactly what I need, except it looks for Activate, and when I set to HCBT_CREATEWND, it didnt trigger it.

    I think I got a different way of doing it though, I get all Window Hwnds through
    GetWindowThreadProcessId, and then determine if the Window class is of Dialog type, so far so good.

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