Opened 10 years ago

Closed 9 years ago

#2902 closed Bug (Wont Fix)

Incorrect GUI Scrolling when GUI is resizeable

Reported by: ILLBeBack Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: GUIScrollbars Cc:


While playing with the example in the help file for the UDF on “GUI Scroll Bars”, I’ve encountered 2 issues as follow:

  1. When the GUI is resizable (not done in the help file examples), resizing the GUI, after scrolling horizontally or vertically, causes all objects in the GUI to reposition within the GUI.

  1. The vertical Scroll Bar thumb size, and the maximum movement are incorrect.

Attached is a script that describes each step to reproduce the issues. Use the buttons “Show Issue 1” and "Show Issue 2” to display the steps to follow for each issue. Just perform those steps in the order given. The script is based upon the help file example for UDF function _GUIScrollBars_Init, with modifications to the GUI section, but no modifications to functions WM_SIZE, WM_HSCROLL or WM_VSCROLL.

Same results in AutoIt v3.3.12.0 and beta.

LarsJ provided a fix that appears to work correctly. You can find his code and description on the issues at:

While I select “Documentation” for the “Component”, I believe the UDF function _GUIScrollBars_Init needs to be modified, based upon the code that LarsJ provided, so that specifying the maximum vertical scroll value is straight forward, just like the horizontal value. LarsJ’s fix requires calling _GUIScrollBars_Init twice, with some calculations between them.

Attachments (1)

Something_Wrong_Between_Docking_and_GUI_ScrollBars.au3 (9.7 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 9 years ago by guinness

  • Resolution set to Wont Fix
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.