richedit: do not hide or show vertical scrollbar if app hides or shows it behind our back
Alex Villacís Lasso
a_villacis at palosanto.com
Tue May 13 12:14:18 CDT 2008
For more details, and list to patches to apply before this one, see bug
Some applications (such as the one on bug #12311 <http://bugs.winehq.org/show_bug.cgi?id=12311>) 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. So let the app have its way. Richedit
should reclaim control when forced visibility matches default automatic
* Do not hide or show vertical scrollbar if app hides or shows it behind
* Tests for this behavior.
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080513/800e1447/attachment-0001.bin
More information about the wine-patches