Commit Graph

96 Commits

Author SHA1 Message Date
Nikolay Sivov
e430838e29 comctl32/monthcal: Use a style we're caching already. 2009-09-24 14:24:13 +02:00
Nikolay Sivov
6fd4ba34a3 comctl32/monthcal: Move helper parameter cast to winproc, remove dead parameter check code. 2009-09-24 14:24:04 +02:00
Nikolay Sivov
cbe960f1e9 comctl32/monthcal: Draw selected day as v6 does. Get rid of ugly selection curve. 2009-09-09 13:13:56 +02:00
Nikolay Sivov
86bd48d512 comctl32/monthcal: Cache window GWL_STYLE. 2009-09-09 13:13:48 +02:00
Nikolay Sivov
cf67786e40 comctl32/monthcal: Use cached colors instead of GetSysColor for MonthCal. 2009-05-19 15:40:20 +02:00
Ricardo Filipe
5630124896 comctl32: Removed dead store (llvm/clang). 2008-11-21 11:28:36 +01:00
Michael Stefaniuc
62e17fa8c4 comctl32: Do not cast zero. 2008-11-04 11:26:22 +01:00
Clinton Stimpson
9f1ea3f15b comctl32: Fix getting of min size of monthcal when changing font. 2008-10-27 11:41:56 +01:00
Michael Stefaniuc
b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
James Hawkins
a7762476f2 comctl32: Fix MCM_SETFIRSTDAYOFWEEK when the first day set is greater than max allowed. 2008-10-10 12:28:11 +02:00
Gerald Pfeifer
3dbdb31128 comctl32: Remove unused paramters from MONTHCAL_GetRange, MONTHCAL_MouseMove, and MONTHCAL_Create. 2008-09-09 11:46:14 +02:00
Aric Stewart
bf6e766df6 comctl32: monthcal: Set the stStart parameter when sending the MCN_GETDAYSTATE notification. 2008-09-02 13:34:02 +02:00
Mikołaj Zalewski
60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Andrew Talbot
b7cc9c66b3 comctl32: Remove unneeded address-of operators from array names. 2008-07-08 10:47:43 +02:00
Andrew Talbot
bab7871cac comctl32: Remove unused variables. 2008-04-14 12:09:13 +02:00
Lei Zhang
3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English
c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot
867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01:00
Gregor Brunmar
d055cb8d5c comctl32: Monthcal lost focus fix. 2007-12-11 17:49:28 +01:00
Lei Zhang
d81b6fa8c7 comctl32: Monthcal should send notifications when today link gets clicked. 2007-10-16 11:01:14 +02:00
Lei Zhang
76949d3778 comctl32: Correct monthcal WM_LBUTTONDOWN return values. 2007-10-16 11:01:03 +02:00
Lei Zhang
e58e4679b5 comctl32: Select today's date when the today link is clicked. 2007-10-16 11:00:53 +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
Lei Zhang
6fb16fca6b comctl32: Fix first day of the week in monthcal. 2007-04-10 11:50:24 +02:00
Andrew Talbot
a8a469c7c0 comctl32: Constify some variables. 2007-03-30 10:55:19 +02:00
Farshad Agah
86ea6b5820 comctl32: monthcal: Correct the return value in MCM_SETFIRSTDAYOFWEEK. 2007-03-16 11:53:22 +01:00
Farshad Agah
d0f75b5993 comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL. 2007-03-09 11:36:53 +01:00
Felix Nawothnig
8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Vijay Kiran Kamuju
c5b8df481f comctl32: MonthCalendar - Fix highlighting of current date. 2006-12-26 12:52:49 +01:00
Alexandre Julliard
7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +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
Vitaliy Margolen
9774745330 comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
2006-02-16 12:19:36 +01:00
Vitaliy Margolen
f273bdc0b5 comctl32: Don't change month range in MCM_SETRANGE. Add tests for this. 2006-02-16 12:19:09 +01:00
Vitaliy Margolen
bc2b9e3feb comctl32: Fix invalid date/time check in MCM_SETRANGE: ignore time and fail on bad date. 2006-02-14 17:12:45 +01:00
Michael Kaufmann
e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Frank Richter
25464ceef5 Add theming for the monthcal control. 2005-08-11 17:05:00 +00:00
Mike McCormack
882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Francois Gouget
62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Duane Clark
320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +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
Dimitrie O. Paun
30a66a051c MonthCal unicodification. 2005-04-11 14:21:00 +00:00
Ulrich Czekalla
8b20d72005 Clear systemtime struct so we don't return garbage in uninitialized
fields.
2005-04-11 12:57:57 +00:00
Francois Gouget
93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Robert Shearman
fbcc21be62 Use the DrawFocusRect function to draw the focus rect, instead of a
broken home-brewed solution.
2005-01-11 10:43:03 +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
Dmitry Timoshkov
30bebfdc38 - Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
2004-11-30 17:35:16 +00:00
Dmitry Timoshkov
00176e33b3 Dimensions of month calendar control should not depend on the client
window size.
2004-11-08 20:27:02 +00:00
Robert Shearman
8d28e0314c Remove unnecessary WNDPROC casts. 2004-11-06 03:49:03 +00:00
Uwe Bonnes
194bac7781 Monthcal_SetRange: Set proper value for min date. 2004-10-21 22:28:12 +00:00