Sign in to follow this  
Followers 0
heibel

MsbBox not always on top

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Always on top MsgBox

MsgBox(0x40000, $messageInsertH, $messageInsert)

:whistle:

Share this post


Link to post
Share on other sites

Always on top MsgBox

MsgBox(0x40000, $messageInsertH, $messageInsert)

:whistle:

Hi Mhz,

Tried that: works great!

But Now: something simular for a Yes/No-msgbox? That's what I need!

(or better: where did you get this info from?)

Thanks!

Share this post


Link to post
Share on other sites

It is in the AutoIt3 Helpfile. Look here at the online version under remarks.

MsgBox(0x40004, 'title', 'yes or no')

:whistle:

Share this post


Link to post
Share on other sites

It is in the AutoIt3 Helpfile. Look here at the online version under remarks.

MsgBox(0x40004, 'title', 'yes or no')

:whistle:

Okay, works perfectly! Wauw, what great: thanks MHz, thanks all you of autoit!

Harry

Share this post


Link to post
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
Sign in to follow this  
Followers 0