On Fri, Sep 21, 2018 at 02:39:12PM +0300, Gabriel Ivăncescu wrote:
On Fri, Sep 21, 2018 at 2:32 PM, Huw Davies huw@codeweavers.com wrote:
How many exceptions (to iscntrlW()) do you actually need?
Huw.
Well Backspace for sure, maybe Tab (if it's inserted in an edit control, don't know if that's possible), same doubt about newlines ('\n' and '\r') or "vertical tab" (are those valid in certain edit controls?).
I mean if anything '\b' has to be an exception, at the very least. The rest can be ignored I guess, if you want to simplify this to just one check for '\b' instead. Should I just check for backspace?
Doesn't sound like it would be too hard to test (just send some WM_CHARs to the edit).
Huw.