[Bug 2699] richedit unusable when ES_DISABLENOSCROLL aka ES_NUMBER style used

Wine Bugs wine-bugs at winehq.org
Mon Feb 7 18:54:58 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2699





------- Additional Comments From jberkes at pc-tools.net  2005-07-02 18:54 -------
That's interesting, same behaviour under 20050111. That is, the richedit with
style ES_DISABLENOSCROLL only accepts numbers, so it is not completely disabled.

I think there has been an error in interpreting the win32 API! The style
ES_DISABLENOSCROLL as per MSDN "Disables scroll bars instead of hiding them when
they are not needed." And that's what I observe on an MS Windows system.

The #define value for ES_DISABLENOSCROLL is the same value for ES_NUMBER, which
is confusing. However the observed behaviour on MS Windows systems is that a
richedit control with this style shows a disabled scroll bar rather than hiding
it. It does not, as Wine has interpreted, only accept numerical input!

So from what I can see, Wine's richedit currently misinterprets ES_NUMBER as
meaning the control should only accept numbers, whereas on MS Windows systems
this style (== ES_DISABLENOSCROLL) means to show a disabled scrollbar, without
caring about only-numerical input.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list