Regionals Parameters Windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rodrigues

    Regionals Parameters Windows

    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 =GetUserDefault LCID();
    SetLocaleInfo(l l_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
  • Attila Feher

    #2
    Re: Regionals Parameters Windows

    rodrigues wrote:[color=blue]
    > Hello'
    >
    > I would like to set up the number separator to ','.
    > This is quite easy with MFC fonction SetLocaleInfo() .[/color]





    --
    Attila aka WW


    Comment

    Working...