Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows messages Pin
khan++7-Aug-05 21:35
khan++7-Aug-05 21:35 
GeneralRe: Windows messages Pin
Ali Tavakol8-Aug-05 19:10
Ali Tavakol8-Aug-05 19:10 
GeneralRe: Windows messages Pin
John R. Shaw8-Aug-05 21:05
John R. Shaw8-Aug-05 21:05 
GeneralArabic text for Windows control classes Pin
Ali Tavakol7-Aug-05 20:41
Ali Tavakol7-Aug-05 20:41 
GeneralRe: Arabic text for Windows control classes Pin
ThatsAlok7-Aug-05 20:59
ThatsAlok7-Aug-05 20:59 
GeneralRe: Arabic text for Windows control classes Pin
John R. Shaw8-Aug-05 21:40
John R. Shaw8-Aug-05 21:40 
GeneralRe: Arabic text for Windows control classes Pin
Ali Tavakol10-Aug-05 23:09
Ali Tavakol10-Aug-05 23:09 
GeneralRe: Arabic text for Windows control classes Pin
John R. Shaw13-Aug-05 18:02
John R. Shaw13-Aug-05 18:02 
Well, first I would have to write the code and second it probably would not help you.

Apparently you have realized that if you are using Unicode it will eliminate most of your internationalization problems.

First: You need to make sure that Farsi is one of your region settings for the computer you are running the program on (control panel->Region and Language Options).

Second: If you want to be able to display both languages, then you need to specify the locale (language) in your program or at least be able to determine what locale the user has specified and select a font accordingly.

Yes, I know it sounds complicated and it is. But there is an upside to this, if you just want to support (2 laguanges) Farsi and (ASCII) English, then you can just make sure that all your text drawing uses a Farsi font. The reason this should work, is that all character pages (as far as I know) have the ASCII (English) character set built in.

P.S. This is all (experenced) guess work here, as I have not written any code that specificaly targeted the Farsi language. I know there is an article here some where witten by a guy, who is a university student in Iraq, that may have a better understanding of what your problems are. Try to find him, as I am out of ideas (at the moment).

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralOpening a File/URL with default browser Pin
retro_coder7-Aug-05 20:31
retro_coder7-Aug-05 20:31 
GeneralRe: Opening a File/URL with default browser Pin
khan++7-Aug-05 20:51
khan++7-Aug-05 20:51 
GeneralRe: Opening a File/URL with default browser Pin
ThatsAlok7-Aug-05 20:54
ThatsAlok7-Aug-05 20:54 
GeneralRe: Opening a File/URL with default browser Pin
retro_coder7-Aug-05 21:10
retro_coder7-Aug-05 21:10 
GeneralRe: Opening a File/URL with default browser Pin
ThatsAlok7-Aug-05 20:53
ThatsAlok7-Aug-05 20:53 
Generalhelp me ..how to convert MFC application in activeX dll Pin
rajesh_kapure7-Aug-05 20:00
rajesh_kapure7-Aug-05 20:00 
GeneralRe: help me ..how to convert MFC application in activeX dll Pin
ThatsAlok7-Aug-05 20:31
ThatsAlok7-Aug-05 20:31 
QuestionWorking on POST method with BHO? Pin
nmhuy7-Aug-05 17:39
nmhuy7-Aug-05 17:39 
AnswerRe: Working on POST method with BHO? Pin
vishalmore7-Aug-05 21:12
vishalmore7-Aug-05 21:12 
AnswerRe: Working on POST method with BHO? Pin
Marc Soleda7-Aug-05 22:32
Marc Soleda7-Aug-05 22:32 
GeneralRe: Working on POST method with BHO? Pin
nmhuy9-Aug-05 8:36
nmhuy9-Aug-05 8:36 
GeneralRe: Working on POST method with BHO? Pin
Marc Soleda9-Aug-05 19:35
Marc Soleda9-Aug-05 19:35 
GeneralRe: Working on POST method with BHO? Pin
Marc Soleda9-Aug-05 19:38
Marc Soleda9-Aug-05 19:38 
GeneralSimple block/allow ip addresses Pin
Weiye Chen7-Aug-05 17:19
Weiye Chen7-Aug-05 17:19 
GeneralRe: Simple block/allow ip addresses Pin
khan++7-Aug-05 18:38
khan++7-Aug-05 18:38 
GeneralRe: Simple block/allow ip addresses Pin
Weiye Chen7-Aug-05 23:37
Weiye Chen7-Aug-05 23:37 
GeneralRe: Simple block/allow ip addresses Pin
ThatsAlok7-Aug-05 19:26
ThatsAlok7-Aug-05 19:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.