Module: wine Branch: master Commit: 86e9e0720c64b5d7d23f5105f283349d7215e32e URL: http://source.winehq.org/git/wine.git/?a=commit;h=86e9e0720c64b5d7d23f5105f2...
Author: Alex Villacís Lasso a_villacis@palosanto.com Date: Sat Jul 19 21:42:57 2008 -0500
richedit: Tests for visibility behavior of richedit scrollbars, with todo_wine.
Some applications have never heard of ES_DISABLENOSCROLL and attempt to force scrollbars to be always shown (with ShowScrollBar() or similar) when otherwise richedit would hide them. If richedit attempts to wrestle control back, a recursive loop of requests can result if app overrides WM_SIZE behavior. Apparently native never reads the scrollbar state, and operates from some sort of internal state, so that scrollbars can be modified externally without native trying to wrestle back control. This is confirmed by attached tests. An exception: EM_SCROLL will restore visibility to a scrollbar that was forcibly hidden.
---
dlls/riched20/tests/editor.c | 471 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 471 insertions(+), 0 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=86e9e0720c64b5d7d23f51...