I'm trying to figure out this Unicode thing and it isn't working. I can get Unicode text to display in a CRichEdit control but nothing else. This is what I am using in other controls and it just gives me garbage:
I know that with a Rich Edit control I have to be using version 2.0 and I have to use some special messages to set the text. Is this the same way? If so what messages do I use?
P.S. Yes I have it set up with UNICODE and _UNICODE and I don't have _MBCS defined and I am using LPCTSTR and TCHAR and _T() etc.
I figured that was the case. The trouble is it isn't working. It doesn't even work if I explicitly call the wide versions. Here is the whole project all zipped up. I'm (trying) to use Microsoft Layer For Unicode so the project is only likely to compile if you have updated your Platform SDK. The DLL for the layer in the sdk (unicows.dll) has to go in the same dirrectory as the EXE for the program to run. Thanx for helping.
Last edited by Crenshaw; February 24th, 2005 at 05:07 PM.
Are you setting/do you have, an appropiate font in the controls? A font capable of displaying the unicode text you want to display?
meaning??? I'm confused. Let me explain. This is the testing grounds. Once I know what I am doing I will need to be able to display unicode text from any language in nearly any control because I will be converting a rather large program to make it unicode compatable. Users will need to be able to support text from basicaly any language. How, if I need to, do I set up a font to do that?
OK. I added the resources. Sorry. As far as the font goes, I'll try switching it to Arial and see what it does. Is there a special way to do this to make it support Unicode? I'll go for it and see what happens.
I'm not %100 positive that I didn't have some open lines of code when I sent that off either. If the errors are on lines that are obviously incomplete just delete the lines.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.