Multiline edit word wrap bug in XP-themed apps?
-
Am I the only one who's noticed this? Has it only happened to me? It seems that, if you have a multiline edit in an XP-themed app (i.e., an app using ComCtl32 v.6), the word wrap does not take into account accented characters and breaks on them. So, for example, if I write "error de aplicación" in Spanish and the edit happens to want to break around the end of the last word, it might break immediately after the "ó". I would be interested to see if anyone's seen this because I've fixed it by writing a callback to handle word wrap, modified from some ancient code from a Microsoft example. This has, in turn, highlighted another bug, this time in the definition of the first parameter received by EditWordBreakProc. It might be worth turning this into an article, but am I the only one seeing this problem?