I have created a multilingual application. When I am changing the language, the old language characters are not remove,while new language character is being overwritten.
Well, I suppose this is the true spirit of a MULTIlingual application.
BTW We're really genii, and we might guess your problem and find the solution without even seeing a single line of your code. Unfortunately we cannot fully exploit our superpowers here, to not shock the mean people.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
How can i add text just with Mouse Cursor.Actually i m writing one case on MOUSEMOVE.So i want to display X and y Coordinates with Mouse Cursor.I m getting X and y Coordinates.But how to add with mouse cursor.
Use SendMessageW (i.e. the Unicode variant of SendMessage) to send WM_GETTEXT to the control (IF there is less than 64K characters in the rich-edit control)
draw that string in a DC using DrawText
Just make sure you use the Unicode variant of DrawText and that the font you're drawing the text with has glyphs for the characters you want to display.
I want to know how to store unicode string for later use
How much later? If it's just within the same run of the program, then a variable of type CStringW[^] would do the job nicely. To save Unicode to a file on-disk, the routines in this article[^] look useful?