Nikolay Sivov
b1b54ae39f
comctl32/datetime: Use user locale for format.
2010-03-15 14:18:06 +01:00
Nikolay Sivov
7d6412c82d
comctl32/datetime: Free internal data completely on control destruction.
2009-12-07 14:18:26 +01:00
Ilya Shpigor
fa92edfa48
comctl32: Implementation the WM_GETTEXT processing of datetime control.
2009-12-02 16:08:45 +01:00
Nikolay Sivov
a914372586
comctl32/datetime: Use SDK class name for inner button window.
2009-10-12 13:01:48 +02:00
Nikolay Sivov
f12f948849
comctl32/datetime: It isn't allowed to change DTS_SHOWNONE after creation.
2009-10-12 13:01:42 +02:00
Nikolay Sivov
a096ba4c5b
comctl32/datetime: Fix wrong assumption about DTN_DATETIMECHANGE flags, add DTN_CLOSEUP notifications.
2009-10-12 13:01:35 +02:00
Nikolay Sivov
8431bed5f6
comctl32/datetime: Get rid of duplicated helper.
2009-10-12 13:01:28 +02:00
Nikolay Sivov
4651624d35
comctl32/monthcal: Simplify parameter set of day of week calculation helper.
2009-10-12 13:00:30 +02:00
Nikolay Sivov
d083e7701b
comctl32/datetime: Draw field text horizontally centered.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
f27e37a22f
comctl32/datetime: Use locale data to compute field widths for day and month.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
c93a520783
comctl32/datetime: Fix selections painting - use text rectangle, not whole field.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
26ab381ffa
comctl32/datetime: Properly handle hit on separators and empty control area.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
b398d4434d
comctl32/datetime: Block WM_SETTEXT message.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
c8f35a136d
comctl32/monthcal: Fix the way a first day of week is handled.
2009-10-08 12:11:24 +02:00
Nikolay Sivov
7bd581e62c
comctl32/datetime: Use SDK defined class name instead of another local constant.
2009-10-02 11:50:11 +02:00
Nikolay Sivov
9557376138
comctl32/datetime: Always store a recalculated day of week instead of a value passed in (DTM_SETSYSTEMTIME).
2009-10-01 11:35:06 +02:00
Nikolay Sivov
ad40c15ccc
comctl32/datetime: If we already have a 4 digit year reset it on first char typed.
2009-09-30 14:31:58 +02:00
Nikolay Sivov
b0d3db5b29
comctl32/monthcal: Copy SYSTEMTIME with a simple assignment.
2009-09-28 12:41:30 +02:00
Gerald Pfeifer
d7876a2cd4
comctl32: Simplify DATETIME_Char.
2008-12-27 20:28:22 +01:00
Lei Zhang
6f64338b9d
comctl32: Better day of the month input checking in datetime.
2008-11-26 13:28:56 +01:00
Lei Zhang
113a50a843
comctl32: Do ascii to integer conversion only once.
2008-11-26 13:28:43 +01:00
Lei Zhang
40bbe3da6f
comctl32: Process WM_CHAR instead of WM_KEYDOWN for numbers in datetime.
2008-11-26 13:28:22 +01:00
Michael Stefaniuc
b723e6f6b6
comctl32: Remove the superfluous casting of the LPVOID returned by Alloc().
2008-10-24 14:24:59 +02:00
Gerald Pfeifer
ec351ad16f
comctl32: datetime: Simplify by shedding off unused parameters.
2008-07-22 15:25:25 +02:00
Mikołaj Zalewski
60a1e20ba8
comctl32: Don't print ERRs for reflected messages.
2008-07-22 13:25:08 +02:00
Mikołaj Zalewski
41025d56e3
comctl32: datetime: Support literals in apostrophes.
2008-02-25 13:27:00 +01:00
Michael Stefaniuc
1f26b146d1
janitorial: Remove superfluous backslashes at end of lines.
2007-12-31 19:23:45 +01:00
Andrew Talbot
867f254bec
comctl32: Remove unneeded casts.
2007-12-31 17:40:45 +01:00
Lei Zhang
5d05f7fc74
comctl32: Datetime should close its monthcal when the monthcal loses focus.
2007-11-02 12:37:48 +01:00
Markus Gömmel
f281d0e77d
comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE.
2007-07-02 13:24:17 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Andrew Talbot
9a76763c90
comctl32: Constify some variables.
2007-04-02 11:36:23 +02:00
Andrew Talbot
79205875f7
comctl32: Constify some variables.
2007-03-27 12:37:02 +02:00
Kanit Therdsteerasukdi
2a79d96278
comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
...
Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE. Corresponding
setters and message sequence tests were also added.
2007-03-19 13:08:36 +01:00
Kanit Therdsteerasukdi
7cc0b970b6
comctl32: datetime: Test for out of range dates in DTM_SETSYSTEMTIME only when flag=GDT_VALID.
2007-03-16 11:36:04 +01:00
Kanit Therdsteerasukdi
fed00cb82e
comctl32: datetime: Return 1 in DTM_SETFORMAT when successful.
2007-03-16 11:18:30 +01:00
Kanit Therdsteerasukdi
fe5471e717
comctl32: datetime: Reject out of range dates in DTM_SETSYSTEMTIME.
2007-03-14 13:14:02 +01:00
Andrew Talbot
e2d9ce1dbc
comctl32: Cast-qual warnings fix.
2006-10-23 14:39:07 +02:00
Michael Ploujnikov
1c16d83379
comctl32: Win64 printf format warning fixes.
2006-10-14 20:17:06 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Michael Kaufmann
1845444424
Handle WM_GETFONT and WM_SETFONT.
2005-08-22 09:20:36 +00:00
Hans Leidekker
97d1b11ebd
Fix uninitialized warnings.
2005-05-24 12:34:29 +00:00
Duane Clark
ddf9da794e
The datetime should be initialized with local time.
2005-04-18 09:52:18 +00:00
Duane Clark
1f7d6ccc2e
Add support for direct keyboard input to numeric fields.
2005-04-16 10:48:02 +00:00
Duane Clark
b00d5769da
Hour '0' corresponds to 12AM.
2005-04-15 16:10:39 +00:00
Robert Shearman
21f9465067
- Use SetWindowPos to move the buddy window into position instead of
...
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Duane Clark
a6659d26d2
Monday is day number '1'.
...
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Robert Shearman
10411d5fe5
- Make the month calendar child window auto-size instead of using a
...
hard coded 200px.
- Use SetFocus when the control is clicked on to get the correct
behaviour when another control clicked on.
- Force the WS_EX_CLIENTEDGE style, instead of emulating it.
2004-12-20 17:00:46 +00:00