Commit Graph

3138 Commits

Author SHA1 Message Date
Paul Vriens 87441ff83c comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-08 12:17:30 +02:00
Nikolay Sivov c68324dfed comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_DAYSTATE flag and a single calendar control. 2009-10-08 12:16:57 +02:00
Nikolay Sivov f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +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 bd58b130ba comctl32/monthcal: Cleanup top drawing helper namespace, reduce parameter count in prev/next draw helpers. 2009-10-08 12:11:14 +02:00
Nikolay Sivov 41db6f8500 comctl32/monthcal: Invalidate unconditonally on MCM_SETFIRSTDAYOFWEEK. 2009-10-07 12:23:52 +02:00
Nikolay Sivov 526e1d81a3 comctl32/monthcal: Recalculate control layout on MCS_WEEKNUMBERS style change. 2009-10-07 12:23:45 +02:00
Nikolay Sivov 689a9eb5df comctl32/monthcal: Update day of week properly while iterating with prev/next buttons and hit testing. 2009-10-07 12:23:39 +02:00
Nikolay Sivov 71d4b5fcd4 comctl32/monthcal: Optimize WM_LBUTTONUP handler. 2009-10-07 12:23:31 +02:00
Nikolay Sivov 9e75962ec5 comctl32/monthcal: Fix a nice typo in test message. 2009-10-07 12:23:17 +02:00
Nikolay Sivov 6b5c6645b9 comctl32/monthcal: Use a timer to auto update today date memory. 2009-10-07 12:23:09 +02:00
Nikolay Sivov 70eb6c0385 comctl32/monthcal: Use a single timer for auto month scroll with prev/next buttons. 2009-10-07 12:22:57 +02:00
Aric Stewart c885bd16c7 comctl32/tests: LISTVIEW_ApproximateViewRect tests for LV_VIEW_ICON. 2009-10-07 12:22:22 +02:00
Aric Stewart 8e8c5130f7 comctl32: Implement LISTVIEW_ApproximateViewRect for icon. 2009-10-07 12:22:16 +02:00
Ge van Geldorp e1b5ca70bb comctl32/tests: Fix misc test on Win7. 2009-10-06 11:59:56 +02:00
Nikolay Sivov 87e9e3c370 comctl32/monthcal: Fix '&->&&' typo in focused day helper. 2009-10-06 11:57:24 +02:00
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
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 0617baf2c3 comctl32/monthcal: Make tests not depend on each other. 2009-09-28 12:41:58 +02:00
Nikolay Sivov b0d3db5b29 comctl32/monthcal: Copy SYSTEMTIME with a simple assignment. 2009-09-28 12:41:30 +02:00
Alexandre Julliard d0aaae9987 comctl32/tests: Use UDM_GET/SETPOS instead of UDM_GET/SETPOS32 for compatibility with old versions. 2009-09-25 15:13:55 +02:00
Alexandre Julliard ae2b8a6e97 comctl32/tests: Fix some rebar tests on older comctl32 versions. 2009-09-25 15:13:25 +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 d7117d312d comctl32/listview: Skip icon spacing tests when unsupported. 2009-09-24 14:23:49 +02:00
Nikolay Sivov 5e3c9925f8 comctl32/listview: Skip some header tests on version 4.0 module. 2009-09-24 14:23:42 +02:00
Nikolay Sivov df3f2a1b13 comctl32/listview: Skip LVS_EX_CHECKBOXES tests when this style is unsupported. 2009-09-23 12:33:32 +02:00
Nikolay Sivov f684bbaef7 comctl32/updown: Update buddy on base change. 2009-09-22 16:25:29 +02:00
Nikolay Sivov 7ebca40912 comctl32/updown: Additional test for display base. 2009-09-22 16:25:23 +02:00
Nikolay Sivov 4efa9f5e43 comctl32/updown: Fix control behaviour for UDS_SETBUDDYINT style. 2009-09-22 16:25:13 +02:00
Nikolay Sivov 2f9d29b42b comctl32/updown: Show that UDS_SETBUDDYINT switching doesn't affect behaviour for already created control. 2009-09-22 16:25:02 +02:00
Nikolay Sivov 6be1bade1a comctl32/updown: Make tests independent, drop unrelated tests. 2009-09-22 16:24:53 +02:00
Nikolay Sivov 963b7b5766 comctl32/updown: Skip thousands separation on hex mode. 2009-09-22 16:24:31 +02:00
Nikolay Sivov 0f670168e4 comctl32/trackbar: Protect from negative tic count in recalculation helper.
Fix for regression introduced in 42c83b9dc7
2009-09-18 08:56:09 -05:00
Nikolay Sivov 69bcb112f9 comctl32/dpa: Check for DPA_LoadStream() presence. Merge original test function with save tests. 2009-09-16 15:02:50 -05:00
Nikolay Sivov d82fb3d308 comctl32/dpa: Fix DPA_Merge() test failures on old 4.7x comctl32. 2009-09-15 16:41:27 -05:00
Nikolay Sivov 28998999d0 comctl32/dpa: Implement DPA_GetSize(). 2009-09-15 16:41:27 -05:00
Nikolay Sivov c1513c6bde comctl32/dpa: Implement DPA_SaveStream() with tests. 2009-09-15 16:41:27 -05:00
Nikolay Sivov c8f8e5da11 comctl32/dpa: Fix parameter validation in DPA_LoadStream(). 2009-09-15 16:41:27 -05:00
Nikolay Sivov b07ca01527 comctl32/dpa: Separate tests for parameter validation in DPA_LoadStream(). 2009-09-15 16:41:27 -05:00
Nikolay Sivov 3b6ac3000f include: Move some definitions to public header, use PSDK names. 2009-09-11 12:13:25 +02:00
Nikolay Sivov 7044ac8751 comctl32/dpa: Fix DPA_Merge() for DPAM_INTERSECT option. 2009-09-11 12:11:50 +02:00
Nikolay Sivov e97fcdd1bb comctl32/dpa: Some DPA_Merge tests. 2009-09-11 12:11:35 +02:00
Nikolay Sivov 2c190ab438 include: Move some documented DPA definitions to public header, use PSDK names. 2009-09-10 10:52:29 +02:00
Nikolay Sivov e7304066d1 comctl32/dpa: Split tests to several functions to avoid undesired dependencies. 2009-09-10 10:51:07 +02:00
Nikolay Sivov fffb41f6a6 comctl32/header: Add XP SP3 workaround for Header tests. Fix window handle leak. 2009-09-09 13:14:09 +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
Alexandre Julliard b7f2ccb6b4 comctl32: Use explicit prototypes for function pointers. 2009-09-09 13:13:08 +02:00
Nikolay Sivov 52add2a308 comctl32/listview: Add partial support for cxMin width field. 2009-09-08 13:43:20 +02:00
Nikolay Sivov d9ebf1962c comctl32/header: Implement HDS_NOSIZING style with tests. 2009-09-08 13:42:55 +02:00
Nikolay Sivov ecda6af39f comctl32/listview: Handle LVCFMT_FIXED_WIDTH flag. 2009-09-08 13:42:45 +02:00
Nikolay Sivov a4c22a142c comctl32/header: Implement HDF_FIXEDWIDTH format flag. 2009-09-08 13:42:36 +02:00
Nikolay Sivov 5e1f5ebf6c comctl32/listview: Implement LVS_EX_TRANSPARENTBKGND style. 2009-09-08 13:42:24 +02:00
Nikolay Sivov 77729e23f2 comctl32/trackbar: Drop initial parent creation tests, they are nothing to do with control testing. 2009-09-08 12:11:33 +02:00
Nikolay Sivov 629eb23a11 comctl32/trackbar: TBM_SETTIC processing shouldn't be affected by TBS_AUTOTICKS style. 2009-09-08 12:11:27 +02:00
Nikolay Sivov 5594a5f960 comctl32/trackbar: Default to TBTS_TOP position on creation. 2009-09-08 12:11:19 +02:00
Nikolay Sivov 4845dc36e4 comctl32/trackbar: Reduce parameter count for some helpers. 2009-09-02 15:33:28 +02:00
Nikolay Sivov 6f395805b1 comctl32/trackbar: Cache window style. 2009-09-02 15:33:21 +02:00
Nikolay Sivov 42c83b9dc7 comctl32/trackbar: Fix tic count calculation. 2009-09-02 15:33:10 +02:00
Jan de Mooij 2f8e5da90f comctl32/propsheet: Update position of hidden buttons too. 2009-09-01 17:37:12 +02:00
Nikolay Sivov 7420c0d0de comctl32/listview: Call default handler for WM_PAINT disabled by WM_SETREDRAW. 2009-09-01 12:44:03 +02:00
Ge van Geldorp 93140f32a0 comctl32/tests: Adjust message sequences for Win7 (trackbar). 2009-08-31 12:41:20 +02:00
Ge van Geldorp ae516dbac9 comctl32/tests: Adjust message sequences for Win7 (updown). 2009-08-31 12:19:30 +02:00
Ge van Geldorp bc76560b56 comctl32/tests: Adjust message sequences for Win7 (monthcal). 2009-08-31 12:19:26 +02:00
Alexandre Julliard 5a0deb25e1 comctl32/tests: Fix status test failures on older Windows versions. 2009-08-29 16:48:56 +02:00
Alexandre Julliard a561c5d49f comctl32/tests: Fix some toolbar test failures on older Windows versions. 2009-08-29 16:48:56 +02:00
Juan Lang 390a248e06 comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small. 2009-08-27 11:01:09 +02:00
Alexandre Julliard 6369d7a08b comctl32/tests: Fix tooltips test failures on older Windows versions. 2009-08-26 13:09:11 +02:00
Alexandre Julliard 454a7fde33 comctl32/tests: Fix tab control test failures on older Windows versions. 2009-08-26 13:09:05 +02:00
Nikolay Sivov 03a3207cc7 comctl32/tests: Move message testing helpers to header. 2009-08-24 15:17:32 +02:00
Akihiro Sagawa 06ad76809b comctl32: Update Japanese translation. 2009-08-24 15:17:32 +02:00
Francois Gouget 544f882918 comctl32/tests: Add a trailing '\n' to ok() calls. 2009-08-19 12:07:24 +02:00
Alexandre Julliard d649320045 comctl32/tests: Fix the property sheet tests on older Windows versions. 2009-08-18 14:49:21 +02:00
Alexandre Julliard 576a398338 comctl32/tests: Fix a number of listview message test failures. 2009-08-18 14:49:03 +02:00
Nikolay Sivov f08747cbfc comctl32/tab: Init TCITEM fields in TCM_GETITEM when invalid index passed. 2009-08-17 15:53:12 +02:00
Nikolay Sivov 031c497a5a comctl32/tab: Check destination pointer for NULL in TCM_GETITEM handler. 2009-08-17 15:53:06 +02:00
Andrew Eikum 70f4ce36a0 comctl32/tests: Add tests for wizard dialog navigation. 2009-08-14 13:59:08 +02:00
Andrew Eikum ac34e22ef3 comctl32: Correctly assign focus and default button in property sheet wizards. 2009-08-14 11:27:55 +02:00
Andrew Eikum 4a14ed43fa comctl32: Don't pass unrelated control to UnChanged. 2009-08-14 11:27:39 +02:00
Owen Rudge 956a52bd7f comctl32: Add stubs for image list functions introduced in Vista. 2009-08-13 15:51:16 +02:00
Owen Rudge 1556fbf86c comctl32/tests: Add basic test for IImageList using SHGetImageList. 2009-08-13 15:51:07 +02:00
Owen Rudge ce638952af comctl32/tests: Move v6 test initialisation routines into separate file. 2009-08-13 15:44:37 +02:00
Nikolay Sivov e8846b7c78 comctl32/listview: Block redrawing entirely after WM_SETREDRAW wParam=FALSE. 2009-08-13 11:44:43 +02:00
Nikolay Sivov 1dfd55ff9a comctl32/treeview: Fix test failure on Vista. 2009-08-12 17:04:37 +02:00
Nikolay Sivov 4a9a432841 comctl32/treeview: Fix some test failures on XP and higher. 2009-08-12 17:04:37 +02:00
Nikolay Sivov e41d0dd7de comctl32/listview: Some tests to show we don't handle WM_SETREDRAW right. 2009-08-12 13:23:14 +02:00
Nikolay Sivov 6bcdc69ec0 comctl32/treeview: Check passed handle value in WM_COMMAND handler. 2009-08-07 11:39:28 +02:00
Nikolay Sivov 83c9cdb797 comctl32/treeview: Use separate pointer for currently edited item. 2009-08-07 11:39:20 +02:00
Nikolay Sivov 861fb2eddd comctl32/treeview: Handle EN_KILLFOCUS in WM_COMMAND handler. 2009-08-06 17:26:34 +02:00
Nikolay Sivov 578e872b31 comctl32/treeview: Some tests to show edit item label problems. 2009-08-06 17:26:34 +02:00
Nikolay Sivov 0adb4ef423 comctl32/treeview: Make tests not depend from each other, replace some magics with macros. 2009-08-06 17:26:33 +02:00
Nikolay Sivov b32bccb4da comctl32/treeview: Use a common structure for tests (as we use already for others). 2009-08-06 17:26:33 +02:00
Nikolay Sivov a6694761fa comctl32/listview: Fix comment typo. 2009-08-06 17:26:33 +02:00
Alexandre Julliard 66e83d2156 comctl32/tests: Fix some test failures on older versions. 2009-08-05 15:30:10 +02:00
André Hentschel b585ca0f64 comctl32: Stop flicker when drawing themed and draw the correct image smoothly. 2009-08-04 13:46:58 +02:00
Nikolay Sivov c96900b904 comctl32/listview: Enable column reordering. 2009-08-04 13:03:27 +02:00
Nikolay Sivov 8c6d91052d comctl32/listview: Fix visibility computation in details view. 2009-08-04 13:03:18 +02:00
Nikolay Sivov 9576fb1836 comctl32/listview: Introduce a way to update cached column rectangles from Header. 2009-08-04 12:51:40 +02:00
Nikolay Sivov 6f723508e5 comctl32/listview: Respect column order while scrolling columns. 2009-08-04 12:51:33 +02:00
Nikolay Sivov ebdf2fd254 comctl32/listview: Offset every but LVIR_BOUNDS rectangles to column bound in details view. 2009-08-03 15:04:01 +02:00
Nikolay Sivov 021410cf0e comctl32/listview: Don't offset to column bound calculating LVIR_LABEL for items. 2009-08-03 15:03:51 +02:00
Nikolay Sivov ba65d634e6 comctl32/treeview: Correct define name. 2009-08-03 15:03:43 +02:00
Nikolay Sivov cbb8d4567e comctl32/comboex: Use const pointer when possible. 2009-08-03 15:03:36 +02:00
Aled Hughes 85abd4c3cf comctl32/toolbar: Avoid unnecessary invalidation on TB_HIDEBUTTON. 2009-08-03 15:03:23 +02:00
Nikolay Sivov 86b480b828 comctl32/listview: Fix some test failures on comctl32 4.7x. 2009-08-03 15:03:02 +02:00
Vladimir Pankratov 65fac0d664 comctl32: Convert the Russian resources to UTF-8. 2009-07-24 13:11:20 +02:00
Nikolay Sivov 59e59c6bf9 comctl32/listview: Don't alter selection mark in LVM_SETITEMSTATE. 2009-07-24 11:10:43 +02:00
Nikolay Sivov 092263f051 comctl32/listview: Set LVIS_FOCUSED for all items with LVM_SETITEMSTATE not allowed. 2009-07-24 11:10:38 +02:00
Nikolay Sivov 440218cfde comctl32/listview: Handle NULL lParam in LVM_SETITEMSTATE. 2009-07-24 11:10:32 +02:00
Nikolay Sivov 9e222c6cbb comctl32/listview: Additional tests for LVM_SETITEMSTATE for all items. 2009-07-24 11:10:25 +02:00
Nikolay Sivov af0f00b671 comctl32/listview: LVM_SETITEMSTATE - select all item case tests. 2009-07-22 11:08:53 +02:00
Dmitry Timoshkov 1d265bcac2 comctl32: Explicitly initialize visible order of a newly added item, force visible order recalculation on redraw. 2009-07-16 11:15:36 +02:00
Nikolay Sivov 3373ed8fbb comctl32/dpa: Don't use start index on searching sorted array. 2009-07-16 11:13:07 +02:00
Dmitry Timoshkov ee7ca802f4 comctl32: Do not redraw treeview in TVM_INSERTITEM handler if bRedraw is not set, trigger the redraw on WM_SETREDRAW/TRUE. 2009-07-15 14:31:23 +02:00
Vladimir Pankratov 585e8dfbb4 comctl32: Fix division by zero. 2009-07-15 14:04:12 +02:00
Nikolay Sivov ce372ca4db comctl32/header: Fix hittesting flags, extend tests a bit. 2009-07-15 13:16:03 +02:00
Nikolay Sivov fdb7412725 comctl32/header: Update item bounds on WM_SIZE. 2009-07-13 10:26:06 +02:00
Nikolay Sivov fac7daf098 comctl32/header: Use macro to define LPARAM value. 2009-07-13 10:25:57 +02:00
Nikolay Sivov a18886e5c2 comctl32/header: Always update rectangles after HDM_SETORDERARRAY. 2009-07-10 12:12:21 +02:00
Nikolay Sivov 67d2292b00 comctl32/header: Test item rectangles updating after reordering. 2009-07-10 12:12:17 +02:00
Michael Stefaniuc cb3da594b2 comctl32: Convert the German resources to UTF-8. 2009-07-09 15:23:19 +02:00
Frédéric Delanoy 3a18d63c4c comctl32: Fix French translation & UI display. 2009-07-09 14:52:06 +02:00
Nikolay Sivov 6c0c08af02 comctl32/listview: Fix selection and focus rectangles on reordered list (report mode). 2009-07-09 11:25:38 +02:00
Paul Vriens f88d9ab195 comctl32/tests: Fix test failures with comctl32 <= 5.80. 2009-07-08 20:14:52 +02:00
Nikolay Sivov 1b2a6a08aa comctl32/listview: Basic LVN_(BEGIN|END)SCROLL tests. 2009-07-08 20:13:35 +02:00
Nikolay Sivov 76c0d49b52 comctl32/listview: A basic test for column width default value. 2009-07-08 20:13:30 +02:00
Ricardo Filipe c5e02d71c1 comctl32: Update Portuguese translation and convert to UTF8. 2009-07-07 13:33:31 +02:00
Nikolay Sivov 2f989163bd comctl32/listview: Fix hittest flag calculation for negative Y values on report mode. 2009-07-07 11:11:32 +02:00
Nikolay Sivov 86e4d1cdbe comctl32/listview: Fix hittesting for "small" positive Y coordinates. 2009-07-07 11:11:27 +02:00
Nikolay Sivov faebaa575b comctl32/listview: More LVM_*HITTEST tests. 2009-07-07 11:11:19 +02:00
Nikolay Sivov c3e66a8f86 comctl32/listview: Fix some test failures on 4.7x. 2009-07-06 14:35:28 +02:00
Nikolay Sivov 809ef092e8 comctl32/listview: Basic LVM_GETITEMSPACING tests. 2009-07-06 14:35:26 +02:00
Nikolay Sivov ab527a6e0f comctl32/listview: Remove parent creation test. It's unrelated to ListView. 2009-07-03 13:05:52 +02:00
Nikolay Sivov 216ca479f2 comctl32/listview: Fix select rectangle calculation for empty text items. 2009-07-02 12:00:20 +02:00
Michael Stefaniuc 4796550808 comctl32: Build language resource files separately.
Do not include them from an other rc file.
2009-07-02 11:45:19 +02:00
Nikolay Sivov 1daf40a837 comctl32/header: Always release item down state on WM_LBUTTONUP. 2009-07-01 13:15:50 +02:00
Nikolay Sivov 84f14a3716 comctl32/listview: Improve hittesting a bit. 2009-07-01 13:15:37 +02:00
Nikolay Sivov 9ee5f26570 comctl32/rebar: Use proper structure size in tests and parameter checks. 2009-06-30 12:31:51 +02:00
Nikolay Sivov 753407ef82 comctl32/progress: Implement PBM_GETBKCOLOR. 2009-06-29 14:32:33 +02:00
Nikolay Sivov 84f3c50474 comctl32/progress: Implement PBM_GETBARCOLOR, add some todo entries. 2009-06-29 14:32:21 +02:00
Nikolay Sivov f6bdb637bf comctl32/toolbar: Move parameter cast to WinProc level, some code cleanup. 2009-06-29 14:32:12 +02:00
Paul Vriens f2b0e4f6e6 comctl32/tests: Fix test failures with comctl32 < 5.80. 2009-06-26 14:40:39 +02:00
Nikolay Sivov e7dc4ed07f comctl32/toolbar: Move initialization to WM_NCREATE handler. 2009-06-26 14:40:04 +02:00
Paul Vriens 2bcf38d3a3 comctl32/tests: Fix some test failures with comctl32 < 5.80. 2009-06-26 11:59:54 +02:00
Paul Vriens 7665699411 comctl32/tests: Fix test failures on comctl32 < 5.80. 2009-06-25 14:34:13 +02:00
Nikolay Sivov 2551ea0568 comctl32/listview: Initialize string pointers on notification conversion routine. 2009-06-24 11:38:31 +02:00
Francois Gouget dee97f4560 comctl32: Make MapIdSearchCompare() static. 2009-06-24 11:24:46 +02:00
Nikolay Sivov ad7f0b950b comctl32/listview: Invalidate list after WM_MEASUREITEM notification. 2009-06-23 11:47:13 +02:00
Nikolay Sivov 8e18e9e6bd comctl32/listview: Notify parent with WM_MEASUREITEM on control creation. 2009-06-23 11:46:21 +02:00
Nikolay Sivov d03e63ccd7 comctl32/listview: Test for parent sequence when creating with LVS_OWNERDRAWFIXED. 2009-06-23 11:46:15 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Nikolay Sivov 358fa6cd98 comctl32/listview: XP SP3 comctl32 V6 test workaround. 2009-06-22 13:00:10 +02:00
Nikolay Sivov 6e09365501 comctl32/listview: Fix a test failure on 4.7x. 2009-06-22 13:00:02 +02:00
Nikolay Sivov 25d916e73a comctl32/header: Add support for HDS_FLAT style. 2009-06-22 12:59:54 +02:00
Nikolay Sivov 85224d7f17 comctl32/listview: Implement LVM_MAPIDTOINDEX/LVM_MAPINDEXTOID. 2009-06-22 12:59:50 +02:00
Nikolay Sivov 2286a321c2 comctl32/listview: Basic LVM_MAPINDEXTOID tests. 2009-06-22 12:59:41 +02:00
Nikolay Sivov 76cb9c0d77 comctl32/listview: Implement LVM_ISITEMVISIBLE. 2009-06-22 12:59:35 +02:00
Nikolay Sivov 9c565342d0 comctl32/listview: Implement LVM_CANCELEDITLABEL with tests. 2009-06-22 12:59:28 +02:00
Nikolay Sivov 7bf031ebc4 comctl32/listview: Add ability to test comctl32 version 6. Add basic LVM_[G,S]ETVIEW test. 2009-06-19 14:54:47 +02:00
Francois Gouget fb37e89a06 comctl32/tests: Make DummyCompareEx() static. 2009-06-19 13:47:20 +02:00
Nikolay Sivov c05e6d8f45 comctl32/listview: Fix test crashes on comctl32 <5.80. 2009-06-18 15:17:27 +02:00
Aric Stewart e3b9420034 comctl32: In COMBOEX_FindStringExact do not try to get text from invalid items. 2009-06-18 15:17:27 +02:00
Paul Vriens 87366355d2 comctl32/tests: Fix some typos (copy-paste). 2009-06-18 15:17:27 +02:00
Nikolay Sivov 34b802caf0 comctl32/listview: Convert forwarded header notifications to ANSI if NFR_ANSI is current format. 2009-06-16 13:27:12 +02:00
Nikolay Sivov b4b186d7b7 comctl32/listview: Forward HDN_DIVIDERDBLCLICK to parent. 2009-06-16 13:26:54 +02:00
Nikolay Sivov 736d8ff023 comctl32/listview: Block header items drag if LVS_EX_HEADERDRAGDROP isn't set. 2009-06-16 13:26:49 +02:00
Nikolay Sivov 7f936a0a6e comctl32/listview: Setting item text to callback stub value already having it raises item-change notifications.
Use same new text comparison rules for both items and subitems.
Based on patch by Stefan Stranz.
2009-06-15 13:42:30 +02:00
Nikolay Sivov 47bc142dad comctl32/listview: Get rid of Header_* macros. 2009-06-15 13:42:30 +02:00
Nikolay Sivov caa91dcbc7 comctl32/listview: Don't offset subitems on painting. 2009-06-15 13:42:30 +02:00
Nikolay Sivov 89f0bdff6e comctl32/listview: Fix some hittest problems on LVS_EX_FULLROWSELECT. 2009-06-15 13:42:30 +02:00
Nikolay Sivov 8372d1832d comctl32/listview: Don't offset item box to item position on LVS_EX_FULLROWSELECT if item isn't in leftmost column. 2009-06-15 13:42:30 +02:00
Nikolay Sivov f2f444a230 comctl32/listview: Don't use special value (1) for item width to represent both zero and one pixel width. 2009-06-11 11:53:54 +02:00
Nikolay Sivov a5c970dea9 comctl32/listview: Make item width calculation not rely on column order for LV_VIEW_DETAILS. 2009-06-11 11:53:54 +02:00
Nikolay Sivov abe5dee0bb comctl32/listview: Implement callback functionality for item indentation. 2009-06-10 11:48:10 +02:00
Nikolay Sivov 5e5a58b138 comctl32/listview: Test for indentation callback. 2009-06-10 11:48:04 +02:00
Andrew Talbot 9064506f76 comctl32: Constify some variables. 2009-06-09 17:01:14 +02:00
Nikolay Sivov 0bca442f25 comctl32/listview: Remove outdated todo entries. 2009-06-09 17:01:14 +02:00
Nikolay Sivov f531271d70 comctl32/listview: Fix item count tests to be dpi aware. 2009-06-09 17:01:14 +02:00
Alexandre Julliard 6d7ad66315 comctl32: Avoid repainting a NULL link. 2009-06-08 18:13:22 +02:00
Vincent Povirk 49308e8da0 comctl32: Use NMTVDISPINFOEX in the TVN_GETDISPINFO notification. 2009-06-08 16:22:43 +02:00
Nikolay Sivov 839b31fcce comctl32/listview: Revert column scrolling recent change, it should be handled differently. 2009-06-08 14:30:15 +02:00
Nikolay Sivov e636998890 comctl32/listview: Use LV_VIEW_* constants instead of style. 2009-06-08 14:30:07 +02:00
Nikolay Sivov ed250886cc comctl32/listview: Defaulting to NFR_ANSI on query failure. 2009-06-08 14:30:02 +02:00
Nikolay Sivov ae0d363043 comctl32/listview: Position edit box after notification. 2009-06-08 14:29:55 +02:00
Nikolay Sivov c98dc0da71 comctl32/listview: Test showing that Edit box should be positioned after LVN_BEGINLABELEDIT. 2009-06-08 14:29:30 +02:00
Nikolay Sivov c111500458 comctl32/listview: Edit box should be destroyed on invalid index too (LVM_EDITLABEL). 2009-06-08 14:29:24 +02:00
Andrew Talbot f5d8fa6613 comctl32: Constify some variables. 2009-06-08 12:41:54 +02:00
Alexandre Julliard 84ccadeeee comctl32/tests: Avoid size_t in traces. 2009-06-05 15:19:57 +02:00
Nikolay Sivov 475dcb81f5 comctl32/listview: Improve column scrolling. 2009-06-05 15:19:57 +02:00
Nikolay Sivov d5319303f1 comctl32/listview: Partially revert commit 43d982fde6. 2009-06-05 15:19:57 +02:00
Andrew Talbot 925cd00cd1 comctl32: Constify some variables. 2009-06-05 14:43:24 +02:00