Well, I've found this is a known issue that will NOT be fixed. So, I changed
my code to use EM_SETTEXTEX. Personally, having to work around an issue is
NOT A FIX -- one of those things that makes me happy to be moving to Linux
coding for a while. Not that I'm in love with X or Qt (quite the contrary),
but, at least, I'll be able to patch the source myself if it comes to that.

Oh well, back to the grind. 1.5 days left and counting...

Ciao,
Dee

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dee Holtsclaw
Sent: Monday, April 05, 2004 11:32 AM
To: MSVC List (E-mail)
Subject: [msvc] Weirdness with WM_SETTEXT, RichEdit and MSLU


I've got a superclassed edit control which, in this case, happens to wrap a
RichEdit control. Everything is fine in W2K but, when run under 95, I call
SetWindowText() with "10200" and the edit control displays "__0" where the
underscores are two square boxes indicating unknown characters. The text
being passed to SetWindowText() is Unicode so it appears that Unicows is
converting it to ANSI before passing it to the Unicode enabled RichEdit.
Funny thing is GetWindowText() works fine.

Any suggestions?

Ciao,
Dee


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.



Reply via email to