I would like to use unicode characters in CEdit and CRichtEditCtrl.
I'm using VS 2003 and I created a new MFC project and added the
following to the 2 automatically created header files:
What's working now:
It displays a chinese character, but the window title is just a square.
I can c&p unicode characters in tho a CRichtEditCtrl. They are displayed
But I'm not able to extract the text into a variable.
I can only export into a file:
es.dwCookie = (DWORD) &cFile;
es.pfnCallback = MyStreamOutCallback;
When I try to set SF_RTF->SF_TEXT I get a txt-file with a lot of "?".
2. CEdit is not working at all. Pasting unicode into it, I get only "?".
I did not find a Class like CEditW.
Thank you for tips, Bernd
BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.yqcomputer.com/ , eMail: XXXX@XXXXX.COM