http://bugs.winehq.org/show_bug.cgi?id=6661
--- Comment #11 from Adys adys.wh+winehqdotorg@gmail.com 2009-01-18 22:12:22 --- (In reply to comment #10)
Created an attachment (id=18778)
--> (http://bugs.winehq.org/attachment.cgi?id=18778) [details]
Test case for scroll position after EULA initially shown.
I noticed another bug while working on the reported issue. After the EULA is shown, the scroll position is almost right at the bottom rather than with native richedit controls where the scroll position is at the top.
The attached patch is a test case that I created for the issue. It seems as if EM_SETTEXTEX with ST_SELECTION will move the scroll position to the top of the set text when the control is has a parent, and moves the cursor to the end of the text if the control is a child window, with native richedit controls. This behaviour doesn't make any sense to me, but that is the behaviour that I observed.
TryWoW.exe EULA works fine now. Thanks!