Re: Date/Time dialog, country settings
If you simply want to open the Regional and Language Options dialog to popup
then simply change the ShellExcute to open intl.cpl
ShellExecute(NULL,_T("open"),_T("rundll32.exe"),_T("shell32.dll
Control_RunDLL intl.cpl"),NULL,SW_SHOW);
I'm not really sure how to enumerate the list of languages, but there are
functions for enumerating language groups and locales:
http://msdn.microsoft.com/en-us/library/dd319081(VS.85).aspx
AliR.
"Frank" <jerk@gmx.de> wrote in message
news:b87b087e-2dd1-493b-b7b1-0a863ba0041b@g1g2000yqh.googlegroups.com...
AliR [VC++ MVP] wrote:
I take it that you don't care about what the user does in that dialog.
Right?
Right. The user just wants to set the correct date/time (zone)
on a shrink-wrapped system.
ShellExecute(NULL,_T("open"),_T("rundll32.exe"),_T("shell32.dll
Control_RunDLL timedate.cpl"),NULL,SW_SHOW);
Many thanks... works like a breeze!
Is there a similar method to access the country settings?
Or, at least get access to the list of possible
settings so I could put them in my own setup
dialog?