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
Nikolay Sivov
39398aedc7
comctl32/listview: Improve grid drawing on LVS_EX_GRIDLINES style.
2009-06-04 12:17:23 +02:00
Nikolay Sivov
f8904e156f
comctl32/listview: Improve item visibility calculation for report view.
2009-06-04 12:17:17 +02:00
Nikolay Sivov
3e4ba3048a
comctl32/listview: Some tests for LVS_SORT[A,DE]SCENDING, remove these styles from TODOs.
2009-06-04 12:17:12 +02:00
Andrew Talbot
b898f8dd58
comctl32: Various const qualifier fixes.
2009-06-04 12:12:13 +02:00
Nikolay Sivov
6a3ac63c6b
comctl32/listview: Implement LVM_SETVIEW.
2009-06-03 15:34:32 +02:00
Nikolay Sivov
d5f9f27c37
comctl32/listview: Implement LVM_GETVIEW.
2009-06-03 15:34:31 +02:00
Nikolay Sivov
b13cd52b04
comctl32/listview: Handle EN_KILLFOCUS in WM_COMMAND message handler.
2009-06-03 15:34:31 +02:00
Nikolay Sivov
3ebe2ebb0d
comctl32/listview: EN_KILLFOCUS handling test.
2009-06-03 15:34:31 +02:00
Nikolay Sivov
43d982fde6
comctl32/listview: Block LVM_EDITLABEL when control is unfocused and no label created.
2009-06-02 11:57:21 +02:00
Nikolay Sivov
5e53ddfc6f
comctl32/listview: Some tests for LVM_EDITLABEL.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
551bb4784a
comctl32/listview: Fix item bounds calculation for LVS_REPORT style.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
8cf54c5645
comctl32/listview: Item horizontal position isn't applied for any item bounds on LVS_REPORT.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
3cd15e5db5
comctl32/listview: Don't offset subitem rectangles with item padding returned by LVM_GETSUBITEMRECT.
2009-05-29 13:24:42 +02:00
Nikolay Sivov
6101a48089
comctl32/listview: A bunch of LVM_GETSUBITEMRECT tests.
2009-05-29 13:24:36 +02:00
Nikolay Sivov
dd24e5de8c
comctl32/listview: Fix regression on LVIR_BOUNDS request - y offset still needed.
2009-05-29 13:24:30 +02:00
Nikolay Sivov
4b73240ae4
comctl32/listview: Use NMITEMACTIVATE instead of NMLISTVIEW for NM_*CLICK notifications.
2009-05-29 13:24:22 +02:00
Alexandre Julliard
448d48c3f4
comctl32/tests: Replace a listview macro by an explicit SendMessage.
2009-05-28 15:24:04 +02:00
Andrew Talbot
bfe3c6430b
comctl32: Constify some variables.
2009-05-28 12:42:18 +02:00
Nikolay Sivov
7d32cfef27
comctl32/tooltips: Fix callback tip text retrieval.
2009-05-28 12:42:18 +02:00
Nikolay Sivov
7fd17023be
comctl32/tooltips: Move parameter cast to WinProc.
2009-05-28 12:42:18 +02:00
Nikolay Sivov
8921b936a8
comctl32/ipaddress: Skip test on Win95 with common controls 4.70.
2009-05-27 15:40:25 +02:00
Nikolay Sivov
4d2883c189
comctl32/listview: Move item position calculation out of subitem loop.
2009-05-27 11:11:21 +02:00
Nikolay Sivov
1a84ca42b2
comctl32/listview: LVM_GETITEMRECT: don't offset to item position on LVS_REPORT querying LVIR_BOUNDS.
2009-05-27 11:11:13 +02:00
Nikolay Sivov
79ed5e0fac
comctl32/listview: Fix some LVM_GETVIEWRECT test failures on different platforms.
2009-05-27 11:11:05 +02:00
Nikolay Sivov
c5c5bcca90
comctl32/listview: Some LVM_GETITEMRECT tests.
2009-05-27 11:11:00 +02:00
Nikolay Sivov
2a32ce744c
comctl32/listview: Improve item position calculating in LVS_REPORT.
2009-05-26 13:49:31 +02:00
Nikolay Sivov
25c775a036
comctl32/listview: A couple of LVM_GETITEMPOSITION tests.
2009-05-26 13:49:25 +02:00
Nikolay Sivov
6b63fce757
comctl32/listview: LVM_GETVIEWRECT is unsupported on LVS_REPORT style.
2009-05-26 13:49:17 +02:00
Nikolay Sivov
e7a07aa3fb
comctl32/listview: Basic LVM_GETVIEWRECT tests.
2009-05-26 13:49:11 +02:00
Nikolay Sivov
713898df0c
comctl32/mru: Fix test failures on Win9x.
2009-05-26 13:49:05 +02:00
Nikolay Sivov
5d631361c9
comctl32/mru: Check for NULL handles in MRU calls.
2009-05-25 14:26:25 +02:00
André Hentschel
6c915fb336
comctl32: Add ListView_SetCheckState and ListView_GetCheckState.
2009-05-25 14:23:01 +02:00
Nikolay Sivov
0920079b69
comctl32/listview: Don't hittest when it's not needed.
2009-05-25 11:38:36 +02:00
Nikolay Sivov
28bffafdf6
comctl32/listview: Simplify key selection handler a bit.
2009-05-25 11:38:32 +02:00
Nikolay Sivov
4527d02a44
comctl32/listview: Reuse cached control style.
2009-05-25 11:38:27 +02:00
Nikolay Sivov
1ce2797c2f
comctl32/listview: Remove duplicated expression.
2009-05-25 11:38:22 +02:00
Nikolay Sivov
7434b8002c
comctl32/toolbar: Retrieve Tooltips control data once at WinProc.
2009-05-25 11:38:00 +02:00
Nikolay Sivov
644b5f0e40
comctl32/hotkey: Remove useless line.
2009-05-25 11:37:50 +02:00
Nikolay Sivov
8296075fa7
comctl32/toolbar: Don't free Toolbar control data too early.
2009-05-25 11:37:27 +02:00
Nikolay Sivov
4db999ebdf
comctl32/treeview: Use message return values in TreeView tests.
2009-05-25 11:37:20 +02:00
Nikolay Sivov
ce12717c9e
comctl32/listview: Fix returning LVHT_ONITEMSTATEICON flag on hittesting.
2009-05-25 11:37:15 +02:00
Nikolay Sivov
c46a5141da
comctl32/listview: Draw focus rectangle only when visible.
2009-05-25 11:37:09 +02:00
Nikolay Sivov
691aa6e267
comctl32/tests: A bunch of ListView hittest tests.
2009-05-22 11:09:58 +02:00
Nikolay Sivov
1394c6eee3
comctl32/listview: Update focus rectangle properly.
2009-05-21 16:30:38 +02:00
Nikolay Sivov
d17afea70f
comctl32/tests: A basic test for ListView WM_SETREDRAW.
2009-05-21 16:17:51 +02:00
Nikolay Sivov
c198338263
comctl32/listview: Don't use uninitialized value.
2009-05-21 16:17:51 +02:00
Nikolay Sivov
8f334205f9
comctl32/listview: Fix hittesting for LVS_REPORT subitems.
2009-05-20 14:57:35 +02:00
Nikolay Sivov
d769368f66
comctl32/listview: Handle mouse selections more accurately.
2009-05-19 15:42:11 +02:00
Nikolay Sivov
8f5a1ae8c9
comctl32/tooltips: Use cached colors for ToolTips.
2009-05-19 15:41:57 +02:00
Nikolay Sivov
a2f309a3ee
comctl32/syslink: Use cached colors for SysLink.
2009-05-19 15:41:53 +02:00
Nikolay Sivov
745f48157d
comctl32/tab: Use cached colors for Tab.
2009-05-19 15:41:48 +02:00
Nikolay Sivov
649e4640d1
comctl32/comboex: Use cached colors for ComboEx.
2009-05-19 15:41:43 +02:00
Nikolay Sivov
1f43da01c0
comctl32/toolbar: No need to use GetSysColor directly.
2009-05-19 15:41:37 +02:00
Nikolay Sivov
97ecd468c4
comctl32/toolbar: Use already cached control window style.
2009-05-19 15:41:30 +02:00
Nikolay Sivov
b97600699a
comctl32/toolbar: Remove superfluous forward declarations.
2009-05-19 15:41:24 +02:00
Nikolay Sivov
9a0f600574
comctl32/toolbar: Retrieve control data once at WinProc.
2009-05-19 15:41:09 +02:00
Nikolay Sivov
2b72ae6e01
comctl32/status: Use cached colors instead of GetSysColor for Status.
2009-05-19 15:40:37 +02:00
Nikolay Sivov
109a10c961
comctl32/rebar: Use cached colors instead of GetSysColor for Rebar.
2009-05-19 15:40:31 +02:00
Nikolay Sivov
cf67786e40
comctl32/monthcal: Use cached colors instead of GetSysColor for MonthCal.
2009-05-19 15:40:20 +02:00
Nikolay Sivov
8806b1e83e
comctl32/ipaddress: Use cached colors instead of GetSysColor for IPAddress control.
2009-05-19 15:40:13 +02:00
Nikolay Sivov
45b8e6a4f9
comctl32/tests: Don't use magic numbers for ListView exstyles.
2009-05-18 13:38:40 +02:00
Nikolay Sivov
d93aab9c2a
comctl32/treeview: Use cached colors instead of GetSysColor in TreeView.
2009-05-18 13:38:32 +02:00
Nikolay Sivov
27f3a6d605
comtl32/listview: Cache Header control window GWL_STYLE.
2009-05-18 13:38:24 +02:00
Nikolay Sivov
f875314ffe
comctl32/header: Use cached colors instead of querying them again.
2009-05-18 13:38:08 +02:00
Nikolay Sivov
e6a3807e59
comctl32/header: Move parameter cast to WinProc where possible.
2009-05-18 13:37:57 +02:00
Nikolay Sivov
7a8f52b37c
comctl32/header: Retrieve control data only once at WinProc call.
2009-05-18 13:37:20 +02:00
Francois Gouget
ce5bb8b92c
comctl32/tests: Make flush_sequence() static.
2009-05-15 10:30:44 +02:00
Nikolay Sivov
a1cac2c314
comctl32/listview: Don't check for state changes we are not aware to store (with some tests).
2009-05-13 12:03:56 +02:00
Nikolay Sivov
bad1dda9ad
comctl32/listview: A couple of tests for changing item attributes.
2009-05-12 11:21:35 +02:00
Nikolay Sivov
b4e7e257e0
comctl32/header: Make Header_* macros match PSDK.
2009-05-12 11:21:25 +02:00
Nikolay Sivov
e847d7c038
comctl32/listview: Don't redraw focus rectangle on column scroll.
2009-05-11 14:51:53 +02:00
Nikolay Sivov
4a5e23a2f9
comctl32/listview: Select all items with LVM_SETITEMSTATE is blocked in LVS_SINGLESEL.
2009-05-11 14:51:43 +02:00
Nikolay Sivov
472b521606
comctl32/listview: Remove superfluous forward declarations.
2009-05-11 14:51:35 +02:00
Giuseppe Bilotta
585c3abb6b
comctl32/toolbar: When a null lParam is passed to TB_GETBUTTONTEXTA, we should not return -1 but the string size.
2009-05-07 15:15:07 +02:00
Giuseppe Bilotta
fcc9b57c7a
comctl32/toolbar: Skip iString field for separators.
2009-05-07 15:14:42 +02:00
Nikolay Sivov
4bc8e87ab6
comctl32/listview: Add tests for LVS_NOSORTHEADER switchover.
2009-05-07 14:44:22 +02:00
Nikolay Sivov
5123ffc36b
comctl32/listview: Remove irrelevant fixme comment.
2009-05-07 14:44:22 +02:00
Nikolay Sivov
e7537418d9
comctl32/listview: Use handlers instead of sending messages to oneself.
2009-05-05 11:51:05 +02:00
Nikolay Sivov
50c3b530f7
comctl32/listview: Forward WM_ERASEBKGND to parent on CLR_NONE.
2009-05-04 13:23:31 +02:00
Nikolay Sivov
1fac98d3c1
comctl32/listview: Test WM_ERASEBKGND forwarding to parent on CL_NONE background.
2009-05-04 13:23:24 +02:00
Nikolay Sivov
59b08cc1e3
comctl32/listview: Additional test for LVS_EX_HEADERDRAGDROP.
2009-05-04 13:23:11 +02:00
Nikolay Sivov
2829c5fd1e
comctl32/listview: Fix LVM_INSERTITEM handling on LVS_SORTxxx styles.
2009-05-04 13:23:03 +02:00
Francois Gouget
8a46d0eaf5
Assorted spelling fixes.
2009-05-04 12:53:29 +02:00
Nikolay Sivov
3d7eb3d414
comctl32/listview: Fix wrong function description.
2009-05-01 16:19:45 +02:00
Nikolay Sivov
ebeabf11d3
comctl32/listview: Remove wrong TODO entry.
2009-05-01 14:34:00 +02:00
Nikolay Sivov
8a03ac58c5
comctl32/listview: Check columns array size before trying to obtain rectangle.
2009-04-30 17:19:56 +02:00
Nikolay Sivov
146209381b
comctl32/listview: Don't draw wrapped focus rectangle.
2009-04-30 12:47:30 +02:00
Nikolay Sivov
4ba9e61661
comctl32/header: Reset internal drag state on mouse up.
2009-04-30 12:47:20 +02:00
Timo Kreuzer
b4cc117b38
comctl32: Change UINT to UINT_PTR in CreateToolbarEx.
2009-04-30 12:46:52 +02:00
Nikolay Sivov
9f6bd09ec0
comctl32/listview: A couple of LVM_GETITEM tests with incomplete masks.
2009-04-29 14:23:52 +02:00
Nikolay Sivov
cd8b91f1bb
comctl32/listview: Handle LVIF_NORECOMPUTE in LVM_GETITEM[A,W].
2009-04-29 14:23:42 +02:00
Nikolay Sivov
43dcbdeb70
comctl32/listview: Some tests for LVIF_NORECOMPUTE flag.
2009-04-29 14:23:33 +02:00
Nikolay Sivov
bbd00da488
comctl32/listview: Handle CCM_[G,S]ETVERSION in listview.
2009-04-29 14:23:17 +02:00
Nikolay Sivov
82744c93e0
comctl32/listview: Fix resizing grid drawing at right from rightmost column.
2009-04-27 13:47:48 +02:00
Nikolay Sivov
d1d7dfab64
comctl32/listview: Fix horizontal grid line drawing.
2009-04-27 13:47:41 +02:00
Nikolay Sivov
2796763ee3
comctl32/listview: Draw rightmost vertical grid line when needed.
2009-04-27 13:47:35 +02:00
Nikolay Sivov
3f0824bdf4
comctl32/listview: Remove duplicated iterator initializer.
2009-04-27 13:47:25 +02:00
Nikolay Sivov
bf61677998
comctl32/listview: Reuse existing variable instead of duplicated expression.
2009-04-27 13:47:18 +02:00
Nikolay Sivov
8b26cce8f8
comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header.
2009-04-24 15:50:39 +02:00
Nikolay Sivov
3845ed795f
comctl32/tests: Tests for LVM_GETCOLUMNORDERARRAY: it actually uses HDM_GETORDERARRAY.
2009-04-24 15:50:32 +02:00
Alexandre Julliard
a4df29013c
comctl32: Repaint comboex control upon WM_SETREDRAW, like other common controls do.
2009-04-23 20:15:22 +02:00
Nikolay Sivov
d30df7de06
comctl32/tests: Existing items aren't resorted after LVS_SORTASCENDING added.
2009-04-23 18:14:26 +02:00
Nikolay Sivov
946936c274
comctl32/tests: Remove tests failing on most platforms.
2009-04-23 14:22:07 +02:00
Giuseppe Bilotta
6a01f71949
comctl32/toolbar: Fix trace info for TOOLBAR_InternalInsertButtonsT.
2009-04-22 17:00:51 +02:00
Nikolay Sivov
457c983ee3
comctl32/listview: Partial fix for LVM_GETSUBITEMRECT for item == -1.
2009-04-22 13:14:48 +02:00
Nikolay Sivov
09d6a6c8c9
comctl32/listview: Additional tests for LVM_GETSUBITEMRECT.
2009-04-22 13:14:30 +02:00
Igor Tarasov
3e235cc363
comctl32: TOOLBAR_SetImageList should recalculate toolbar only if it is necessary.
2009-04-22 12:56:19 +02:00
Peter Schauer
56720276e8
comctl32/listview: Fix warning from DPA_GetPtr.
2009-04-21 16:24:36 +02:00
Nikolay Sivov
9cc12d2879
comctl32/listview: Header should be created when LVS_EX_HEADERDRAGDROP set.
2009-04-21 15:31:00 +02:00
Nikolay Sivov
ac8257cb1e
comctl32/listview: Add a TRACE(..) to LISTVIEW_CreateHeader.
2009-04-21 15:30:55 +02:00
Nikolay Sivov
949e9043b9
comctl32/listview: LVM_SETITEM is unsupported on LVS_OWNERDATA.
2009-04-21 15:30:47 +02:00
Florian Köberle
5a6f956187
comctl32: Fix expanding of invisible sub trees.
2009-04-21 15:30:37 +02:00
Florian Köberle
123dc34aec
comctl32/tests: Test expanding of a invisible sub tree.
2009-04-21 15:30:30 +02:00
Igor Tarasov
74baffb254
comctl32: Fix typo in TOOLBAR_SetButtonSize code.
2009-04-21 14:25:15 +02:00
Nikolay Sivov
3ce8e20896
comctl32/listview: Some tests for LVS_SINGLESEL switchover.
2009-04-20 15:25:03 +02:00
Nikolay Sivov
0588ba7fef
comctl32/listview: Fix a regression caused by 9c1a0e468f
.
2009-04-20 15:24:58 +02:00
Nikolay Sivov
42bef95cbc
comctl32/listview: Switching to/from LVS_OWNERDATA isn't allowed after creation.
2009-04-20 15:24:48 +02:00
Nikolay Sivov
10a936150b
comctl32/listview: Slightly enlarge rectangle when drawing checkbox.
2009-04-20 15:24:41 +02:00
Nikolay Sivov
ffb214a66b
comctl32/listview: Add a ListView_GetTextBkColor macro.
2009-04-20 15:24:35 +02:00
Igor Tarasov
c037b333c8
comctl32: Fix regression caused by 2d751ee56a
.
...
Fixing regression produced by "comctl32: Correct handling of toolbar
separators size". As it came out, some applications DO rely on iBitmap
value, but it can be received not with TB_GETBUTTONINFO, but with
TB_GETBITMAP.
2009-04-20 14:13:54 +02:00
Nikolay Sivov
b2486d41c7
comctl32/listview: Implemented LVM_SORTITEMSEX.
2009-04-15 16:19:01 -05:00
Nikolay Sivov
961f175cc2
comctl32/listview: Fix some comment typos.
2009-04-15 16:18:36 -05:00
Nikolay Sivov
e014484a43
comctl32/listview: Fix a regression caused by 59148d0bb5
.
2009-04-14 14:49:43 -05:00
Nikolay Sivov
9c1a0e468f
comctl32/listview: Fix selection handling in LVM_SORTITEMS (with some tests).
2009-04-14 14:49:22 -05:00
Nikolay Sivov
b2917cf598
comctl32/updown: Allow ranges with max < min for Up/Down control.
2009-04-10 14:49:23 +02:00
Nikolay Sivov
13dfb9b3a6
comctl32/listview: State mask should be ignored on LVM_INSERTITEM.
2009-04-10 10:23:44 +02:00
Nikolay Sivov
bc22a89306
comctl32/tab: Simplify hottracked button painting.
2009-04-09 11:18:52 +02:00
Nikolay Sivov
59148d0bb5
comctl32/listview: Implement delayed header creation for ListView control.
2009-04-08 11:39:25 +02:00
Nikolay Sivov
5ebc7ba72d
comctl32/tab: Fix filled rectangle calculation for selected button on TCS_BUTTONS.
2009-04-07 11:21:13 +02:00
Nikolay Sivov
59ae274ac3
comctl32/tab: Fix hottracked button size.
2009-04-07 11:21:03 +02:00
Nikolay Sivov
483083e306
comctl32/tab: Draw hottracked tab button properly.
2009-04-06 11:16:32 +02:00
Marcus Meissner
e28c28b461
comctl32: Avoid potential overflow in Search Param (Coverity 903).
2009-04-06 11:16:05 +02:00
Nikolay Sivov
d7439c0b75
comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc.
2009-04-03 13:01:07 +02:00
Nikolay Sivov
6b6d18d766
comctl32: Additional tests for ListView header creation.
2009-04-02 16:28:42 +02:00
Michael Stefaniuc
1513dd2073
comctl32/tests: Use LONG instead of long.
2009-04-02 16:28:30 +02:00
Nikolay Sivov
4902dd9801
comctl32: Enable selection overwriting in IP Address control.
2009-04-02 15:09:55 +02:00
Nikolay Sivov
276c7a3bc6
comctl32: listview: Some tests showed delayed header creation in ListView control.
2009-04-01 17:10:21 +02:00
Igor Tarasov
2d751ee56a
comctl32: Correct handling of toolbar separators size.
2009-03-31 12:40:59 +02:00
Igor Tarasov
88b64d486d
comctl32: CCS_VERT flips toolbar separators orientation.
2009-03-31 12:40:51 +02:00
Nikolay Sivov
4ebf2e4526
comctl32/tab: Fix highlighted tabs painting.
2009-03-30 15:08:20 +02:00
Nikolay Sivov
4b2ea6f4e2
comctl32/tab: Implemented TCS_MULTISELECT for mouse selection.
2009-03-30 15:08:11 +02:00
Nikolay Sivov
e2b1604f4a
comctl32/tab: Implemented TCM_DESELECTALL.
2009-03-30 15:07:56 +02:00
Nikolay Sivov
48e7428964
comctl32/tab: Remove direct access to items array.
2009-03-30 15:07:47 +02:00
Nikolay Sivov
0e5dac618f
comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state.
2009-03-26 11:56:09 +01:00
Nikolay Sivov
db60f69cba
comctl32/tab: Handle state mask in TCM_[G,S]ETITEM.
2009-03-26 11:56:05 +01:00
Nikolay Sivov
751732e694
comctl32/tab: Draw tab button properly on TCIS_BUTTONPRESSED state.
2009-03-26 11:55:56 +01:00
Paul Vriens
7e7e27f7ff
comctl32/tests: Fix a crash on W2K and below.
2009-03-25 11:06:19 +01:00
Nikolay Sivov
bdd1206ca5
comctl32/listview: Some tests for LVM_GETSUBITEMRECT.
2009-03-24 12:43:05 +01:00
Nikolay Sivov
85c03a5a31
comctl32/ipaddress: Store current IP address text as a window text for IP Address control.
2009-03-24 12:42:56 +01:00
Nikolay Sivov
b7d7d58978
comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1.
2009-03-24 12:42:19 +01:00
Nikolay Sivov
92b0ad98e1
comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style.
2009-03-24 12:40:15 +01:00
Nikolay Sivov
b896b92061
comctl32/tab: Fix button background filling on TCS_BUTTONS.
2009-03-24 12:39:17 +01:00
Nikolay Sivov
4585148547
comctl32/tab: Implement TCM_REMOVEIMAGE.
2009-03-24 12:38:37 +01:00
Nikolay Sivov
b7f0dd64da
comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA.
2009-03-13 11:28:31 +01:00
Nikolay Sivov
24dc6600fc
comctl32: Fix item selection with VK_SPACE when Ctrl is pressed.
2009-03-11 13:03:31 +01:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
Nikolay Sivov
74e9b904b9
comctl32: Replace nonprintable characters with spaces on SB_SETTEXT.
2009-03-06 16:36:57 +01:00
Alexandre Julliard
74271fc4cf
comctl32/tests: Disable a test that crashes on NT4.
2009-03-06 12:38:34 +01:00
Alexandre Julliard
ff28ec0ddd
comctl32/tests: Fix the monthcal window creation message sequence.
2009-03-06 12:38:28 +01:00
Alexandre Julliard
f493122879
comctl32/tests: Set the listview image list after WM_CREATE has been processed.
2009-03-05 23:19:08 +01:00
Nikolay Sivov
f35960200a
comctl32: Correctly report systemcolor use for Treeview background.
2009-03-03 13:24:08 +01:00
Aurimas Fischer
c5d0ff8370
comctl32: Add Lithuanian translation.
2009-03-02 15:07:55 +01:00
Gerald Pfeifer
2a7d98a52c
comctl32: Simplify three TAB_ functions.
2009-03-02 13:59:51 +01:00
Igor Tarasov
08bd265f52
comctl32: Make REBAR_StyleChanged respect wParam.
2009-02-27 14:14:31 +01:00
Francois Gouget
e7800f2a52
comctl32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-26 12:18:51 +01:00
Igor Tarasov
b3b7ecb390
comctl32: Make listview forward HDN_ITEMCLICK.
2009-02-19 16:17:18 +01:00
Igor Tarasov
d86a5a611d
comctl32: Do not send LVN_DELETEITEM on LVM_DELETEALLITEMS for virtual listviews.
2009-02-19 16:17:18 +01:00
Igor Tarasov
e02d80b775
comctl32: Implement LVN_ODFINDITEM.
2009-02-19 16:17:18 +01:00
Igor Tarasov
73b490b57d
comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters.
2009-02-19 16:17:18 +01:00
Gerald Pfeifer
9d9880bd34
comctl32: Simplify eight TOOLBAR_ function invocations.
2009-02-16 16:01:37 +01:00
Gerald Pfeifer
91df8fd59c
comctl32: Simplify fifteen tooltips function invocations.
2009-02-16 16:01:37 +01:00
Rein Klazes
da257e3301
comctl32: Fix for owner draw statusbar.
...
Ownerdraw status bar should update on receiveing a SB_SETTEXT message,
even if the 'text' parameter has not changed. Fix with conformance
test.
2009-02-16 16:01:23 +01:00
Detlef Riekenberg
bea3bff2bb
comctl32/tests: The status control use a different formula in XP and up for the height.
2009-02-13 13:00:34 +01:00
Michael Stefaniuc
da6d7920de
comctl32: Remove superfluous pointer casts.
2009-02-13 13:00:25 +01:00
Michael Stefaniuc
9b626c2291
comctl32: Remove an one-off macro.
2009-02-13 13:00:22 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Vitaliy Margolen
c80fdb881a
comctl32: Use style to distinguish between embedded and standalone propsheets.
...
Some programs alter propsheet style in the callback during creation to make
"embedded" propsheets. PSH_MODELESS controls modal/modeless operation only.
2009-02-09 13:21:34 +01:00
Michael Stefaniuc
fc46bb1479
comctl32/tests: Remove superfluous pointer casts.
2009-02-06 14:54:01 +01:00
Detlef Riekenberg
f78f4d89b7
comctl32/tests: Make the test dpi and theme aware by using SM_CYSIZE.
2009-02-04 14:27:25 +01:00
Mikołaj Zalewski
aa7a0b85b0
comctl32: toolbar: Only changing TBSTYLE_EX_MIXEDBUTTONS should cause a recalc.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
574c0dcc32
comctl32: toolbar: Unlike in listview, TB_SETEXTENDEDSTYLE takes the actual style, not a mask.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
5de172af78
comctl32: toolbar: TB_SETBUTTONINFO should do a relayout instead of a recalc.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
ada088e62d
comctl32: toolbar: Use different function for dumping of TBUTTON_INFO and TBBUTTON.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
ca9f7d3140
comctl32: toolbar: Move common TB_ADDBUTTONS and TB_INSERTBUTTONS code into a helper function, makes TB_INSERTBUTTON with a text perform a recalc (with testcase).
2009-02-02 15:48:26 +01:00
Detlef Riekenberg
dd85159155
comctl32: Make the status control height dpi and theme aware.
2009-02-02 15:44:39 +01:00
Vitaliy Margolen
edbea606f9
comctl32: Fix propsheet size calculation.
2009-02-02 15:21:45 +01:00
Gerald Pfeifer
bb6e8e56ce
comctl32: Simplify four functions by removing unused parameters.
2009-02-02 15:21:43 +01:00
Mikołaj Zalewski
d31828b500
comctl32: toolbar: Make sure all TBUTTON_INFO fields are initialized when a button is added in the middle.
2009-01-28 12:09:51 +01:00
Alasdair Sinclair
4475045fe1
comctl32: Fix missing void in empty parameter list.
2009-01-26 15:07:30 +01:00
Alasdair Sinclair
4f0e6885d0
comctl32/tests: Fix missing void in empty parameter list.
2009-01-26 15:07:26 +01:00
Reece Dunn
7fcc9629f8
comctl32: Don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style.
2009-01-26 14:30:41 +01:00
Gerald Pfeifer
bcfc2027fb
comctl32: Simplify ten functions by removing unused parameters.
2009-01-23 12:57:02 +01:00
Francois Gouget
02ace3613c
comctl32/tests: Add a trailing '\n' to an ok() call.
2009-01-22 12:04:01 +01:00
André Hentschel
2ef02afe95
comctl32: Fix callback in treeview.
2009-01-21 10:25:06 +01:00
Mario Kacmar
2cf66e9a63
comctl32: Added Slovak translation.
2009-01-20 12:32:31 +01:00
Mikołaj Zalewski
390e1dfa28
comctl32: treeview: Add a test showing that a pszText of NULL is equivalent to LPSTR_CALLBACK.
2009-01-20 12:30:42 +01:00
Gerald Pfeifer
e985ca06cf
comctl32: Simplify twelve functions by removing unused parameters.
2009-01-19 14:50:39 +01:00
Gerald Pfeifer
2a06a97336
comctl32: Remove unused parameter from SYSLINK_WrapLine.
2009-01-19 12:46:41 +01:00
André Hentschel
eda4872c45
comctl32/tests: Fix wrong comment-headline in toolbar.c.
2009-01-14 12:20:11 +01:00
Alexandre Julliard
76a2fe5cf7
comctl32/tests: Fix lparam checks in the treeview test for Win64.
2009-01-10 21:05:32 +01:00
Alexandre Julliard
de375d7335
comctl32: Fix the COMBOBOXEXITEM structure and the treeview handles for Win64.
2009-01-10 21:05:17 +01:00
Ge van Geldorp
80d4d54c59
comctl32/tests: Fix title bar tests for non-English locales.
2009-01-05 15:08:35 +01:00
Michael Stefaniuc
ac37f1b7fb
comctl32/tests: Do not cast the IDC_* defines to a LPSTR.
2009-01-05 12:35:06 +01:00
Alexandre Julliard
a52977dc4a
comctl32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:13:20 +01:00
Andrew Talbot
c8cf421186
comctl32: Declare some variables static.
2009-01-02 14:27:44 +01:00
Rob Shearman
76b805dad4
comctl32: Add names for now documented toolbar messages.
2009-01-02 14:27:43 +01:00
Gerald Pfeifer
6bdcdc4232
comctl32: Simplify fifteen functions by removing unused parameters.
2009-01-02 12:39:31 +01:00
Gerald Pfeifer
6eb33b932e
comctl32: Simplify NATIVEFONT_Create.
2008-12-27 20:28:37 +01:00
Gerald Pfeifer
568a4bdd2a
comctl32: Simplify COMBOEX_Command.
2008-12-27 20:28:30 +01:00
Gerald Pfeifer
d7876a2cd4
comctl32: Simplify DATETIME_Char.
2008-12-27 20:28:22 +01:00
Gerald Pfeifer
d7d6ceb4da
comctl32: Shed off some unused parameters.
2008-12-27 20:28:13 +01:00
Andrew Talbot
c086f532f2
comctl32: Remove unused Wine debug channel.
2008-12-17 13:52:40 +01:00
Paul Vriens
1a853abecb
comctl32/tests: Destroy the window after the tests.
2008-12-16 12:51:26 +01:00
ByeongSik Jeon
5f3287d79f
*Ko.rc: Update Korean resource.
...
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon
1b0297a7f9
*Zh.rc: Update the Chinese resource font name to "MS Shell Dlg".
2008-12-11 12:20:48 +01:00
Alexandre Julliard
c6aebe12b0
comctl32: Make a function static.
2008-12-04 12:46:45 +01:00
Alexandre Julliard
acdcb19cbb
comctl32/tests: Avoid handle casts in traces.
2008-12-04 12:12:29 +01:00
Alexandre Julliard
c03917c173
Define _WIN32_WINNT before including any headers.
2008-12-04 12:10:16 +01:00
Aric Stewart
110a6048af
comctl32/tab: Return default tab width in TCM_SETMINTABWIDTH if lParam is a negative value.
2008-12-03 11:37:58 +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
Ricardo Filipe
1c55ba0b83
comctl32: Removed dead assignments (llvm/clang).
2008-11-25 13:07:35 +01:00
Ricardo Filipe
66019452f4
comctl32: Remove dead stores (llvm/clang).
2008-11-21 11:28:51 +01:00
Ricardo Filipe
6c24fb1ca8
comctl32: Removed dead increment (llvm/clang).
2008-11-21 11:28:45 +01:00
Ricardo Filipe
422cd0bc3a
comctl32: Removed dead increment (llvm/clang).
2008-11-21 11:28:40 +01:00
Ricardo Filipe
5630124896
comctl32: Removed dead store (llvm/clang).
2008-11-21 11:28:36 +01:00
Vincent Povirk
00e2d897c2
comctl32: Do not repaint on TBM_SETPOS if position is unchanged.
2008-11-17 13:54:52 +01:00
Detlef Riekenberg
f0d0ac75dc
comctl32/tests: Make the header test dpi aware.
2008-11-14 12:08:42 +01:00
Lei Zhang
87ca1b9416
comctl32: Check for NULL input in TAB_AdjustRect.
2008-11-11 11:40:46 +01:00
Sergey Khodych
30a6f54dc9
comctl32/tests: Fix typo in toolbar todo test.
2008-11-07 11:17:56 +01:00
Reece Dunn
9368972866
comctl32: Don't draw the theme background of the group box over it's content area.
...
Hi,
Some applications (e.g. Cepstral SwiftTalker) have dialogs that
contain controls that are ordered before the group box that contains
them. The current rendering of themed group boxes will draw it's
background over the content area, hiding any controls that have
already been drawn. XP with the default and other custom themes
correctly shows controls beneath the group box.
This patch excludes the group box content area from being drawn to, so
that any controls that have already been drawn do not get overridden.
- Reece
From 889e477bcb4561565b8caaf41c88c5fe7d83b8d2 Mon Sep 17 00:00:00 2001
From: Reece Dunn <msclrhd@gmail.com>
Date: Fri, 7 Nov 2008 00:11:52 +0000
Subject: [PATCH] comctl32: don't draw the theme background of the group box over it's content area.
2008-11-07 11:01:26 +01:00
Michael Stefaniuc
c46a88a3c9
comctl32: Remove superfluous casts that crept in as well as some older ones.
2008-11-07 11:00:16 +01:00
Sergey Khodych
7f25cd993c
comctl32: toolbar: Use a cx field for buttons in TOOLBAR_WrapToolbar.
2008-11-06 11:56:03 +01:00
Sergey Khodych
65e9a6e02e
comctl32: toolbar: Improve text layout in TBSTYLE_LIST toolbars.
2008-11-06 11:55:56 +01:00
Sergey Khodych
1232b08449
comctl32: toolbar: Calculate a correct size for empty buttons with the BTNS_AUTOSIZE style.
2008-11-06 11:55:51 +01:00
Reece Dunn
5c76b4da73
comctl32: Support themed check boxes and radio buttons.
2008-11-05 13:14:13 +01:00
Reece Dunn
1f9cc20466
comctl32: Support themed push buttons.
2008-11-05 13:13:29 +01:00
Aric Stewart
e46a875996
comctl32: Add implementation of LVS_EX_ONECLICKACTIVATE.
2008-11-05 10:55:05 +01:00
Michael Stefaniuc
62e17fa8c4
comctl32: Do not cast zero.
2008-11-04 11:26:22 +01:00
Michael Stefaniuc
06c4de0461
comctl32/tests: Use MAKELPARAM instead of "(LPARAM) MAKELONG".
2008-11-04 11:26:01 +01:00
Michael Stefaniuc
d4b8948ce3
comctl32: Do not cast NULL.
2008-11-03 13:41:58 +01:00
Lei Zhang
913373d2e6
comctl32: Only update comboex edit box if the mask has CBEIF_TEXT set.
2008-10-29 13:29:33 +01:00
Lei Zhang
2881b171df
comctl32: Reset nEditLabelItem in LISTVIEW_EndEditLabelT.
2008-10-29 13:29:33 +01:00
Lei Zhang
10d3ea30b7
comctl32: Don't notify if listview edit box contents have not changed.
2008-10-29 13:29:33 +01:00
Lei Zhang
9b057494d0
comctl32: Get rid of DragDetect.
2008-10-29 13:29:33 +01:00
Michael Stefaniuc
b12fbe1630
comctl32: HANDLE/HGLOBAL are basically just void pointers. No casts to other pointers are needed.
2008-10-29 11:52:22 +01:00
Michael Stefaniuc
d1791f8108
comctl32: Remove superfluous casts as HANDLE to other handle types.
2008-10-28 12:34:05 +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
092b892f54
comctl32: HGDIOBJ is interchangeable with other handle types so don't cast.
2008-10-27 11:29:46 +01:00
Michael Stefaniuc
758f799205
comctl32: Just use 0 instead of casting NULL twice to an integer type.
2008-10-27 11:28:12 +01:00
Michael Stefaniuc
6060ca9438
comctl32: LockResource() returns a LPVOID so don't cast its return value.
2008-10-24 14:24:59 +02:00
Michael Stefaniuc
1659313142
comctl32: DPA_GetPtr() returns a LPVOID so don't cast its return value.
2008-10-24 14:24:59 +02:00
Michael Stefaniuc
b723e6f6b6
comctl32: Remove the superfluous casting of the LPVOID returned by Alloc().
2008-10-24 14:24:59 +02:00
Paul Vriens
aad6125340
comctl32/tests: Use win_skip instead of trace.
2008-10-21 11:43:41 +02:00
Paul Vriens
1b494e7f31
comctl32/tests: Use win_skip instead of trace.
2008-10-21 11:43:36 +02:00
Detlef Riekenberg
2910b90c70
comctl32/tests: Fix tests to not depend on 96 dpi, make it pass in Wine.
2008-10-14 14:02:28 +02:00
Muneyuki Noguchi
9035894fff
comctl32: Convert Japanese resource to UTF-8.
2008-10-13 11:40:51 +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
Michael Stefaniuc
15e5f6844a
comctl32: Use FAILED instead of !SUCCEEDED.
2008-10-08 13:42:47 +02:00
Paul Vriens
d0dfd9d784
comctl32/tests: Don't crash on some win9x boxes.
2008-10-02 10:41:26 -05:00
James Hawkins
23d899d8ab
comctl32: Only log system messages.
2008-10-01 11:41:59 -05:00
James Hawkins
3e8a63d5fa
comctl32: Fix several test failures in win2k.
2008-10-01 11:41:54 -05:00
James Hawkins
e1111a5bef
comctl32: Only log system messages.
2008-10-01 11:41:45 -05:00
Lei Zhang
60d97040f8
comctl32: Avoid a divide by zero in listview.
2008-09-30 10:56:55 -05:00
James Hawkins
2f8830d55b
comctl32: Fix a test on locales where default first day of week is not the max value.
2008-09-29 17:25:30 -05:00
Francois Gouget
1177bbaa9e
comctl32/tests: Don't crash if adding the tooltip failed.
2008-09-29 17:24:55 -05:00
Francois Gouget
17d798eae9
comctl32/tests: FreeMRUList(NULL) crashes on Win98 OSR0.
2008-09-29 17:23:48 -05:00
Muneyuki Noguchi
adb32f76fc
comctl32: Use "MS Shell Dlg" 9 in Japanese resources.
2008-09-29 17:17:19 -05:00
James Hawkins
56260ec782
comctl32: Add a missing newline.
2008-09-24 13:11:55 +02:00
James Hawkins
921f67a607
comctl32: Fix a failing test in win95.
2008-09-24 13:11:51 +02:00
James Hawkins
0f38a6c881
comctl32: Fix several failing tests in win95.
2008-09-24 13:11:30 +02:00
Alexandre Julliard
8552b50640
comctl32/tests: Fix a couple of message test failures.
2008-09-22 12:15:11 +02:00
Andrew Talbot
d0e860b8a3
comctl32: Sign-compare warnings fix.
2008-09-22 11:52:15 +02:00
Jan de Mooij
403221c228
comctl32/treeview: Fix pszText NULL pointer dereference.
2008-09-18 13:26:19 +02:00
Nicolas Le Cam
47bcdc32a4
comctl32/tests: Fix a failing test for some platforms.
2008-09-16 11:28:58 +02:00
Nicolas Le Cam
af78a7bfe4
comctl32: Fix a failing test for some platforms.
2008-09-15 13:38:58 +02:00
Andrew Talbot
183f92b22a
comctl32: Sign-compare warnings fix.
2008-09-15 11:47:45 +02:00
James Hawkins
72638e0ea4
comctl32: Fix the remaining broken tests in win95.
2008-09-15 11:29:39 +02:00
James Hawkins
3b5c2cba44
comctl32: Fix several failing tests in win95.
2008-09-15 11:29:33 +02:00
Lei Zhang
fc2404bc20
comctl32: Handle listview dragging better.
2008-09-11 12:33:01 +02:00
Lei Zhang
5f9b0db217
comctl32: listview: Prevent DragDetect from removing WM_LBUTTONUP messages.
2008-09-11 12:32:53 +02:00
James Hawkins
cc0ea85c34
comctl32: Store the previous timeout value to test with.
2008-09-09 11:46:17 +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
James Hawkins
a061f642d6
comctl32: Fix two test failures in win2000.
2008-09-08 12:47:23 +02:00
James Hawkins
e7d9185419
comctl32: Trace the first day of the week.
2008-09-08 12:47:23 +02:00
James Hawkins
66e4be152a
comctl32: Fix a failing test for some platforms.
2008-09-08 12:47:23 +02:00
James Hawkins
3e2ac662f1
comctl32: Fix a typo.
2008-09-08 12:47:22 +02:00
James Hawkins
106791c610
comctl32: Fix several test failures in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
66483daf34
comctl32: Fix a failing test in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
dcc230c567
comctl32: Fix a couple failing tests in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
d54963e512
comctl32: Allow a little slop in the status bar metric tests.
2008-09-08 12:47:22 +02:00
James Hawkins
f5e298d2db
comctl32: Fix several failing tests in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
5362bfa776
comctl32: Fix two failing tests in win98.
2008-09-08 12:47:22 +02:00
Marcus Meissner
96412ee564
Annotate with allocation size attribute.
2008-09-05 11:22:26 +02:00
Nicolas Le Cam
22e69c0ee4
comctl32: Implement LVM_GETUNICODEFORMAT.
2008-09-04 11:51:40 +02:00
James Hawkins
99a5afa616
comctl32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
a9086abac6
comctl32: Fix a failing test in win98.
2008-09-03 14:21:42 +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
Hongbo Ni
a2ac029599
comctl32: Add traditional Chinese resources.
2008-09-02 11:57:32 +02:00
Alexandre Julliard
c5ef467f4d
comctl32: Rename the Chinese resources to comctl_Zh.rc.
2008-08-29 13:53:21 +02:00
James Hawkins
24bd8c0faf
comctl32: Fix a failing test in win2000.
2008-08-29 13:26:07 +02:00
James Hawkins
fd16a61128
comctl32: Trace the message sequences.
2008-08-29 13:26:02 +02:00
James Hawkins
72f55763f6
comctl32: Fix a test failure in win98.
2008-08-29 13:25:57 +02:00
James Hawkins
eb86c5bb12
comctl32: Fix several test failures in win98.
2008-08-29 13:24:58 +02:00
James Hawkins
f126c765c7
comctl32: Fix a failing test in XP.
2008-08-29 13:21:01 +02:00
James Hawkins
1258e4d8ff
comctl32: Fix a few failing tests in win2000.
2008-08-29 13:20:53 +02:00
Hongbo Ni
e2f5ab434a
comctl32: Convert simplified Chinese resource to utf8.
2008-08-27 13:21:22 +02:00
Paul Vriens
2d18e5aac4
comctl32/tests: Don't assert on not implemented function.
2008-08-27 13:21:21 +02:00
Hongbo Ni
a8a359ac68
comctl32: Update simplified Chinese resource.
2008-08-22 10:40:43 +02:00
Lei Zhang
098dc7b330
comctl32: Set listview focus on WM_LBUTTONUP instead of WM_LBUTTONDOWN.
2008-08-21 14:11:58 +02:00
Rob Shearman
6181419b64
comctl32: Fix use of arithmetic operator on Boolean type in TREEVIEW_ComputeItemInternalMetrics.
...
Use a conditional operator to get the same result, but improving
readability of the code.
2008-08-18 17:34:12 +02:00
Lei Zhang
fc6553973f
comctl32: Add a test for TTM_GETTEXT.
2008-08-18 17:15:56 +02:00
Will Tipton
accb5f8faf
comctl32: Added input validation to TOOLTIPS_GetTextW() in order to handle gracefully the case where it is called with an empty tooltip.
2008-08-18 17:15:56 +02:00
Paul Vriens
47edb3cbab
comctl32/tests: Run tests again on Win95.
2008-07-30 13:50:39 +02:00
Gerald Pfeifer
1cdb06c69c
comctl32: Remove unused parameter from _read_bitmap().
2008-07-29 13:53:42 +02:00
Gerald Pfeifer
d585d42209
comctl32: Push down function scope variable into the different case statements which allows us using more specific types in case.
2008-07-29 13:53:36 +02:00
Reece Dunn
e7d22dc966
comctl32: Made the button theme drawing code extensible.
2008-07-24 12:08:42 +02:00
Nicolas Le Cam
5cf418f521
comctl32/tests: Fix a test failure in multiple platforms.
2008-07-23 13:54:00 +02:00
Mikołaj Zalewski
9a70306c53
comctl32: statusbar: Optimize STATUSBAR_RefreshPart.
2008-07-23 11:21:38 +02:00
Mikołaj Zalewski
72d4318c8c
comctl32: statusbar: Test and fix SB_SETMINHEIGHT.
...
The minimal height should be saved so that it survives WM_SIZE or WM_SETFONT.
2008-07-23 11:21:18 +02:00
Mikołaj Zalewski
a289bab122
comctl32: toolbar: TB_SETBITMAPSIZE should not change a coordinate when passed -1 (with testcase).
2008-07-23 11:20:58 +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
f240b8f49e
comctl32: statusbar: Change the height expression to one that seems to be the same as in Windows.
2008-07-22 13:24:43 +02:00
Gerald Pfeifer
f3a031f248
comctl32: Fix type of loop variable in HEADER_DeleteItem.
2008-07-21 15:06:05 +02:00
Gerald Pfeifer
9500e70def
comctl32: header: Simplify by shedding off unused parameters.
2008-07-21 15:05:47 +02:00
Reece Dunn
a7794bcb50
comctl32: Fixed the MRU tests on Vista.
2008-07-21 14:45:40 +02:00
Mikołaj Zalewski
e016078fdf
comctl32: Fix the file version string declaration.
2008-07-21 12:18:18 +02:00
Mikołaj Zalewski
9aee00e8fa
comctl32: statusbar: WM_SETFONT should change the bar height.
2008-07-17 12:24:52 +02:00
Mikołaj Zalewski
f7cda904cd
comctl32: statusbar: Don't issue a WM_PAINT during a WM_CREATE.
2008-07-17 12:24:45 +02:00
Aric Stewart
11f09f3aa0
comctl32: rebar: Prevent unnecessary triggering of RBBIM_CHILDSIZE changes.
2008-07-17 10:51:18 +02:00
Aric Stewart
1c2ad72b47
comctl32: rebar: Record what changes and only redo the Layout if something of relevance changes.
2008-07-17 10:51:00 +02:00
Gerald Pfeifer
17f28f85d8
comctl32: rebar: Simplify by shedding off unused parameters.
2008-07-16 20:09:21 +02:00
Mikołaj Zalewski
1e43f207cd
comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE.
2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
0cb74db992
comctl32: statusbar: Rename NtfUnicode to bUnicode to make is more consistent with other controls, use NF_REQUERY in WM_CREATE.
2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
7f97372a89
comctl32: statusbar: Window is always Unicode, CCM_SETUNICODEFORMAT should change the notify format.
2008-07-16 19:56:24 +02:00
James Hawkins
b04ae273de
comctl32: Free the trackbar tics.
2008-07-14 11:51:13 +02:00
James Hawkins
83004cdd1e
comctl32: Explicity set the number of tics before testing tic placement.
2008-07-14 11:51:07 +02:00
Reece Dunn
a5d2801476
comctl32: Add support for drawing themed group boxes.
2008-07-11 15:29:37 +02:00
Gerald Pfeifer
baa818120c
comctl32: Some simplifications.
2008-07-11 15:19:15 +02:00
Vincent Povirk
2893294f4b
comctl32: Disable owner of modal property sheets before creating the dialog.
2008-07-09 12:40:08 +02:00
Vincent Povirk
57b25bcf48
comctl32: Add test for disabling owner of modal property sheets.
2008-07-09 12:40:03 +02:00
Gerald Pfeifer
c6db778f4c
comctl32: Simplify functions by shedding off unused parameters.
2008-07-08 11:32:00 +02:00
Gerald Pfeifer
0f35109915
comctl32: Fix signedness of two variables.
2008-07-08 11:31:38 +02:00
James Hawkins
ba1e75d9f6
comctl32: Properly set and store the default icon spacing.
2008-07-08 10:48:21 +02:00
Andrew Talbot
b7cc9c66b3
comctl32: Remove unneeded address-of operators from array names.
2008-07-08 10:47:43 +02:00
Dylan Smith
798afcf902
comctl32: Fix for ComboBoxEx bug caused by focus change.
2008-07-04 19:43:14 +02:00
Dylan Smith
da0175ba71
comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change.
...
Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.
2008-07-04 19:43:03 +02:00
James Hawkins
02c3bb7637
comctl32: Clean up and fix a few failing tests in win9x.
2008-06-30 15:07:05 +02:00
James Hawkins
e95bb17b4a
comctl32: Remove an assumption that causes test failures if default icon spacing is not 43x43.
2008-06-30 12:47:42 +02:00
Lei Zhang
011bad8ddf
comctl32: Use the system variable pitch font for ip address controls.
2008-06-26 13:16:58 +02:00
Guy Albertelli
6de3764339
comctl32: listview: Implement LVS_NOCOLUMNHEADER support for WM_STYLECHANGED message.
...
When switching LVS_NOCOLUMNHEADER on/off change the style of the header control HDS_HIDDEN.
2008-06-25 20:28:02 +02:00
Guy Albertelli
ff9bb5aec3
comctl32: listview: Show the header when updating header size if not LVS_NOCOLUMNHEADER.
2008-06-25 20:27:50 +02:00
Guy Albertelli
4b34260a73
comctl32: listview: Change header control create act like native for LVS_NOCOLUMNHEAD.
...
The native control issues the CreateWindowEx call with the HDS_HIDDEN
as part of the style and not by issuing the SetWindowLong call.
2008-06-25 20:26:00 +02:00
Gerald Pfeifer
bc588e6a37
comctl32: tooltips: Adjust the type of three loop variables from INT to UINT.
2008-06-23 12:47:23 +02:00
Lei Zhang
4700b0bd87
comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN.
2008-06-21 11:36:56 +02:00
Andrew Talbot
fb44bc2106
comctl32: Constify some variables.
2008-06-20 12:24:52 +02:00
Colin Finck
985b6e9c01
comctl32: Use a clip region when collapsing the treeview.
2008-06-19 11:47:17 +02:00
Francois Gouget
7857cf3dc7
A couple of spelling fixes.
2008-06-18 16:48:29 +02:00
Lei Zhang
59e3490cad
comctl32: Don't rearrange icons / update scroll bar when destroying a listview.
2008-06-18 16:03:20 +02:00
Tomasz Jezierski - Tefnet
4e224e73c4
comctl32/tests: Fix for setting wrong initial position in listbox.
2008-05-27 19:34:54 +02:00
Andrew Talbot
3c5308b804
comctl32: Indentation fix.
2008-05-23 11:58:18 +02:00
Tomasz Jezierski
1f051b8a7d
comctl32: Conformance test for multiple selection in listbox.
2008-05-21 14:26:44 +02:00
Alexandre Julliard
5315da8445
comctl32: Fix extending a multiple listview selection.
2008-05-21 14:26:35 +02:00
Mikołaj Zalewski
14a42f802d
Make Swedish use SUBLANG_NEUTRAL.
2008-05-19 16:09:13 +02:00
Igor Tarasov
fb61856b45
comctl32: Fix statusbar text alignment bug.
2008-05-14 12:22:17 +02:00
Guy Albertelli
09cb415109
listview: Return correct value from WM_NOTIFYFORMAT with test.
2008-05-08 11:11:03 +02:00
Francois Gouget
633ee950a1
Assorted spelling fixes.
2008-05-07 12:07:11 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +02:00