Click here to Skip to main content
12,405,303 members (66,409 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VC6 C++
How to display greek Strings in Buttons as a caption?
Posted 11-Apr-11 1: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 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!
SAKryukov 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 12 Apr 2011
Copyright © CodeProject, 1999-2016
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