Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13106

GetScrollPos not returns the current position in the process of moving ScrollBars in edit control.

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Trying to find the cause of the regression CORE-11561, I found that GetScrollPos returns the position in time of the beginning of the movement of the scroll bar, instead of the current position. Windows always returns the current position of the scroll bar. ROS updates it only when you release the mouse button.
      If you look closely at ROS for a scroll bar in the process of moving, we can see that at some point the position of the scroll is drawn in the right place. I think it draws the future place of the scroll bar (where it should be). But due to the fact that GetScrollPos returns an incorrect result, the subsequent drawing occurs in the place where was the beginning of the movement of the scroll bar.
      I attach test program for this case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                amber amber
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: