Moderators Melba23 Posted August 12, 2016 Author Moderators Share Posted August 12, 2016 (edited) shai, Please try this Beta version of the UDF (which is RTL sensitive) and see if it works for you as well as it does for me: M23 Edited March 9, 2017 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...
shai Posted August 27, 2016 Share Posted August 27, 2016 On 12.8.2016 at 3:48 PM, Melba23 said: shai, Please try this Beta version of the UDF (which is RTL sensitive) and see if it works for you as well as it does for me: GUIExtender_Mod.au3 M23 now its work. thanks Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 28, 2016 Author Moderators Share Posted August 28, 2016 [New version] - 28 Aug 16 Added: The UDF is now RTL sensitive. Thanks to shai for the request. New UDF and examples in first post. 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...
kara2004 Posted February 27, 2017 Share Posted February 27, 2017 Hi Melba23, thank you for this execllent udf, which makes modifying gui easier. First use of it is a little bit complex (which somtimes leads to very funny windows ) - due to that I had a look at your code and I decided to make a few changes which made (IMHO) using your UDF a little bit easier. The main changes are: automatically setting an end-tag by _GUIExtender_Section_Start if it's not found for the previous section calculating next start point automatically (using -1 as value for $iSection_Coord in _GUIExtender_Section_Start, points to 0 if used in the first section) calculating the remaining size for the last section (using -1 als value for $iSection_Size in _GUIExtender_Section_Start) adding 3 Functions (a function for flipping a section's state and 2 functions only needed for debugging, but they may be useful) For example: ; ============================================================== ; your UDF ; ============================================================== $frmMain = GUICreate($title, 371, 278, 197, 129) ... _GUIExtender_Init($frmMain, 0, 0) ... _GUIExtender_Section_Start($frmMain, 134, 32) ... _GUIExtender_Section_End($frmMain) _GUIExtender_Section_Start($frmMain, 166, 88) ... _GUIExtender_Section_End($frmMain) _GUIExtender_Section_Start($frmMain, 254, 24) ... _GUIExtender_Section_End($frmMain) ; ============================================================== ; my UDF ; ============================================================== $frmMain = GUICreate($title, 371, 278, 197, 129) ... _GUIExtender_Init($frmMain, 0, 0) ... _GUIExtender_Section_Start($frmMain, 134, 32) ... _GUIExtender_Section_Start($frmMain, -1, 88) ; <-- end of previous section will be set automatically - next start ; coord will be calculated by the UDF-Function (134+32=166) ... _GUIExtender_Section_Start($frmMain, -1, -1) ; <-- end of previous section will be set automatically - next start ; coord and remainig size wil be calculated by the UDF-Function ; (166+88=254 / 278-254=24) ... _GUIExtender_Section_End($frmMain) ; <-- still needed I tested my modified UDF with the scripts I made and your examples an I found no errors - but they may exist, because I'm sure to forgot and overlook something in your code. You will find the changes well commented (hope so) attached to this post and I hope they are useful for others. Greetings kara2004 _GUIExtender_mod20170225.au3 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 6, 2017 Author Moderators Share Posted March 6, 2017 kara2004, Nice idea - I will look at how I might incorporate 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...
Moderators Melba23 Posted March 9, 2017 Author Moderators Share Posted March 9, 2017 kara2004, I have incorporated your suggestions into a new version of the UDF which can be found here. 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...
Recommended Posts