richedit: Tests for visibility behavior of richedit scrollbars, with todo_wine.
commit86e9e0720c64b5d7d23f5105f283349d7215e32e
authorAlex Villacís Lasso <a_villacis@palosanto.com>
Sun, 20 Jul 2008 02:42:57 +0000 (19 21:42 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Jul 2008 11:04:30 +0000 (23 13:04 +0200)
treee119f2c7efcb87b847a5d34e5def0476ca1ed979
parentdb726e416547727a6f35e956f8ba11a30e6cd7ca
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