Commit Graph

2922 Commits

Author SHA1 Message Date
Nikolay Sivov
2d2edc9a83 comctl32/monthcal: Fix parameter validation in MCM_SETCURSEL handler. 2009-10-06 11:57:08 +02:00
Nikolay Sivov
42733f980b comctl32/monthcal: Check date limits on prev/next month buttons and year UpDown control. 2009-10-06 11:57:03 +02:00
Nikolay Sivov
b8e0a33455 comctl32/monthcal: Remove today rectangle and focus drawing code from loops. 2009-10-06 11:56:55 +02:00
Nikolay Sivov
9723e6213d comctl32/monthcal: Simplify WM_MOUSEMOVE handler. 2009-10-06 11:56:46 +02:00
Nikolay Sivov
f65c2f1d63 comctl32/monthcal: Check configured selection range max width in MCM_SETSELRANGE handler. 2009-10-06 11:56:40 +02:00
Nikolay Sivov
2c928de9e2 comctl32/monthcal: Parameter fixes for MCM_SETSELRANGE handler: swap selection bounds, store day of week. 2009-10-06 11:56:33 +02:00
Owen Rudge
2a869d039a comctl32: Ensure coordinates are valid during listview marquee selection. 2009-10-06 11:54:45 +02:00
Nikolay Sivov
b97697dbe7 comctl32/monthcal: Check range limits in MCM_SETCURSEL. 2009-10-05 14:58:14 +02:00
Nikolay Sivov
480f54b140 comctl32/monthcal: Use true date comparison on multiselection, not only the day is valuable. 2009-10-05 14:58:03 +02:00
Nikolay Sivov
1ebf42751e comctl32/monthcal: Handle mouse pointer followed focus rectangle more accurately. 2009-10-05 14:57:49 +02:00
Nikolay Sivov
96022da6c8 comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_VISIBLE flag, single calendar control only. 2009-10-05 14:57:37 +02:00
Nikolay Sivov
ec3e9308da comctl32/monthcal: Drop exstyle parameter, it isn't used. 2009-10-05 14:57:26 +02:00
Paul Vriens
a7633d783d comctl32/tests: Fix some test failures (MCM_GETSELRANGE). 2009-10-05 13:46:00 +02:00
Paul Vriens
0a6c2c86be comctl32/tests: Fix some test failures (MCM_SETUNICODEFORMAT and MCM_GETUNICODEFORMAT). 2009-10-05 13:46:00 +02:00
Paul Vriens
efaa25fe66 comctl32/tests: Fix some test failures (MCM_SETCURSEL and MCM_GETCURSEL). 2009-10-05 13:46:00 +02:00
Paul Vriens
0d726970c6 comctl32/tests: Fix some test failures (MCM_SETRANGE and MCM_GETRANGE). 2009-10-05 13:46:00 +02:00
Paul Vriens
1dbab05364 comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-05 13:46:00 +02:00
Austin English
a19754ab66 comctl32: Add missing prototype. 2009-10-05 13:46:00 +02:00
Owen Rudge
b63c1cb219 comctl32: Capture the mouse when performing a listview marquee selection. 2009-10-05 13:22:40 +02:00
Paul Vriens
46bba98bdf comctl32/tests: Fix some test failures. 2009-10-02 11:51:16 +02:00
Nikolay Sivov
5d530fee54 comctl32/monthcal: Fix parameter validation in MCM_SETMAXSELCOUNT handler. 2009-10-02 11:50:47 +02:00
Nikolay Sivov
3df0823085 comctl32/monthcal: Changing MCS_MULTISELECT isn't allowed after creation, set default value properly. 2009-10-02 11:50:41 +02:00
Nikolay Sivov
eb87332f14 comctl32/monthcal: Move MCN_SELCHANGE/MCN_SELECT notifications to helpers. 2009-10-02 11:50:34 +02:00
Nikolay Sivov
3088bb3129 comctl32/monthcal: No need to redraw if month didn't change after popup menu. 2009-10-02 11:50:26 +02:00
Nikolay Sivov
28ec8565f0 comctl32/monthcal: Don't request locale data when it isn't needed. 2009-10-02 11:50:18 +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
Michael Stefaniuc
4ee851452b comctl32/tests: Silence some Win64 compile warnings.
"warning: cast to pointer from integer of different size"
2009-10-02 11:49:38 +02:00
Owen Rudge
69b76a18fb comctl32: Implement highlighting (marquee) selection support in listview. 2009-10-01 13:51:20 +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
99ded940e1 comctl32/datetime: Some DTM_SETSYSTEMTIME tests. 2009-10-01 11:34:58 +02:00
Nikolay Sivov
aae85b4d68 comctl32/datetime: Separate tests from each other. 2009-10-01 11:34:49 +02:00
Nikolay Sivov
52570539d8 comctl32/monthcal: Respect locale abbreviated day names when calculating control dimensions. 2009-09-30 14:31:58 +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
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
Ge van Geldorp
6eb6e31e05 comctl32/tests: Fix toolbar test on comctl32 version 4.72. 2009-09-29 16:10:59 +02:00
Nikolay Sivov
c685729b72 comctl32/monthcal: Fix locale dependent test failure. 2009-09-29 14:22:35 +02:00
Nikolay Sivov
484ef1dcbf comctl32/updown: Fix some test failures on Win95 (comctl32 4.0). 2009-09-29 14:22:35 +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
1f41db4c2f comctl32/monthcal: Use a single calendar for hittesting tests, make point calculation at runtime. 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