Jump to content

MsbBox not always on top


Recommended Posts

Hello,

Got autoit hooked up to a hta-application.

At some point (based on html-content-of-current-page) I let autoit pop up a MsgBox, like:

$msg=MsgBox(308,$messageInsertH,$messageInsert)

All well, exept that when clicking the html-page again (outside the msgbox) it disappears to under the application...

Fiddled a bit with

$msg=-4444

Line 100: $msg=MsgBox(308,$messageInsertH,$messageInsert)

While $msg=-4444

WinSetOnTop($messageInsertH, ,$messageInsert, 1)

Sleep(500)

WEnd

Okay, no luck, probably 'cause the script never goes further then line 100

What to do? Workarounds?

Thanks in advance!

Harry

Edited by heibel
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...