Commit Graph

222 Commits

Author SHA1 Message Date
Keith Stevens de608991ea comctl32: trackbar: Correctly set lSetMin and lSelMax.
Modify the behavior when the messages TBM_SETSEL, TBM_SETSELSTART, and
TBM_SETSELEND are sent and TBS_ENABLESELRANGE is not set.  When the
style TBS_ENABLESELRANGE is not set, Windows observed behavior is to
set the Selection Start and End values to 0, rather than leave them
unchanged.
2007-03-16 11:53:56 +01:00
Farshad Agah 86ea6b5820 comctl32: monthcal: Correct the return value in MCM_SETFIRSTDAYOFWEEK. 2007-03-16 11:53:22 +01:00
Farshad Agah 4c73411047 comctl32: monthcal message sequence test cases. 2007-03-16 11:21:23 +01:00
Keith Stevens 06c91e925f comctl32/tests: trackbar: Test message sequences. 2007-03-16 11:19:44 +01:00
Keith Stevens ab2eb1f42b comctl32/tests: trackbar: Reorganize the getter and setter tests into functions. 2007-03-16 11:19:11 +01:00
Kanit Therdsteerasukdi fed00cb82e comctl32: datetime: Return 1 in DTM_SETFORMAT when successful. 2007-03-16 11:18:30 +01:00
Leslie Choong 851197f80c comctl32: updown: Added message sequencing tests. 2007-03-14 18:59:31 +01:00
Leslie Choong 4e337ad8d5 comctl32: updown: Expect macro and spelling errors. 2007-03-14 18:59:20 +01:00
Kanit Therdsteerasukdi fe5471e717 comctl32: datetime: Reject out of range dates in DTM_SETSYSTEMTIME. 2007-03-14 13:14:02 +01:00
Francois Gouget b8f517b063 comctl32/tests: Add missing '\n's in ok() calls. 2007-03-14 12:10:44 +01:00
George Gov aa685beb07 comctl32: Add some listview message tests. 2007-03-13 21:32:36 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Shanren Zhou df578b8469 comctl32: Added header message sequence test cases. 2007-03-13 13:22:03 +01:00
Shanren Zhou 92f230c2fb comctl32: Header message sequence test cases.
Added separate parent and child header controls for each test case and
fixed a typo ('Data Modified' should be 'Date Modified').
2007-03-13 13:21:38 +01:00
Hagop Hagopian 89c7907025 comctl32: Adding getter-setter tests for tab control. 2007-03-12 13:19:00 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Felix Nawothnig 5cdcfbfaa0 comctl32: Fix a typo. 2007-03-12 12:03:32 +01:00
Felix Nawothnig 7b99592975 comctl32: Fix my last patch.
My last patch was wrong and caused some nasty regressions. Mapping 
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Chris Peterson ee2804fda5 comctl32: treeview: Message sequencing tests. 2007-03-12 12:00:51 +01:00
Felix Nawothnig 08670ee725 comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing. 2007-03-09 21:18:10 +01:00
Felix Nawothnig 8677069c26 comctl32: Add a failing custom draw related test. 2007-03-09 21:17:55 +01:00
Farshad Agah d0f75b5993 comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL. 2007-03-09 11:36:53 +01:00
Kanit Therdsteerasukdi 3cdf24394f comctl32: datetime: Tests for events for date and time picker added. 2007-03-05 12:07:25 +01:00
Mikołaj Zalewski beff84c1d3 comctl32: header tests: Support different window border width. 2007-03-01 20:42:49 +01:00
Mikołaj Zalewski 6156154409 comctl32: rebar tests: Support different window border width. 2007-03-01 20:42:49 +01:00
Felix Nawothnig 9badfb50cf comctl32: Update header window in listview WM_PAINT handler. 2007-02-28 21:04:15 +01:00
Felix Nawothnig f671aed503 comctl32: Add listview WM_PAINT message sequence tests. 2007-02-28 21:04:05 +01:00
James Hawkins 2b5f79c9a8 comctl32: Add message ids to allow multi-window test sequences. 2007-02-28 21:03:46 +01:00
Alex Arazi 489db09da8 comctl32: More status bar tests. 2007-02-26 17:59:40 +01:00
Mikołaj Zalewski a02a680b72 comctl32: rebar: Test the RBN_HEIGHTCHANGE notify and do some fixes. 2007-02-26 14:07:40 +01:00
Mikołaj Zalewski f3ebf1c7f4 comctl32: listview: Set the style in WM_CREATE. 2007-02-26 13:58:31 +01:00
Lei Zhang b29c99c59a comctl32: Move up-down msg seq test functions into msg.c. 2007-02-21 17:45:38 +01:00
Francois Gouget 93494f2ac0 Assorted spelling fixes. 2007-02-20 20:30:51 +01:00
Mikołaj Zalewski ffbf61ae55 comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize. 2007-02-20 11:43:13 +01:00
Mikołaj Zalewski f0a7a74666 comctl32: rebar: Rewrite the layout code. 2007-02-20 11:40:19 +01:00
Marcus Meissner abe1ede385 comctl32: Fixed new header test. 2007-02-19 12:37:19 +01:00
Rob Shearman 4ef2442608 comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Kanit Therdsteerasukdi 9928c494f9 comctl32: datetime: Initial tests for date and time picker. 2007-02-19 12:32:58 +01:00
Chris Peterson e0983d4c20 comctl32: treeview: New conformance tests for TreeView controls. 2007-02-16 13:19:24 +01:00
Farshad Agah 5d7fe33ef9 comctl32: Added monthcal test cases. 2007-02-16 12:35:32 +01:00
Francois Gouget f9975b004d comctl32/tests: Add missing '\n's to ok() calls. 2007-02-16 12:35:15 +01:00
Keith Stevens ec57871f4f comctl32: Add trackbar tests. 2007-02-14 21:38:32 +01:00
Shanren Zhou 613998d4f6 comctl32: Add header tests. 2007-02-14 14:42:40 +01:00
Felix Nawothnig 43c0ce1638 comctl32: Add tests for Alloc() and friends. 2007-02-14 12:22:09 +01:00
Felix Nawothnig feb4abf118 comctl32: Rename 'string' test to 'misc'. 2007-02-14 12:21:57 +01:00
Leslie Choong b3c0a29061 comctl32: updown: Getter and setter tests for updown control. 2007-02-13 17:16:31 +01:00
Duane Clark 5bc1a8de87 treeview: Scrolling does not cause label being edited to lose focus. 2007-02-12 12:39:34 +01:00
Mikołaj Zalewski 3ea059c9d7 comctl32: listview: Create the LISTVIEW_INFO in WM_NCCREATE. 2007-02-08 13:01:18 +01:00
Paul Vriens aaa1c802a4 comctl32/tests: Fix typo (Coverity). 2007-02-07 22:06:00 +01:00
Mikołaj Zalewski 8909419b55 comctl32: rebar: Add some tests for rebar and change the way the header size is fixed. 2007-02-05 12:27:45 +01:00
Lei Zhang 4de56b1b4d comctl32: Fix the updown control test to use the optional flag. 2007-01-23 11:38:10 +01:00
Paul Vriens 81804538cf comctl32/tests: Cast-qual warning fixes. 2007-01-23 11:26:44 +01:00
Dmitry Timoshkov 105cf6b282 comctl32: Fix the updown control test to pass under XP. 2007-01-22 12:02:32 +01:00
Mikołaj Zalewski 292cb4d2ac comctl32: toolbar: Fix the TB_SETBITMAPSIZE for width or height zero (with testcase). 2007-01-16 16:54:25 +01:00
James Hawkins 74ada83c60 comctl32: Rewrite the up-down control tests to add message checking. 2007-01-10 12:00:15 +01:00
Felix Nawothnig 2eb171c1f5 treeview: Initialize iImage and iSelectedImage with zero. 2007-01-09 12:04:40 +01:00
Duane Clark 2575c37b22 comctl32: listview: Allow LVIF_STATE flag in subitems. 2007-01-08 21:00:59 +01:00
Lei Zhang 3a463f039b comctl32: Add initial tests for the status bar control. 2007-01-03 11:25:31 +01:00
Frank Richter 8002c49ede comctl32: listview: Fix getting user params and subitems.
When querying a listview subitem for the user param, the main item's
user param is returned. Also, when a subitem is custom-drawn, the main
item's user param is passed along.
2006-12-29 20:55:04 +01:00
Francois Gouget 15a7bcb364 comctl32/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2006-12-14 20:24:36 +01:00
Marcus Meissner 4d52a421d7 Made some functions static. 2006-12-12 12:10:57 +01:00
Francois Gouget fb957ec589 comctl32/tests: Fix the CheckDPA() tests.
There is no guarantee that the compiler will compute the function arguments in left-to-right order.
2006-11-24 11:49:07 +01:00
Francois Gouget 9d2f40cf33 comctl32/tests: Don't use the NONAMELESS* macros in the tests. 2006-11-24 11:48:42 +01:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Paul Vriens 6e9f335656 comctl32: Load function pointers by ordinal. 2006-11-08 20:12:38 +01:00
Paul Vriens 2384756b71 comctl32: Beginning of some string related tests. 2006-11-08 11:20:34 +01:00
Francois Gouget 88f3cb2a7d comctl32: Add missing '\n' to ok() call. 2006-11-07 15:24:36 +01:00
Mikołaj Zalewski 258008012c comctl32: toolbar: Add buttons size tests. 2006-11-02 12:31:32 +01:00
Michael Stefaniuc 962e97dbf3 comctl32/tests: Specify type of function argument and remove unused arguments. 2006-10-24 11:33:28 +02:00
Rob Shearman c932790dcf comctl32: Fix imagelist leak in tests. 2006-10-23 15:18:03 +02:00
Mikołaj Zalewski 39c4bbe56a comctl32: toolbar: Fix the tests and handling of TB_SETHOTITEM on a disabled button. 2006-10-19 14:00:55 +02:00
Mikołaj Zalewski 4c5de64014 comctl32: header: Test and improve the custom draw and owner draw code. 2006-10-16 11:30:34 +02:00
Mikołaj Zalewski 76b162067f comctl32: toolbar: Test and improve TB_SETHOTITEM. 2006-10-14 20:43:03 +02:00
Michael Ploujnikov a348e0936a comctl32/tests: Win64 printf format warning fixes. 2006-10-13 15:46:06 +02:00
Mikołaj Zalewski c95aa8228a comctl32: toolbar: Passing a string pointer in TB_INSERTBUTTON shouldn't change the strings table (with test case). 2006-10-12 12:55:56 +02:00
Mikołaj Zalewski 241956101e comctl32: toolbar: Fix the TB_ADDSTRING from resources for a NUL delimiter. 2006-10-09 20:53:15 +02:00
Francois Gouget 20eb2f9998 comctl32: Fix LVM_GETITEM/LVIF_STATE so it only returns the bits it
has been asked for, and sets all the others to zero (with conformance
test).
2006-10-03 20:18:57 +02:00
Francois Gouget 68e84a7a53 Add missing '\n's to ok() calls. 2006-09-29 17:53:39 +02:00
Francois Gouget 222c167969 Assorted spelling fixes. 2006-09-29 16:28:30 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Mikołaj Zalewski 5db5744c5b comctl32: toolbar: Test and fix TB_ADDSTRING from resource. 2006-09-27 20:21:00 +02:00
Mikołaj Zalewski c77890d4f3 comctl32: toolbar: Resize the imagelist icons after a TB_SETBITMAPSIZE. 2006-09-26 11:37:47 +02:00
Mikołaj Zalewski 2fa45673f8 comctl32: toolbar: Fix the return code of TB_ADDBITMAP. 2006-09-21 17:42:44 +02:00
Mikołaj Zalewski 9e390091db comctl32: toolbar: Fix IDB_STD_VIEW_* icons count (with testcase). 2006-09-21 17:41:36 +02:00
Mikołaj Zalewski d457b37d82 comctl32: toolbar: Use correctly wParam in TB_ADDBITMAP. 2006-09-21 17:41:20 +02:00
Mikołaj Zalewski 89f537dd57 comctl32: imagelist: SetImageCount can be used to decrease image count (with testcase). 2006-09-21 17:41:05 +02:00
Mikołaj Zalewski 80664defa8 comctl32: toolbar: Add some tests for TB_ADDBITMAP. 2006-09-21 17:40:45 +02:00
Mikołaj Zalewski 8ab78e18c6 comctl32: header: Test the header order-management code and fix some bugs. 2006-09-20 11:19:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Andrew Talbot 1a40c4c552 comctl32/tests: Write-strings warnings fix. 2006-07-31 10:51:15 +02:00
Andrew Talbot 8d1e492ad3 comctl32/tests: Write-strings warnings fix. 2006-07-20 12:11:18 +02:00
Huw Davies f01ae8ace9 comctl32: All items should be marked as unchecked when LVS_EX_CHECKBOXES is initially set.
When a new item is added with LBS_EX_CHECKBOXES already set then that item is marked as unchecked.
2006-07-18 11:09:27 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Andrew Talbot b93f547a1e comctl32/tests: Write-strings warnings fix. 2006-07-03 11:58:41 +02:00
Francois Gouget 11ae0f6386 Assorted spelling fixes. 2006-06-16 11:32:29 +02:00
Mike McCormack 13115d8cf6 comctl32: Add a short test for the listview. 2006-06-15 11:39:29 +02:00