MsgBox Posted January 1, 2013 Share Posted January 1, 2013 I am a novice programmer MsgBox needs to explain MsgBox Function Link to comment Share on other sites More sharing options...
tp9191 Posted January 1, 2013 Share Posted January 1, 2013 ...did you read the help file? Link to comment Share on other sites More sharing options...
stormbreaker Posted January 1, 2013 Share Posted January 1, 2013 This is enough for you: msgbox(48, 'Warning', 'You are a novice programmer, please read the help file CAREFULLY') Run('hh mk:@MSITStore:'&StringReplace(@AutoItExe,'.exe','.chm')&'::/html/tutorials/helloworld/helloworld.htm','',@SW_MAXIMIZE) ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
GordonFreeman Posted January 1, 2013 Share Posted January 1, 2013 (edited) Flag determines the type of message that will appear on the screen (exclamation Ok & Cancel, Warning) MsgBox(16, "An error was encountered", "Preparing to format your HD...", 5) the same thing: $mFlag = 16; flag 16-> Stop-sign icon $mTile = "An error was encountered" $mText = "Preparing to format your HD..." $Time_to_close = 5 ;seconds MsgBox($mFlag, $mTile, $mText, $Time_to_close) Edited January 1, 2013 by GordonFreeman Frabjous Installation Link to comment Share on other sites More sharing options...
mihaibr Posted January 1, 2013 Share Posted January 1, 2013 Hey MsgBox, you came here to learn yourself, lolFunction MsgBox got 5 parameters(First three are necessarily and the other two are optional)1.The first one is the flag.Flag is the parameter that indicates the type of message box.You find all flag values here: http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm2.The second one is the Title.It refears to the title of the message box.3.The third is Text.It refears to the text of the message box.The other two are optional.They are Timeout and Hwnd4.TimeoutTimeout in seconds. After the timeout has elapsed the message box will be automatically closed.5.HwndThe window handle to use as the parent for this dialog. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now