Jump to content

Recommended Posts

Posted (edited)

Hello,

See:

Posted Image

Did you like? Then use this UDF:

Download Link: _MsgBox.au3

Need this: UDF: _GUIResourcePic.au3

Example

#include <_MsgBox.au3>
;_MsgBox( flag, "title", "text" [, timeout [, hwnd [, ownButtons [, FileName [, ResName [, ResType _
;                           [, left [, top [, allwaysActive ]]]]]]]]] )
_MsgBox(262198, "Teste", "  Modified Autoit MsgBox. (Based on new _EzSkin.au3)" & @CRLF & _
        "   This dialog will close in 10 seconds...", 10, 0, "Exit|Try Again|No one", @ScriptDir & "\FlagBR.gif", -1, -1, -1, -1, True)

Change: "\FlagBR.gif" for any image you want...

Edited by jscript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Posted (edited)

Nice!

You could pack all needed scripts and example to one atchive, it's not so convinient to copy the code and collect all the pieces.

P.S

I am not sure, maybe it's just for me, but sometimes if you click the mouse (main button) rapidly on any place just before the message box appears, there is another msgbox shown, without the resources and timer counting, and when you close it then popups the "right" msgbox.

Upd1: It's caused by Send("{Enter}") - wrong way of dealing with it >_< ...

Upd2: Better to use ControlClick($hwnd, "", "Button1")

Edited by MrCreatoR

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  On 8/19/2009 at 3:28 AM, 'MrCreatoR said:

Nice!

You could pack all needed scripts and example to one atchive, it's not so convinient to copy the code and collect all the pieces.

P.S

I am not sure, maybe it's just for me, but sometimes if you click the mouse (main button) rapidly on any place just before the message box appears, there is another msgbox shown, without the resources and timer counting, and when you close it then popups the "right" msgbox.

Upd1: It's caused by Send("{Enter}") - wrong way of dealing with it >_< ...

Upd2: Better to use ControlClick($hwnd, "", "Button1")

Great, I had not thought about this :(

I already made the changes...

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

  • 5 weeks later...
Posted (edited)

  On 9/17/2009 at 8:00 PM, 'MilesAhead said:

I must be doing something wrong. I pasted your example into SciTE and substituted @ScriptDir & "Selector.png" to load a 32 x 32 .png image and I get this:

This error mabe appear only in Win Vista :D

I will corret this in another time...

Thanks.

Edited by jscript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

  Reveal hidden contents

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

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
  • Recently Browsing   0 members

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