🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Change locale settings.

#814
From: Bob Gonder
Date: Fri, 30 Nov 2007 00:38
14 lines
1426 bytes
rogo wrote:

>Can anybody tell me why the below wont set a euro pc that using a comma for 
>decimal places change to a dot..
>
>SetLocaleInfo(LOCALE_SYSTEM_DEFAULT,LOCALE_SDECIMAL,".");

Did you check the return value?

>i did read that i should post a WM_SETTINGSCHANGE message but cant find a 
>declaration anywhere.?

See answer here...
http://blogs.msdn.com/michkap/archive/2006/05/21/603374.aspx
Technical Details
Message-ID: <e6muk3hrea2645655kttdhk136q7klkacb@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <474f4d15$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ba27b370fdf528b1
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Change locale settings.
Date: Thu, 29 Nov 2007 16:38:49 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <e6muk3hrea2645655kttdhk136q7klkacb@4ax.com>
References: <474f4d15$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.82.223
X-Trace: newsgroups.borland.com 1196383127 69.69.82.223 (29 Nov 2007 16:38:47 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail