Regionals Parameters Windows

R

rodrigues

Hello'

I would like to set up the number separator to ','.
This is quite easy with MFC fonction SetLocaleInfo().

/********
CString ls_DateFormat;
long ll_LocaleID;
ll_LocaleID =GetUserDefaultLCID();
SetLocaleInfo(ll_LocaleID , LOCALE_SDECIMAL, "," );
******************/

But I also would like this parameters are only visible from my
application.

In fact, I would like users will use "," for my application and "."
for excel for example.


Is there anyone knows a fonction that do this inside application ???


Thanks in advance for any support,

Rodrigues Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top