http://bugs.winehq.org/show_bug.cgi?id=2699
------- Additional Comments From jberkes@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.