Mikołaj Zalewski wrote:
Nikolay Sivov pisze:
Hi.
Working on monthcal control I've realized that some locales could have 13 months calendars. How could I guess that I'm running such locale? After a brief look I didn't find anything useful in GetLocaleInfo().
AFAIK the GetCalendarInfo() and EnumCalendarInfo() are for that. However, I have a faint recollection of a post on some blog that the monthcal control is not good for internationalization as it doesn't support non-Gregorian calendars. Thus, it may be worth checking if this is needed before using it.
Mikołaj
If it does support Gregorian only there's nothing to worry about. Actually I don't know how to test this, if we're talking about some Asian locales like Chinese or Japanese are you experienced with that?
A best way will be to test under Linux with native comctl32 but I'm not sure builtin kernel32 (and maybe something else) is capable to support such locale features.