MsgBox ( flag, "title", "text", [timeout], "xpos", "ypos" )
or
MsgBox ( flag, "title", "text", "xpos", "ypos", [timeout] )
Autoit3 is best
Posted 17 January 2004 - 10:19 AM
Posted 17 January 2004 - 03:45 PM
was already proposed to Jon will see if it react on this new askplease added next parameters for MsgBox - position message window to screen
MsgBox ( flag, "title", "text", [timeout], "xpos", "ypos" )
or
MsgBox ( flag, "title", "text", "xpos", "ypos", [timeout] )
Autoit3 is best
Posted 17 January 2004 - 04:23 PM
Posted 17 January 2004 - 06:10 PM
Agreed!! It is a feature I would seldom, if ever, use. I use the default center position and I would hate to change all of the scripts at this point. Adding the parameters at the end of the string would be a better choice. I would also like to see the ability to set the size of MsgBox (also added to the end).I don't want to change all my scripts, I would suggest:
MsgBox ( flag, "title", "text" [, timeout] [, xpos ][, ypos ] )
Posted 17 January 2004 - 11:24 PM
That the reason the proposal was with timeout optional at the endI don't want to change all my scripts, I would suggest:
MsgBox ( flag, "title", "text" [, timeout] [, xpos ][, ypos ] )
Posted 05 February 2007 - 11:41 PM
Posted 06 February 2007 - 12:22 AM
MsgBox ( flag, "title", "text" [, timeout] [, xpos ][, ypos ][, Hwnd])
==========================================================
AutoIt Russian Community
Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program
UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating
)* === My topics === *
==========================================================AutoIt is simple, subtle, elegant. © AutoIt Team
Posted 29 March 2007 - 11:51 AM
==========================================================
AutoIt Russian Community
Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program
UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating
)* === My topics === *
==========================================================AutoIt is simple, subtle, elegant. © AutoIt Team
Posted 29 March 2007 - 12:33 PM
If you want different text on a standard msgbox then visit here.Also it will be great if the MsgBox will have more buttons - for example, a buttons "Yes to All" and "No to All". It will be usefull with Delete/Move/Copy operations (using in GUI program).
Because now i don't see any way to show MsgBox with 4 buttons (no mather what text on them), except build a msgbox from GUI
Posted 29 March 2007 - 03:10 PM
I have seen this, thanks... but what i mean, is to have more then 3 buttons, so if i want to copy files, and ask user for choose "Yes" (meaning delete current file), "No" (meaning not delete current file), "Yes to All" (meaning delete all files), and "Cancel" (meaning not delete all next files) - and even more then 4 buttons, needed button for "Not to All" so program will "know" that there is no need to replace (if the operation is replacing files, not deleting) all files with the same name.If you want different text on a standard msgbox then visit here.
==========================================================
AutoIt Russian Community
Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program
UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating
)* === My topics === *
==========================================================AutoIt is simple, subtle, elegant. © AutoIt Team
Posted 29 March 2007 - 03:25 PM
Trick that can work sometimes is to hold down the shift key on some dialogs and such as the OS picks it up as the yes/no to all.I have seen this, thanks... but what i mean, is to have more then 3 buttons, so if i want to copy files, and ask user for choose "Yes" (meaning delete current file), "No" (meaning not delete current file), "Yes to All" (meaning delete all files), and "Cancel" (meaning not delete all next files) - and even more then 4 buttons, needed button for "Not to All" so program will "know" that there is no need to replace (if the operation is replacing files, not deleting) all files with the same name.
If Msgboxes appear where ever they like then I would consider my system possessed by alien gremlins. Not normal at all to have them have a mind of their own when popping up. The centre of the screen gets maximun attention.And yes, hWnd param needed, and the xPos/yPos to, because somtimes you like to show the msgbox at center of your program, not at center of the screen.
Edited by MHz, 29 March 2007 - 03:26 PM.
Posted 31 March 2007 - 10:18 AM
0 members, 0 guests, 0 anonymous users