cyberalau3

Question on _extmsgbox

10 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

cyberalau3,

If you mean my ExtMsgBox UDF then:

 

- 1. Thanks - glad you like it. :thumbsup:

- 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. :D

M23

Edited 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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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
 

Share this post


Link to post
Share on other sites

Meant to say that my 2nd screen is configured to be on the left. Using Windows 7 Pro.

Share this post


Link to post
Share on other sites

cyberalau3,

I think you posted before I edited my first reply. Can you display a standard AutoIt GUI at those coordinates? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Will do. Get right back to you.

Al

Share this post


Link to post
Share on other sites

Great work. Worked perfectly!!!!

Thanks so much

Al      :thumbsup:

Share this post


Link to post
Share on other sites

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

1 person likes this

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
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