Commit Graph

121 Commits

Author SHA1 Message Date
Nikolay Sivov 52570539d8 comctl32/monthcal: Respect locale abbreviated day names when calculating control dimensions. 2009-09-30 14:31:58 +02:00
Nikolay Sivov 916017d420 comctl32/monthcal: Move selection logic to LButton release handler, fix notifications order. 2009-09-30 14:31:58 +02:00
Nikolay Sivov cc6fca015c comctl32/monthcal: Make prev/next month day a current selection on LButton release. 2009-09-30 14:31:58 +02:00
Nikolay Sivov 344f07007b comctl32/monthcal: Fix hittesting for MCHT_CALENDARDATEPREV/MCHT_CALENDARDATENEXT cases. 2009-09-30 14:31:57 +02:00
Nikolay Sivov aadadd04fe comctl32/monthcal: Control elements should be centered in client area, and left/top aligned if they don't. 2009-09-29 14:22:35 +02:00
Nikolay Sivov 74eca56acb comctl32/monthcal: Minimal rectangle should be zero based. 2009-09-29 14:22:34 +02:00
Nikolay Sivov 30010f44d5 comctl32/monthcal: Months popup menu should be placed at current pointer position. 2009-09-29 14:22:34 +02:00
Nikolay Sivov bce1cebdd4 comctl32/monthcal: Right button should trigger a popup menu on release. 2009-09-29 14:22:34 +02:00
Nikolay Sivov 69080d6d29 comctl32/monthcal: Add parameter validation to MCM_HITTEST handler. 2009-09-28 12:43:57 +02:00
Nikolay Sivov 1224cc461d comctl32/monthcal: Fix timestamp storing on MCM_SETRANGE/MCM_SETSELRANGE. 2009-09-28 12:43:50 +02:00
Nikolay Sivov 211a55b877 comctl32/monthcal: Prevent configured range exceeding with prev/next buttons. 2009-09-28 12:43:37 +02:00
Nikolay Sivov 7030296ece comctl32/monthcal: Move MCN_GETDAYSTATE notification to a helper. 2009-09-28 12:43:29 +02:00
Nikolay Sivov e3a7c6c7e7 comctl32/monthcal: Fix memory leak on MCN_GETDAYSTATE notification. 2009-09-28 12:43:19 +02:00
Nikolay Sivov 818aab58f5 comctl32/monthcal: Properly handle Goto Today popup menu (on RButton). 2009-09-28 12:43:11 +02:00
Nikolay Sivov a95b63efcc comctl32/monthcal: Store full date info to current date on todaylink with LButton. 2009-09-28 12:42:59 +02:00
Nikolay Sivov 6a11d779e6 comctl32/monthcal: Gather currently selected year and month into a single structure. 2009-09-28 12:42:52 +02:00
Nikolay Sivov 962339d4d6 comctl32/monthcal: Make year edit box readonly, cleanup LButton handler to be more readable. 2009-09-28 12:42:42 +02:00
Nikolay Sivov a44f03518e comctl32/monthcal: Fix some bugs with date range. 2009-09-28 12:42:26 +02:00
Nikolay Sivov d66dcb4ff8 comctl32/monthcal: Store full date info for selection at creation time. 2009-09-28 12:42:11 +02:00
Nikolay Sivov b0d3db5b29 comctl32/monthcal: Copy SYSTEMTIME with a simple assignment. 2009-09-28 12:41:30 +02:00
Nikolay Sivov 6bd43fbb49 comctl32/monthcal: Some cleanup to avoid cast in helpers. 2009-09-25 13:16:34 +02:00
Nikolay Sivov decc86add9 comctl32/monthcal: Don't redraw if date didn't change on MCM_SETTODAY. 2009-09-25 13:16:25 +02:00
Nikolay Sivov 534ea8ab42 comctl32/monthcal: Name MCM_SETMAXSELCOUNT parameter. 2009-09-25 13:16:09 +02:00
Nikolay Sivov 548645d360 comctl32/monthcal: Don't redraw after MCM_SETCURSEL if selection doesn't change. 2009-09-25 13:16:01 +02:00
Nikolay Sivov c01ab1608c comct32/monthcal: Invalidate background too on MCM_SETCOLOR with MCSC_BACKGROUND. 2009-09-25 13:15:54 +02:00
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