Commit Graph

912 Commits

Author SHA1 Message Date
Francois Gouget 31a24ca7af comctl32: Fix the wizard and property sheet dialog styles. 2011-09-08 20:08:06 +02:00
Francois Gouget 325275304c comctl32/tests: Check the styles of the wizard and property sheet dialogs. 2011-09-08 20:07:51 +02:00
Francois Gouget 6deccab6c9 comctl32: Property sheets must be able to redraw themselves even if no page is selected. 2011-09-06 12:23:55 +02:00
André Hentschel 030ea68963 comctl32/tests: Fix printing a NULL string. 2011-08-30 11:53:01 +02:00
Alexandre Julliard bd3b0e4f70 comctl32: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Florian Köberle e68b9f9fc9 comctl32/header: Don't free the imagelist in HEADER_NCDestroy. 2011-08-04 09:06:54 +02:00
Florian Köberle 9a616111da comctl32/tests: Test that headers do not free their image list. 2011-08-04 09:06:51 +02:00
André Hentschel a355121414 user32: Fix for finding nested default buttons. 2011-07-28 19:54:46 +02:00
Austin English fbb0e18051 comctl32/tests: Remove win9x hacks. 2011-07-27 12:17:15 +02:00
Nikolay Sivov 0a92c01a57 comctl32/listview: Don't invalidate list on LVM_SETBKCOLOR. 2011-07-20 19:23:05 +02:00
Nikolay Sivov 43a199d54d comctl32/listview: Don't invalidate list on LVM_SETTEXTCOLOR. 2011-07-20 19:23:05 +02:00
Nikolay Sivov 4fc8c44bf1 comctl32/listview: Don't invalidate list on LVM_SETTEXTBKCOLOR. 2011-07-20 19:23:05 +02:00
Nikolay Sivov 328368cba2 comctl32/tests: Test that edit box is not multiline. 2011-07-20 19:23:05 +02:00
Michael Stefaniuc 11e780ea07 comctl32/tests: Don't cast NULL to an int. 2011-07-19 18:26:21 +02:00
Nikolay Sivov a3ff177d7d comctl32/tests: Simplify a workaround for old module versions, add basic PSM_ADDPAGE test. 2011-07-06 17:03:51 +02:00
Nikolay Sivov 3969416808 comctl32/tests: Test more return values in tests (Clang). 2011-07-04 13:41:13 +02:00
Nikolay Sivov 7d31d39f00 comctl32/tab: Make WM_RBUTTONUP reach default window procedure. 2011-07-04 13:40:43 +02:00
Marcus Meissner 6b90f27d8f comctl32: Fixed strncpy (Coverity). 2011-06-28 11:57:51 -05:00
Jay Yang 30fa4cb5d0 comctl32: Make ComboBoxEx send CBEN_ENDEDIT when selecting from the dropdown list. 2011-06-24 13:13:24 -05:00
Marko Nikolic 909794a2cb comctl32/tests: Removed sign comparison warning in rebar tests. 2011-06-06 21:49:20 +02:00
Marko Nikolic 7399177f0b comctl32/tests: Removed sign comparison warning in imagelist tests. 2011-06-06 16:18:21 +02:00
Marko Nikolic 38bf3a6bbd comctl32/tests: Removed sign comparison warning in listview tests. 2011-06-06 16:17:56 +02:00
Marko Nikolic 589d87f215 comctl32/tests: Removed sign comparison warning in monthcal tests. 2011-06-06 16:17:52 +02:00
Marko Nikolic 1694555942 comctl32/tests: Removed sign comparison warning in tab tests. 2011-06-03 13:56:04 +02:00
Marko Nikolic 6ed2208e72 comctl32/tests: Removed sign comparison warning in status tests. 2011-06-02 16:22:44 +02:00
Marko Nikolic cf6dae563c comctl32/tests: Removed sign comparison warning in toolbar tests. 2011-06-02 16:22:44 +02:00
Marko Nikolic 2dd0d8ab2a comctl32/tests: Removed sign comparison warning in tooltip tests. 2011-06-01 16:09:11 +02:00
Marko Nikolic 8c13dcc2e9 comctl32/tests: Use unsigned constants to remove sign comparison warning. 2011-06-01 16:08:56 +02:00
Marko Nikolic e3ba666485 comctl32/tests: Fixed variable type, removed sign comparison warning. 2011-05-30 17:31:55 +02:00
Nikolay Sivov bcb98d11ba comctl32/treeview: TVM_EXPAND with TVE_TOGGLE action shouldn't always notify as it does on user input. 2011-05-25 11:54:13 +02:00
Gerald Pfeifer 35707aee68 comctl32/tests: Add casts to avoid comparison of different int types. 2011-05-23 11:21:54 +02:00
Nikolay Sivov f9ca298b21 comctl32/tests: Some tests for TVM_GETNEXTITEM and item toggle. 2011-05-20 10:29:24 +02:00
Nikolay Sivov 7ef4546cfb comctl32/treeview: Properly update image state index when TVS_CHECKBOXES is switched on. 2011-05-16 16:35:29 +02:00
Nikolay Sivov f9b14fda02 comctl32/treeview: Store item state supplied from TVN_GETDISPINFO handler. 2011-05-16 16:35:29 +02:00
Nikolay Sivov 1fa1c72d90 comctl32/treeview: Always return state from TVM_GETITEM handler. 2011-05-16 16:35:29 +02:00
Nikolay Sivov 64cd12d740 comctl32/tests: Initialize subitem index. 2011-05-13 20:09:59 +02:00
Nikolay Sivov 96c99dc99b comctl32/tests: Test return values in uniform way. 2011-05-13 17:05:06 +02:00
Nikolay Sivov c6dd14199c comctl32/listview: Fix parameter validation for LVM_SETITEMTEXT. 2011-05-13 10:55:43 +02:00
Nikolay Sivov 97314eeebd comctl32/tests: Make functions from test macros. 2011-05-12 14:25:04 +02:00
Nikolay Sivov 69bcdb7aad comctl32/listview: Don't forward HDN_ITEMCHANGING/HDN_ITEMCHANGED to listview parent. 2011-05-11 14:56:49 +02:00
Nikolay Sivov 34d86a2d17 comctl32/listview: Make edit box handle available from LVN_ENDLABELEDIT notification. 2011-05-09 11:44:30 +02:00
Nikolay Sivov 740e7be128 comctl32/listview: Don't refuse to set subitem data when some extra flag is specified. 2011-05-06 16:42:01 +02:00
Nikolay Sivov 7f64031661 comctl32/tests: Test message result for equality. 2011-05-06 16:41:58 +02:00
Nikolay Sivov cefcadcc38 comctl32: Ignore size field when creating with -W calls. 2011-05-02 18:48:19 +02:00
Nikolay Sivov bf3f848d8a comctl32/tests: Add more MRU tests. 2011-05-02 18:48:14 +02:00
Nikolay Sivov ed161054fa comctl32: Adjust field names and some defines to match current documentation. 2011-05-02 18:33:28 +02:00
Nicolas Le Cam 401961f8fb comctl32/tests: Remove a set but unused variable. 2011-05-02 12:41:39 +02:00
Nikolay Sivov f6b3376ec7 comctl32/tests: Remove practically unused parameters from test functions. 2011-04-27 11:54:47 +02:00
Nikolay Sivov 6867735e20 comctl32/tab: Fix invalid read of item data. 2011-04-11 12:06:18 +02:00
Nikolay Sivov 0270e69b54 comctl32/monthcal: Some tests for MCM_SIZERECTTOMIN. 2011-04-04 11:52:03 +02:00
Vincent Povirk 4d1fca24be comctl32: Use current month and year when checking day of month. 2011-03-31 23:47:26 +02:00
Nikolay Sivov 7bdcbfb9a0 comctl32/listview: Fix edit box text limit. 2011-03-28 17:31:25 +02:00
Nikolay Sivov 124eaa046f comctl32/listview: Adjust dispinfo text buffer length. 2011-03-28 17:31:21 +02:00
Marcus Meissner e766a132db comctl32: Added missing break (Coverity). 2011-03-28 17:12:32 +02:00
Francois Gouget cc70cd9de1 comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static. 2011-03-16 14:14:23 +01:00
Francois Gouget 755648421e comctl32/tests: Add a '\n' to a pair of ok() calls. 2011-03-07 11:08:42 +01:00
Peter Urbanec 93b5bcc6eb comctl32: Add a check for setting number of parts in the statusbar to zero. 2011-03-01 13:21:58 +01:00
Peter Urbanec 193d13c421 comctl32/tests: Enable statusbar tooltip tests. 2011-02-28 15:50:24 +01:00
Austin English 7c25705e3c comctl32/tests: Remove win9x hack. 2011-02-28 13:11:22 +01:00
Austin English 809bb35bf0 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:51 +01:00
Austin English 85e3ff245f comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English 223c431d90 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English 4803f921e6 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin English a41a574d3e comctl32/tests: Remove dead assignments (LLVM/Clang). 2011-02-18 14:54:49 +01:00
Gerald Pfeifer d698e226f6 comctl32/tests: Remove unused parameter from test_removeimage(). 2011-02-14 13:33:30 +01:00
Gerald Pfeifer 8c9abc1dd8 comctl32/tests: Avoid uninitialized variable warning in GetWidthBytes(). 2011-02-14 13:33:29 +01:00
Alexander Kochetkov d668e76461 comctl32: Fixed height of comboboxex32. 2011-02-07 13:07:40 -06:00
Francois Gouget fc55c4a2d5 comctl32/tests: Fix compilation on systems that don't support nameless unions. 2011-02-07 10:17:41 -06:00
Nikolay Sivov cf36677cbc comctl32/tests: Test more return values (LLVM/Clang). 2011-02-07 10:08:40 -06:00
Austin English 3391c28d41 comctl32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:06:50 -06:00
Nikolay Sivov 0edfb1b4a0 comctl32/tests: Initialize item mask on item insert (Valgrind). 2011-01-31 12:28:29 +01:00
Greg Geldorp 50a25a8ebb comctl32/tests: Fix failures for 120DPI display. 2011-01-20 12:24:08 +01:00
Nikolay Sivov 6869f89a30 comctl32/tests: Fix a leak in rebar test data allocation (Valgrind). 2011-01-17 12:48:36 +01:00
Nikolay Sivov e61fd95146 comctl32/tests: Fix a leak in toolbar test data allocation (Valgrind). 2011-01-17 12:48:28 +01:00
Francois Gouget 1465b4d211 comctl32/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:17 +01:00
Paul Vriens a9c31ed90e comctl32/tests: Fix shell32 test failures on NT4/W2K. 2010-11-23 14:16:22 +01:00
Nikolay Sivov 0517abf184 comctl32/treeview: Use a code set by dispinfo holder to convert data encoding after TVN_GETDISPINFO. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 119860b05f comctl32/listview: Use a code set by dispinfo holder to convert data encoding after LVN_GETDISPINFO. 2010-11-17 11:19:32 +01:00
Austin Lund a4a60568a4 comctl32/tests: Fixed rebar layout tests that depend on system font widths. 2010-11-12 11:41:49 +01:00
Austin Lund 293e429296 comctl32/tests: Fixed rebar layout tests which depend on system font height. 2010-11-11 12:21:28 +01:00
Austin Lund cddcf039fc comctl32/tests: Changed rebar layout tests to load data dynamically. 2010-11-11 12:21:21 +01:00
Austin Lund 1f97cb2287 comctl32/tests: Change expect_band_content test to ensure line numbers are reported correctly on test failure. 2010-11-10 16:17:44 +01:00
Austin Lund 1eacb105b5 comctl32/tests: Fix band info tests that depend on system font heights. 2010-11-10 16:17:05 +01:00
Bernhard Übelacker 43aa5f6b2e comctl32: Test for window messages of a property sheet with custom dialog proc. 2010-11-08 18:12:57 +01:00
Austin Lund 05d82b6376 comctl32/tests: Fixed toolbar tests for varing width of button strings. 2010-11-08 13:30:22 +01:00
Austin Lund a07022a7e1 comctl32/tests: Fix toolbar size tests that depend on system font height. 2010-11-08 13:30:22 +01:00
Austin Lund 551d4077c5 comctl32/tests: Change toolbar size test data to load dynamically. 2010-11-08 13:30:22 +01:00
Austin Lund 6a819b102d comctl32/tests: Added extra debugging information to toolbar size tests. 2010-11-05 14:38:36 +01:00
Nikolay Sivov 6ec621e835 comctl32/treeview: Make item data layout partially compatible with native one. 2010-11-01 16:15:05 +01:00
Gerald Pfeifer 42b1006925 comctl32: Fix test description in test_hittest. 2010-11-01 11:44:49 +01:00
Nikolay Sivov 4633fc5c03 comctl32/treeview: Fix TVN_DELETEITEM to use item that is about to be deleted. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 04e5e9cfa0 comctl32/treeview: Accept null item handle as a root for TVM_DELETEITEM. 2010-10-25 12:41:41 +02:00
Austin Lund 23b00490c0 comctl32/tests: Fix ImageList tests for different device color depths. 2010-10-15 11:34:59 +02:00
Austin Lund 227b1fe2ca comctl32/tests: Add tests for negative subitems independent of local settings. 2010-10-05 12:20:29 +02:00
Marko Nikolic abed5b49b9 comctl32/tests: Removed sign comparison warnings. 2010-10-04 16:20:07 +02:00
Nikolay Sivov f08938c381 comctl32/tab: Fix DRAWITEMSTRUCT filling when extra item data of a custom size is used. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 66bad889f4 comctl32/treeview: Prevent item height to be calculated to zero value. 2010-10-04 15:00:07 +02:00
Nikolay Sivov f9736bcc6e comctl32/toolbar: Properly handle invalid arguments processing TB_ADDSTRING message. 2010-10-04 15:00:07 +02:00
Alexandre Julliard 55676e84ed comctl32/tests: Make some variables static. 2010-10-01 13:35:49 +02:00
Nikolay Sivov 1b2f7517ee comctl32/tab: Add a test for TCM_SETITEMEXTRA. 2010-09-28 12:51:01 +02:00
Austin Lund 3fd940b2a1 comctl32/listview: Fix test failures for subitem returned with negative coordinates. 2010-09-27 14:13:16 +02:00
Nikolay Sivov b65423c546 comctl32/treeview: Erase background when painting over supplied hdc. 2010-09-27 14:13:16 +02:00
Austin Lund e1a0a66f27 comctl32/tests: Default listview width appears to be 1 inch. 2010-09-23 11:53:11 +02:00
Austin Lund 3836e62ed8 comctl32/tests: LVM_GETRECTITEM should return TRUE. 2010-09-22 12:43:37 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Nikolay Sivov acbd632039 comctl32/imagelist: Fix return value for IImageList_GetIconSize(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 9b77425f6a comctl32/imagelist: Fix return value from IImageList_SetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 1c82b3491a comctl32/imagelist: Remove parameter check from IImageList_GetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 6db1d3c5b9 comctl32/imagelist: Fix reference leak in IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov 87847aa13c comctl32/imagelist: Remove parameter check from IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov eb2aae669c comctl32/imagelist: Make IImageList_Merge() crash like it does on native. 2010-08-23 13:37:01 +02:00
Nikolay Sivov d84cad6a06 comctl32/imagelist: Fail to create imagelist with zero or negative image dimensions. 2010-08-20 13:46:54 +02:00
Nikolay Sivov 66c9a73db5 comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters. 2010-08-20 13:46:49 +02:00
Nikolay Sivov 8bcdc9ad43 comctl32/tests: More imagelist tests to show broken parameter validation. 2010-08-20 13:46:45 +02:00
Nikolay Sivov 4023e0125f comctl32/imagelist: Fix failure code for IImageList_Remove(). 2010-08-20 13:46:40 +02:00
Nikolay Sivov 5ee4441c15 comctl32/imagelist: Fix failure code for IImageList_Draw(). 2010-08-20 13:46:36 +02:00
Nikolay Sivov 33ee0cae46 comctl32/tests: Use reduced IMAGELISTDRAWPARAMS structure size for tests. 2010-08-20 13:46:33 +02:00
Nikolay Sivov 4d6c30f90f comctl32/tests: Use better names for test functions, discover some new test failures. 2010-08-20 13:46:30 +02:00
Austin Lund 8fdb1bec12 comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar. 2010-08-19 17:32:18 +02:00
Austin Lund c3f9a4c362 comctl32/tests: Do not perform comparison of dates if GetDateFormat fails. 2010-08-18 09:47:32 +02:00
Nikolay Sivov ae1062c12d comctl32/monthcal: Store all control colors in a single array. 2010-08-16 13:45:07 +02:00
Nikolay Sivov 76d3e1d553 comctl32/monthcal: Support new hittest fields for some cases. 2010-08-16 13:44:29 +02:00
Nikolay Sivov 94dfbcaad5 comctl32/tests: Remove some noise from function names.
Everything in this file is about Monthcal.
2010-08-04 13:26:11 +02:00
Nikolay Sivov 8e968fd290 comctl32/monthcal: Add some tests for post-V1 hittest fields. 2010-08-04 13:26:00 +02:00
Nikolay Sivov 279677b7d8 comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity). 2010-07-28 16:28:23 +02:00
Nikolay Sivov 6711780a8f comctl32/tests: Merge one test function to existing tests, use explicit message numbers. 2010-07-26 18:38:32 +02:00
Nikolay Sivov 16dfb1a039 comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order. 2010-07-26 18:38:32 +02:00
Nikolay Sivov b3a61c1329 comctl32/treeview: Properly initialize expanded image index. 2010-07-26 18:38:32 +02:00
Michael Stefaniuc 7dfba50bca comctl32: Remove the ignored common resource attributes. 2010-07-22 10:39:05 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Florian Köberle 42c5ff799a comctl32: Call TREEVIEW_SendExpanded after expanding. 2010-07-19 14:38:17 +02:00
Dmitry Timoshkov 1066194f94 comctl32: Add a bunch of imagelist storage tests, make them pass under Wine. 2010-06-23 15:27:47 +02:00
Florian Köberle 2f77e2b93d comctl32/tests: Test calculating the rect of a child item while handling TVN_ITEMEXPANDED. 2010-06-21 11:52:26 +02:00
Nikolay Sivov 138b2435f9 comctl32/tests: Some expand notifications tests. 2010-06-10 14:59:09 +02:00
Alex Balut 32f240bfc1 comctl32/tests: Added a test that checks whether setting a custom default button in a property sheet works. 2010-06-07 16:43:34 +02:00
Nikolay Sivov 60e467a6cd comctl32/rebar: Fix index check condition for RB_SHOWBAND. 2010-06-07 13:48:27 +02:00
Nikolay Sivov d926939b12 comctl32: Export subclass calls by names too. 2010-05-27 14:46:43 +02:00
Nikolay Sivov 61c8a30574 comctl32/listview: Fix vertical position offset for subitem rectangle. 2010-05-24 11:30:33 +02:00
Nikolay Sivov 5d708246d7 comctl32/listview: Don't forward WM_COMMAND to parent if we don't have an Edit box. 2010-05-21 14:37:52 +02:00
Andrew Eikum fe92119f53 comctl32/listview: Derive subitem rect from listview origin. 2010-05-18 18:42:18 +02:00
Alexandre Julliard f2b993d414 comctl32/imagelist: Pre-multiply the colors by the alpha channel when storing an image with alpha. 2010-05-16 18:22:53 +02:00
Alexandre Julliard 91948f9ce8 comctl32: Always alpha blend images for 32-bpp imagelists. 2010-05-14 16:17:56 +02:00
Alexandre Julliard f02adf3e2b comctl32: Generate an alpha channel if necessary when adding images to a 32-bit imagelist. 2010-05-14 16:17:36 +02:00
Gerald Pfeifer 29cc4c9193 comctl32/tests: Check for the outcome of the SendMessage calls in test_monthcal_size. 2010-05-14 11:04:24 +02:00
Gerald Pfeifer 47fff748cc comctl32/tests: Remove variable hwndheader which is not really used from test_redraw. 2010-05-11 11:40:29 +02:00
Gerald Pfeifer 3ff0890c11 comctl32/tests: Add tests for the return values of TreeView_SelectItem in test_select. 2010-05-10 10:11:52 +02:00
Gerald Pfeifer b021128c4b comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect. 2010-05-03 16:47:30 +02:00
Gerald Pfeifer a2edb3c55c comctl32/tests: Remove variable hwndheader which is not really used from test_items. 2010-05-03 15:42:41 +02:00