Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: [Win32] How draw a rectangle on the desktop Pin
Member 29654714-Jun-11 11:51
Member 29654714-Jun-11 11:51 
GeneralRe: [Win32] How draw a rectangle on the desktop Pin
Mark Salsbery4-Jun-11 11:56
Mark Salsbery4-Jun-11 11:56 
AnswerRe: [Win32] How draw a rectangle on the desktop Pin
bob169725-Jun-11 4:40
bob169725-Jun-11 4:40 
QuestionEncryption/Decryption on html file? Pin
Le@rner3-Jun-11 20:04
Le@rner3-Jun-11 20:04 
AnswerRe: Encryption/Decryption on html file? Pin
Mark Salsbery3-Jun-11 20:27
Mark Salsbery3-Jun-11 20:27 
GeneralRe: Encryption/Decryption on html file? Pin
Le@rner3-Jun-11 21:39
Le@rner3-Jun-11 21:39 
AnswerRe: Encryption/Decryption on html file? Pin
Philippe Mori4-Jun-11 16:47
Philippe Mori4-Jun-11 16:47 
AnswerRe: Encryption/Decryption on html file? Pin
Philippe Mori4-Jun-11 16:53
Philippe Mori4-Jun-11 16:53 
QuestionHelp with Side-by-Side error Pin
turbosupramk33-Jun-11 9:44
turbosupramk33-Jun-11 9:44 
GeneralRe: Help with Side-by-Side error Pin
David Crow3-Jun-11 10:44
David Crow3-Jun-11 10:44 
GeneralRe: Help with Side-by-Side error Pin
turbosupramk33-Jun-11 18:17
turbosupramk33-Jun-11 18:17 
AnswerRe: Help with Side-by-Side error Pin
Chuck O'Toole3-Jun-11 13:48
Chuck O'Toole3-Jun-11 13:48 
GeneralRe: Help with Side-by-Side error Pin
turbosupramk33-Jun-11 18:16
turbosupramk33-Jun-11 18:16 
GeneralRe: Help with Side-by-Side error Pin
turbosupramk36-Jun-11 4:46
turbosupramk36-Jun-11 4:46 
GeneralRe: Help with Side-by-Side error Pin
Chuck O'Toole6-Jun-11 6:39
Chuck O'Toole6-Jun-11 6:39 
AnswerRe: Help with Side-by-Side error Pin
turbosupramk36-Jun-11 6:21
turbosupramk36-Jun-11 6:21 
QuestionHow to get the locale? [SOLVED] Pin
Super Lloyd2-Jun-11 5:57
Super Lloyd2-Jun-11 5:57 
I'm experimenting with D and I'm trying to make a resource manager much like the C# one.

Now I'm hitting a problem...

How do I know the current user locale? i.e. "en-Au" / "en" ?
I found this function: GetUserDefaultLocaleName

but apparently it's only post vista... what if my program run on XP? what should I do? (I'm trying to write an installer, so I'd like to cater, at least from XP tp 7!)

I found this one too: GetUserDefaultLCID() but what am I to do with a LCID?
Is there a referenc etable I can use?

[EDIT]I just found a big table with the exhaustive list of locale...
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
modified on Thursday, June 2, 2011 12:29 PM

AnswerRe: How to get the locale? [SOLVED] Pin
David Crow2-Jun-11 7:45
David Crow2-Jun-11 7:45 
AnswerRe: How to get the locale? [SOLVED] Pin
Super Lloyd2-Jun-11 16:59
Super Lloyd2-Jun-11 16:59 
GeneralRe: How to get the locale? [SOLVED] Pin
David Crow3-Jun-11 3:09
David Crow3-Jun-11 3:09 
QuestionTrouble with C macro '#' Pin
Cold_Fearing_Bird2-Jun-11 5:45
Cold_Fearing_Bird2-Jun-11 5:45 
AnswerRe: Trouble with C macro '#' Pin
Geoff Williams2-Jun-11 6:33
Geoff Williams2-Jun-11 6:33 
AnswerRe: Trouble with C macro '#' Pin
MicroVirus2-Jun-11 7:45
MicroVirus2-Jun-11 7:45 
GeneralRe: Trouble with C macro '#' Pin
Cold_Fearing_Bird2-Jun-11 16:20
Cold_Fearing_Bird2-Jun-11 16:20 
GeneralRe: Trouble with C macro '#' Pin
Cold_Fearing_Bird2-Jun-11 17:07
Cold_Fearing_Bird2-Jun-11 17:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.