Norm73 Posted February 17 Posted February 17 Hello Melba23, thank you for your reply. Please don’t worry about the timing — your health comes first. I really appreciate that you are even considering looking into the issue. I wish you all the best for your treatment and a smooth recovery. pixelsearch 1
Norm73 Posted February 21 Posted February 21 (edited) Hello Melba23, just a quick update: I was able to solve the issue myself, thanks to the hint in this post: https://www.autoitscript.com/forum/topic/198673-_guiscrollbars-question/#findComment-1425538 The solution works well, although it requires a small additional helper function in the base script. I tried integrating it directly into your UDF, but I couldn’t get it to work there. If you ever find a way to incorporate this cleanly into the UDF, I’d really appreciate it — it would certainly help others who might run into the same problem. Edited February 21 by Norm73
Moderators Melba23 Posted February 22 Author Moderators Posted February 22 Norm73, Love it - managed to solve the problem without having to do anything! I will certainly look into incorporating the solution into the UDF in the future. 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
Moderators Melba23 Posted February 23 Author Moderators Posted February 23 Norm73, Please try this Beta version: I am fairly confident that it will work, but please do try to break it! M23 GUIScrollbars_Ex_Mod_Max.au3 Norm73 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
Norm73 Posted February 24 Posted February 24 I tested the file, and it actually works flawlessly. It can definitely be used as it is. However, when comparing both approaches, I noticed that the variant with the helper function in the base script feels more refined overall. In that version, both the window content and the ScrollBox positions remain stable even when the window is resized. Additionally, you don’t need to scroll back to the desired position after changing the window size. One thing I noticed in the beta version is that the known effect reappears when the window is resized by dragging its edges with the mouse instead of using the [–] [ ] [x] buttons to maximize or minimize it.
Moderators Melba23 Posted Thursday at 08:05 PM Author Moderators Posted Thursday at 08:05 PM Norm73, Thanks for the testing - glad it seems to have partially resolved the [rob;lems you were having Try adding the _GUIScrollbars_ReSizer function to your script after generating the scrollbars - that is designed to get the scrollbars correctly adjusted when using resizable GUIs. However, you may still find that the scrollbars return to the top left position as it was too complicated (at least for this coder) to get them to be in exactly the same place for every possible case. M23 Norm73 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
Norm73 Posted Saturday at 07:45 AM Posted Saturday at 07:45 AM On 2/26/2026 at 9:05 PM, Melba23 said: Try adding the _GUIScrollbars_ReSizer function to your script after generating the scrollbars Yes, I added the _GUIScrollbars_ReSizer function as you suggested, and now everything works exactly as it should. Thank you very much for your help!
Moderators Melba23 Posted Saturday at 09:54 AM Author Moderators Posted Saturday at 09:54 AM Norm73, Great news! 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
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