Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages
Started by ����
Fri, 10 Nov 2006 17:42
Change Language
Author: ����
Date: Fri, 10 Nov 2006 17:42
Date: Fri, 10 Nov 2006 17:42
11 lines
1195 bytes
1195 bytes
Hi I asked before but I still dont know my answer Hope this question will solved by help you, anyway, I have two languages install (FA and EN) I know how to know which one is selected but I also need to change it, for example, one time in one of my edits I need to write english but in another edit I have to write in Farsi (Persian). So my software have to switch, because if not, the user will get crazy :-)) Thanks for helps.
Re: Change Language
Author: Hans Galema
Date: Fri, 10 Nov 2006 21:02
Date: Fri, 10 Nov 2006 21:02
9 lines
1220 bytes
1220 bytes
���� wrote: > I asked before but I still dont know my answer You got an extensive answer from Vladimir Stefanovic. Why didn't you react on that? Hans.
Re: Change Language
Author: ����
Date: Fri, 10 Nov 2006 21:31
Date: Fri, 10 Nov 2006 21:31
11 lines
1121 bytes
1121 bytes
Hi I read and tried, �Thanks to all Is there any more guide about how to use LoadKeyboardLayout()?? > I asked before but I still dont know my answer > You got an extensive answer from Vladimir Stefanovic. > Why didn't you react on that? > > Hans.
Re: Change Language
Author: Hans Galema
Date: Fri, 10 Nov 2006 21:55
Date: Fri, 10 Nov 2006 21:55
14 lines
1287 bytes
1287 bytes
���� wrote: > I read and tried, And ... did it work like Vladimir said? Why don't you report? > Is there any more guide about how to use LoadKeyboardLayout()?? The help says it all. (Press F1 while cursor in functionname). What is unclear? Hans.
Re: Change Language
Author: ????
Date: Fri, 10 Nov 2006 22:02
Date: Fri, 10 Nov 2006 22:02
14 lines
1282 bytes
1282 bytes
Hi
My problem os completely solved
thanks for everyone
To others may need :
Default Language : ShowMessage(GetUserDefaultLangID());
Current Language :
char KLID[KL_NAMELENGTH+1] = {0};
GetKeyboardLayoutName( KLID );
ShowMessage( KLID );
Set To English : LoadKeyboardLayout("00000409",
KLF_ACTIVATE);
Set To Persian : LoadKeyboardLayout("00000401",
KLF_ACTIVATE);
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads