Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6
How to display greek Strings in Buttons as a caption?
Posted 11-Apr-11 2:28am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Is that your application support Unicode? If so only thing you've to do is set the correct UNICODE text.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
SAKryukov at 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 at 11-Apr-11 19:04pm
   
:)
Who knows? He may learn something anyway!
SAKryukov at 11-Apr-11 22:29pm
   
Oh yes, certainly. That's why I voted. The shock could stimulate some attention :-)
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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[^]
  Permalink  
Comments
Dalek Dave at 12-Apr-11 3:43am
   
Good Call
CodingLover at 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)

  Print Answers RSS
0 DamithSL 265
1 CPallini 235
2 OriginalGriff 233
3 Maciej Los 175
4 George Jonsson 170
0 OriginalGriff 5,305
1 DamithSL 4,382
2 Maciej Los 3,760
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,901


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 12 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100