🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Windows Language dectection

#3149
From: Mike Collins
Date: Tue, 22 Aug 2006 12:03
22 lines
1896 bytes
Hi guys just a real quick one -

I have a function that needs to locate a specific window that is created by 
the system.  Currently i'm using EnumDesktopWindows and looking for a 
specific ClassID and Caption.  The class id is #32770 - which is the same 
for all dialogs so i can't use this for uniqueness hence the fact that i'm 
having to examine the Caption.  One of our beta testers in sweden has 
reported a bug which is actually being caused because i'm only looking for 
the English caption.

So basically, what is the easiest way to determine which language is 
begining used by Windows.

Secondly what is the quickest was to determine what Microsoft uses for this 
particular dialogs caption, without having to switch between every since 
langiage.  Is there a cental language file that can be examine?

Any pointers would be most helpful - i've already impli,mented our own 
langugae idimendance within the applicaiton - i just need to consider this 
bug now.

Many thanks 
Technical Details
Message-ID: <44eaf27f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,50732d84fb8b07f6,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Windows Language dectection
Date: Tue, 22 Aug 2006 13:03:08 +0100
Lines: 24
Organization: SDA Ltd
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.2663
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
NNTP-Posting-Host: 81.2.92.14
Message-ID: <44eaf27f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156248191 81.2.92.14 (22 Aug 2006 05:03:11 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail