Article View: borland.public.cppbuilder.nativeapi
Article #14727Re: Input language of the foreground window ?!!
From: Remy Lebeau (TeamB)
Date: Mon, 04 Aug 2003 08:23
Date: Mon, 04 Aug 2003 08:23
13 lines
1355 bytes
1355 bytes
"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:
<3f2e168f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.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-mailReferences:
<3f2e0f85@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 01:19:08 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f2e0f85@newsgroups.borland.com> Subject: Re: Input language of the foreground window ?!! Date: Mon, 4 Aug 2003 01:23:29 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f2e168f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059985039 207.175.226.26 (4 Aug 2003 01:17:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.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