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?
I am working on VC++ and developing a tool for Weather monitoring system.
Here I am facing problem in displaying different views for same dateset from the document class, where all the calculations are take place.
Here I am using SDI Multiple views architecture.All (Two) views are controlled by the menu and they are switching fine.
At this moment only one view is connected to the document and displaying the date.Second view is not updating the data implicitly.
Please suggest me an idea to update the data to both views concurrently.