Recce Posted October 5, 2008 Share Posted October 5, 2008 Anyone know this?Old Custom MsgBox button suggestion Is this possible in AutoIt V3? Link to comment Share on other sites More sharing options...
Zedna Posted October 5, 2008 Share Posted October 5, 2008 Just make your own GUI for messagebox. This wasn't possible in 2004 :-) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Malkey Posted October 5, 2008 Share Posted October 5, 2008 Anyone know this?Old Custom MsgBox button suggestion Is this possible in AutoIt V3? Take a look at this post.http://www.autoitscript.com/forum/index.ph...st&p=587525 Link to comment Share on other sites More sharing options...
Recce Posted October 5, 2008 Author Share Posted October 5, 2008 Just make your own GUI for messagebox. This wasn't possible in 2004 :-)Thanks, Anyone know of a simple example of this? Link to comment Share on other sites More sharing options...
Zedna Posted October 5, 2008 Share Posted October 5, 2008 Thanks, Anyone know of a simple example of this?Use Koda tool for making your own GUIsHere is simple example: http://www.autoitscript.com/forum/index.php?showtopic=13642 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recce Posted October 5, 2008 Author Share Posted October 5, 2008 Use Koda tool for making your own GUIsHere is simple example: http://www.autoitscript.com/forum/index.php?showtopic=13642Sorry but thats way above my skill level.I guess I have to stay with the Yes and No buttons a while longer.I will not waist anymore of your time Zedna.Thank you for your time! Link to comment Share on other sites More sharing options...
TehWhale Posted October 5, 2008 Share Posted October 5, 2008 I found this in my Examples listing in my signature. ; Change Message Box button text ; Author SmOke_N Local $ChangeText[2] = ['File', 'Folder'] $iMsg = _MsgBoxEx(4, 'nothing', 'something', 0, $ChangeText) MsgBox(64, 'Info', 'The Return Was: ' & $iMsg) Func _MsgBoxEx($iFlag, $sTitle, $sText, $iTime = 0, $sCIDChange = '') Local $_MsgBox_ = '"' & "ConsoleWrite(MsgBox(" & $iFlag & ', ""' & $sTitle & '"", ""' & $sText & '"", ' & $iTime & '"))' Local $iPID = Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & $_MsgBox_, '', @SW_SHOW, 6) Do Sleep(10) Until WinExists($sTitle) If IsArray($sCIDChange) Then For $iCC = 1 To UBound($sCIDChange) - 1 ControlSetText($sTitle, '', 'Button' & $iCC, $sCIDChange[$iCC]) Next Else ControlSetText($sTitle, '', 'Button1', $sCIDChange) EndIf While ProcessExists($iPID) Local $iStdOut = StdoutRead($iPID) If Number($iStdOut) Then Return $iStdOut Sleep(10) WEnd If IsArray($sCIDChange) Then Return SetError(1, 0, 2) Return SetError(1, 0, 1) EndFunc Link to comment Share on other sites More sharing options...
ProgAndy Posted October 5, 2008 Share Posted October 5, 2008 It is possible to change the button captions http://www.autoitscript.com/forum/index.php?showtopic=81976 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Vindicator209 Posted October 5, 2008 Share Posted October 5, 2008 Well, if you're just looking to change the buttons then you can try the CodeWizard thing, it has quite a few options. [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
ludocus Posted October 5, 2008 Share Posted October 5, 2008 I made the button names custamizable (??) for you: Click here 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