![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I would greatly appreciate any help with the following problem. I am using Windows 2000 Pro and want to display Arabic text in an MDI window. I have set all the regional options to be Arabic(Saudi Arabia) including my default system locale. I can enter Arabic text in an edit box on a property sheet, hit apply and the correct Arabic text is set as the title of the MDI window (so the Microsoft Controls are working as expected). I then enter Arabic Text in an edit box on a property sheet, hit apply and the correct Arabic text is not displayed in the window. The text displayed appears to be extended Latin1 characters (as if for an ENGLISH (United States) locale). The code that tries to perform the writing is:- pDC->DrawText(csNodeName,-1,rectText,DT_WORDBREAK || DT_CENTER); I added code to get the thread locale just before making this call and it shows the thread locale to be ARABIC (Saudi Arabia). Any Suggestions\Ideas? Thank you in advance for any help John Nugent |
#3
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |