Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to display greek Strings in Buttons as a caption?
Posted

Is that your application support Unicode? If so only thing you've to do is set the correct UNICODE text.
 
Share this answer
 
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 11-Apr-11 13:37pm    
Tell OP to build with Unicode support option; but no, you would provide a wealth of various instructions in related areas! OP will be shocked :-) My 5.
--SA
Hans Dietrich 11-Apr-11 19:04pm    
:)Who knows? He may learn something anyway!
Sergey Alexandrovich Kryukov 11-Apr-11 22:29pm    
Oh yes, certainly. That's why I voted. The shock could stimulate some attention :-)
--SA
Change you project settings to Unicode support.Use SetWindowText() function to set the text.
m_UniCodeButton.SetWindowText(_T("\x03B1\x03B2\x03B3"));
This will print Greek Small letters Alpha, Beeta, Gamma letters on Button.
Refer the following PDF for Unicode values of Greek letters
http://unicode.org/charts/PDF/U0370.pdf[^]
 
Share this answer
 
Comments
Dalek Dave 12-Apr-11 3:43am    
Good Call
CodingLover 12-Apr-11 6:11am    
unless the application is UNICODE compatible. OP still not respond on that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900