Moderators Melba23 Posted March 19, 2019 Author Moderators Share Posted March 19, 2019 Rex, Already reported - see my explanation in this thread, which also offers possible solutions. Sorry, but if other UDFS do not meet with normal AutoIt convention there is not a lot I can do about it. 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...
Rex Posted March 19, 2019 Share Posted March 19, 2019 Darn. I did a search in this thread, and even read thru all 14 pages to be sure that it wasn't reported, but I never thought about doing a general forum search Thx Melba, you don't have anything to be sorry about, your udf works swell in all my other programs. Ill look at the thread - but for now I just dropped the onhover function, was only using it one place - and that can be replaced with the nativ set tip Cheers /Rex Link to comment Share on other sites More sharing options...
matwachich Posted May 25, 2019 Share Posted May 25, 2019 Hi and thanks for this excellent UDF! Gonna extensively use it in a BIG project I'm working on... Juste one "cosmetics" little comment: I'm I the only one that don't like the Icon placement in the window? I think it should be: If Icon height > textHeight: vertically centered on the text's center If Icon height <= textHeight: Icon.X = text.X Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 26, 2019 Author Moderators Share Posted May 26, 2019 (edited) matwachich, You are not quite alone as you can see here. I have tweaked the positions a bit - how does this seem to you? M23 Edited May 29, 2019 by Melba23 Beta code removed matwachich 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...
matwachich Posted May 28, 2019 Share Posted May 28, 2019 (edited) Thanks! Yes, this is what I meant! Much much better for me. Gonna use it in my project (A little more horizontal padding would be better) Edited May 28, 2019 by matwachich Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 29, 2019 Author Moderators Share Posted May 29, 2019 (edited) matwachich, Quote A little more horizontal padding would be better How about this: M23 Edited June 1, 2020 by Melba23 Beta code removed 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...
matwachich Posted May 29, 2019 Share Posted May 29, 2019 Perfect for me Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 30, 2019 Author Moderators Share Posted May 30, 2019 matwachich, Delighted I could help. when I next release a new version of the UDF I will incorporate these changes. 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...
David_i Posted July 2, 2019 Share Posted July 2, 2019 Some bugfixes. Have made all text to autoformat. Please delete my other comments 😏 ExtMsgBox.au3 Lines: 300, 404, 418, 599 ExtMsgBox Mod v0.3.zip Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 2, 2019 Author Moderators Share Posted July 2, 2019 David_i, Previous posts deleted as per your request - I suggest sitting on your hands a little longer before posting next time! I think "bugfixes" is a little strong - in my opinion you have merely "modified" the UDF code so that it functions exactly as you wish to see it. I will take a look and see what you have done. 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...
David_i Posted July 2, 2019 Share Posted July 2, 2019 Sorry, adjusting the window to the size of the text and the buttons turned out to be a little more complicated than I thought. Link to comment Share on other sites More sharing options...
David_i Posted July 2, 2019 Share Posted July 2, 2019 Thanks, all I needed was to turn off the maximum width check, and it all worked. Switch $iWidth Case Default $g_aEMB_Settings[6] = 370 Case -1 ; Do nothing Case 370 To 5000 ;@DesktopWidth - 20 $g_aEMB_Settings[6] = Int($iWidth) Case Else Return SetError(1, 7, 0) EndSwitch Link to comment Share on other sites More sharing options...
Wallboy Posted August 5, 2019 Share Posted August 5, 2019 How does one use this with an icon you want to compile into the exe using either ResourcesEX or the File to Base64 method? Link to comment Share on other sites More sharing options...
Nine Posted August 5, 2019 Share Posted August 5, 2019 @wallboy You don't even need to have and UDF for icon, just use #AutoIt3Wrapper_Res_Icon_Add with 201 as first icon and add 1 for each supplemental icon... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 5, 2019 Author Moderators Share Posted August 5, 2019 Wallboy, Welcome to the AutoIt forum. As Nine has pointed out, using the AutoIt3Wrapper directive to add the icon (you need to install the full SciTE4AutoIt3 editor package to allow this) all you need do is specify the 201 icon when calling the UDF: #AutoIt3Wrapper_Res_Icon_Add=Your_Icon_Path #include "ExtMsgBox.au3" _ExtMsgBox(@ScriptFullPath & "|201", "OK", "IconTest", "Did it work for you?") 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...
Wallboy Posted August 6, 2019 Share Posted August 6, 2019 Ahh that works perfect. Thanks guys! Link to comment Share on other sites More sharing options...
AndreyS Posted December 1, 2019 Share Posted December 1, 2019 (edited) Melba23, thanks for the great UDF! I’m developing something similar to a simple organizer. And your UDF for creating messages with various settings really came up. But one parameter is missing. The fact is that in the organizer it is very important that the program does not expect the user to close the message, but displays the following messages at the specified time. And the user further chooses which messages he needs to close and which to leave open. Please tell me, would you like to supplement your function with another parameter that would indicate to wait for the message box to close to continue the program or continue to display new messages (without automatically closing already displayed messages). Or even just tell me how best to fix the code in UDF? Edited December 1, 2019 by AndreyS Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 2, 2019 Author Moderators Share Posted December 2, 2019 AndreyS, What you are looking for sounds very much like what you get with my Notify UDF - you can display multiple messages without pausing the script and the user can choose which to close or leave open. The link is in my sig - take a look and see whether you also think it is suitable for your app. 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...
AndreyS Posted December 2, 2019 Share Posted December 2, 2019 (edited) Your message prompted me to try to run the script on another system with a different monitor. There I saw how notifications are displayed. By the way, this is a very original solution! And I think it should fit my task. And now I understand what the problem is with my main system! There, the desktop is divided into two monitors. And notifications pop up right on the right side of the second part of the desktop, which should be displayed on the second monitor. But this second monitor is not used. Tell me, is there any way to make them appear on the right side of the first monitor, or at least in its center? Edited December 2, 2019 by AndreyS Link to comment Share on other sites More sharing options...
AndreyS Posted December 2, 2019 Share Posted December 2, 2019 All all all! I already figured it out! Everything is already thought out in your excellent UDF! There are settings for such a case. I will now explore all its possibilities! Thanks for the tip and invention! :) 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