cyberalau3 Posted March 29, 2015 Share Posted March 29, 2015 Love this function!. Is there any way to display this GUI on a 2nd screen? Normal windows can be displayed at negative horizontal position but it looks like this doesn't work on _extmsgbox. Thanks much cyberal Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 29, 2015 Moderators Share Posted March 29, 2015 (edited) cyberalau3,If you mean my ExtMsgBox UDF then: - 1. Thanks - glad you like it. - 2. If you can display a standard AutoIt GUI on your second screen, then the same coordinates should get the ExtMsgBox displayed at the same point. It only auto-centres on the main screen - I can look into how to auto-centre on other screens if you are prepared to act as beta tester. If it is not my UDF then please ignore the above. M23 Edited March 29, 2015 by Melba23 Looked more closely at the code Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
cyberalau3 Posted March 29, 2015 Author Share Posted March 29, 2015 Not sure what it would take to be a beta tester but here is what I tried ... _extMsgBox(16, 0, "ERROR " & @ScriptLineNumber, "No folders selected for backup." & @CRLF & "Something must be marked for backup," & @CRLF & _ "either select a folder or press 'Done'", 0, -660, 600);was 20 The -660 is what I had thought might work ... cyberal Link to comment Share on other sites More sharing options...
cyberalau3 Posted March 29, 2015 Author Share Posted March 29, 2015 Meant to say that my 2nd screen is configured to be on the left. Using Windows 7 Pro. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 29, 2015 Moderators Share Posted March 29, 2015 cyberalau3,I think you posted before I edited my first reply. Can you display a standard AutoIt GUI at those coordinates? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
cyberalau3 Posted March 29, 2015 Author Share Posted March 29, 2015 yes ......... $hGUI = GUICreate("$hGUI - B A C K U P M E N U - Live", 635, 300, -660, 5) ;was 20,10 This works fine. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 29, 2015 Moderators Share Posted March 29, 2015 cyberalau3,Looking even more closely at the code I see there is a check of position to prevent the dialog leaving the main screen - which is interfering with the coords that you set for your second screen. I will look into how I might change the UDF to allow negative values. Bu if you want try a quick fix, comment out lines #477-481 and see if that does the trick. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
cyberalau3 Posted March 29, 2015 Author Share Posted March 29, 2015 Will do. Get right back to you. Al Link to comment Share on other sites More sharing options...
cyberalau3 Posted March 29, 2015 Author Share Posted March 29, 2015 Great work. Worked perfectly!!!! Thanks so much Al Link to comment Share on other sites More sharing options...
Moderators Solution Melba23 Posted March 29, 2015 Moderators Solution Share Posted March 29, 2015 cyberalau3,Excellent! I will look at how I might rewrite that section to allow for secondary screens while still adding a degree of "idiot-proofing" - perhaps an optional additional parameter to indicate that a secondary screen is being used. Thanks for bringing this to my attention - and keep an eye on the main UDF thread. M23 cyberalau3 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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