🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14743

Re: Input language of the foreground window ?!!

#14743
From: DRE
Date: Mon, 04 Aug 2003 12:58
28 lines
1831 bytes
Thanks a lot Remy it worked fine
but I have another problem which may seem a bit odd.
when I switch the input language to Arabic lang. the space character is not
sensed by the application I working in (which captures the keystrokes of the
user)
do u have any idea about that ?!!

thanks in advance



"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f2e168f$1@newsgroups.borland.com...
>
> "DRE" <dre00x@yahoo.com> wrote in message
> news:3f2e0f85@newsgroups.borland.com...
>
> > I used GetForegroundWindow() to get the foreground
> > then I don't know what parameter should I send to the
> > GetKeyboardLayout() function to get the foregound's
> > input language not my application's input language
>
> Look at GetWindowThreadProcessId()
>
>
> Gambit
>
>
Technical Details
Message-ID: <3f2e56fd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f2e0f85@newsgroups.borland.com> <3f2e168f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d1dc5ece26c5940
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-04 06:05:43 PST
From: "DRE" <dre00x@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f2e0f85@newsgroups.borland.com> <3f2e168f$1@newsgroups.borland.com>
Subject: Re: Input language of the foreground window ?!!
Date: Mon, 4 Aug 2003 15:58:02 +0300
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 62.135.27.143
Message-ID: <3f2e56fd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060001533 62.135.27.143 (4 Aug 2003 05:52:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail