Jump to content

ScalingMessageBox


xtcislove
 Share

Recommended Posts

Hello,
as a start in Autoit i tried something i was missing since im using Autoit. 

I build a custom MessageBox which has a large amount of custom options and which scales its size on the parameters you set. 

Aviable Settings:
-Title

-Unlimited Buttons

-Text Color (Buttons, Text)

-Background Color (Msgbox, Buttons, Label) 

-Button Timeout

-Autoclose Timeout

-Icon (Default, No Icon, Custom)

-Label/ Button Style. 

-Transparency

I tried to keep this as close as i could to a Msgbox i was used too on my batch times.

After i was ready i realised, @Melba23 probably build a way better msgbox which would have suit my needs enterly, anyway thanks to @Melba23 because i use his Stringsize UDF. 

 

 

local $Message = _sMsgBox("Test", 6, "Continue?")
        if @extended <> -1 Then MsgBox(0, @extended, $Message&" Button pressed")

 

ScalingMessageBox.au3

Edited by xtcislove
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

×
×
  • Create New...