[Bug 37515] New: Setting DateTime control display format via DTM_SETFORMATA works, but DTM_SETFORMATW does not work.
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Nov 6 06:02:35 CST 2014
https://bugs.winehq.org/show_bug.cgi?id=37515
Bug ID: 37515
Summary: Setting DateTime control display format via
DTM_SETFORMATA works, but DTM_SETFORMATW does not
work.
Product: Wine
Version: 1.7.30
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: comctl32
Assignee: wine-bugs at winehq.org
Reporter: wnalfl3737 at gmail.com
Distribution: ---
If a native Windows DateTime (common) control is sent a DTM_SETFORMATW message,
it displays the following (wp is always NULL, and lp is LPWSTR) :
err:datetime:DATETIME_WindowProc unknown msg 1050 wp=00000000 lp=00406264
Both DTM_SETFORMATW (0x1050) and DTM_SETFORMATA (0x1005) are a variant of the
message DTM_SETFORMAT, which in turn is used by the macro "DateTime_SetFormat".
The only difference between the two messages is that DTM_SETFORMATW takes
lParam (the date format, MM/dd/yyyy for example) as an Unicode string, while
DTM_SETFORMATA takes lParam as an ASCII/native code page string.
(P.S. through I read that posting logs here instead of sth like pastebin is not
recommended, i posted it since it is only one line long :P)
--
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