[Bug 19380] New: SysDateTimePick32 - wDayOfWeek not generated automatically after DTM_SETSYSTEMTIME

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 19 19:04:47 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19380

           Summary: SysDateTimePick32 - wDayOfWeek not generated
                    automatically after DTM_SETSYSTEMTIME
           Product: Wine
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: comctl32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: martinez.pr0team at gmail.com


Format of the date in SysDateTimePick32 set with:
SendMessage(hDate,DTM_SETFORMAT,0,(LPARAM)"dddd' 'd' 'MMMM' 'yyy");

To change actual time of the control, DTM_SETFORMAT message must be sent with 
wYear, wMonth and wDay fields of the SYSTEMTIME structure set.

Microsoft Windows automatically calculates proper day of week, ignoring the
wDayOfWeek field.
Wine does not, and the day of week displayed in control might be wrong (always
Sunday if not set).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list