[PATCH] comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar.

Austin Lund austin.lund at gmail.com
Thu Aug 19 01:46:13 CDT 2010

On 19 August 2010 16:34, Nikolay Sivov <bunglehead at gmail.com> wrote:
> On Thu, Aug 19, 2010 at 9:50 AM, Austin Lund <austin.lund at gmail.com> wrote:
>> http://www.microsoft.com/middleeast/msdn/ArabicCalendar.aspx
> Hi, Austin.
> This information is outdated probably. There's a message to set a
> calendar for MonthCal at least, see:
> http://msdn.microsoft.com/en-us/library/bb760995%28VS.85%29.aspx
> Not sure about DateTimePicker, it uses Monthcal internally so a
> calendar could still be switched.
> Anyway this won't work on pre-Vista and without a manifest for v6, but
> you could enable tests using V6 loading
> helpers that we have already and MCM_SETCALID message, so tests will
> run on Arabic or some Asian boxes.

I don't understand what you are suggesting exactly.  Is it that the
CALID of the MonthCal be set to the locale CALID or to set it to the
Gregorian CALID? Either way I don't see how it helps as the problem is
with the control of functions like GetDateFormat to choose a CALID
which matches the one which the controls falls back on when the locale
has a non-Gregorian calendar (something I haven't figured out).

More information about the wine-devel mailing list