James Hawkins
ba1e75d9f6
comctl32: Properly set and store the default icon spacing.
2008-07-08 10:48:21 +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
Francois Gouget
7857cf3dc7
A couple of spelling fixes.
2008-06-18 16:48:29 +02:00
Tomasz Jezierski - Tefnet
4e224e73c4
comctl32/tests: Fix for setting wrong initial position in listbox.
2008-05-27 19:34:54 +02:00
Tomasz Jezierski
1f051b8a7d
comctl32: Conformance test for multiple selection in listbox.
2008-05-21 14:26:44 +02:00
Guy Albertelli
09cb415109
listview: Return correct value from WM_NOTIFYFORMAT with test.
2008-05-08 11:11:03 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +02:00
Guy Albertelli
7fb21244d9
listview: Correct return value from LVM_GETORIGIN including tests for this.
...
Tests to validate return value of the LVM_GETORIGIN message and fix our
implementation.
2008-04-28 14:22:39 +02:00
Jason Edmeades
f54570fdbd
comctl32: Add basic custom draw support for tooltips.
2008-04-03 11:39:52 +02:00
Lei Zhang
fe966335fd
comctl32: Implement listview checkbox toggle.
2008-03-20 14:27:35 +01:00
Lei Zhang
778c04db07
comctl32: Add listview checkbox toggle test.
2008-03-20 14:27:35 +01:00
Alexandre Julliard
9dd61548bb
comctl32/tests: Avoid size_t printf format warnings.
2008-03-12 18:14:22 +01:00
Lei Zhang
7f5c97693e
comctl32: Fix TB_GETSTRING return values.
2008-03-12 12:00:14 +01:00
Lei Zhang
375f60b07a
comctl32: Add tests for TB_GETSTRING, fix NULL pointer access.
2008-03-12 12:00:08 +01:00
Michael Stefaniuc
3ca73da928
comctl32/tests: Fix a variable type in monthcal.c. Removes 19 -Wsign-compare warnings.
2008-03-12 11:59:19 +01:00
Paul Vriens
ef5a4a447c
comctl32/tests: Free the library after use.
2008-03-10 19:12:54 +01:00
Paul Vriens
6c63ebefc3
comctl32/tests: Don't use FreeLibrary with GetModuleHandle.
2008-03-10 12:54:00 +01:00
Francois Gouget
891e3d17fd
comctl32/tests: Don't use 0xaa to avoid any confusion when running with +heap.
2008-03-05 12:19:17 +01:00
Mikołaj Zalewski
4d0bad870c
comctl32: rebar: To check if an image is present iImage should be compared to -1 (with testcase).
2008-02-28 10:45:30 +01:00
Mikołaj Zalewski
ecde1c3cc7
comctl32: rebar: Image height should be taken into account when computing the band height.
2008-02-28 10:45:20 +01:00
Mikołaj Zalewski
41025d56e3
comctl32: datetime: Support literals in apostrophes.
2008-02-25 13:27:00 +01:00
Reece H. Dunn
743a63abc9
comctl32: Vista sends an unidentified message when destroying datetime and monthcal windows.
2008-02-07 12:56:14 +01:00
Francois Gouget
e5b4c0f84b
comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones.
2008-02-05 13:26:48 +01:00
Austin English
c2a7914d1c
comctl32: Spelling fixes.
2008-01-24 11:43:02 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Francois Gouget
b7ae831f00
comctl32/tests: Avoid SHDeleteKeyA() because it does not exist on Windows 95.
2007-12-10 12:06:40 +01:00
Francois Gouget
7a5497b5c0
comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call InitCommonControls() instead.
2007-12-10 12:06:16 +01:00
Francois Gouget
86b3624158
comtcl32/tests: Dynamically load ImageList_SetImageCount() because it is missing on Windows 95.
2007-12-10 12:06:13 +01:00
Alexandre Julliard
c0b12351e0
Avoid size_t types in traces.
2007-12-07 18:49:18 +01:00
Peter Oberndorfer
429d0d3eb3
comctl32: EnumMRUListA/W fix getting list size by negative item pos.
2007-12-06 13:43:53 +01:00
Peter Oberndorfer
dac63ff680
comctl32: Add EnumMRUList tests.
2007-12-06 13:43:49 +01:00
Alexandre Julliard
a1b02c2cec
comctl32/tests: Flush pending events before progress repaint tests.
2007-11-06 14:39:41 +01:00
Gerald Pfeifer
aac8194c74
comctl32: Make parameters of expect_band_content() match the corresponding types of REBARBANDINFO and fix one format string.
2007-11-02 12:21:15 +01:00
Lei Zhang
f2519fdcda
comctl32: Set tab focus correctly.
2007-10-30 11:31:38 +01:00
Lei Zhang
73213d1444
comctl32: Add tab delete item / get focus test.
2007-10-30 11:31:29 +01:00
Lei Zhang
31a09c3b7b
comctl32: Add tab insert item / get focus test.
2007-10-30 11:31:19 +01:00
Lei Zhang
c5a17f98df
comctl32: Move tab test's createParentWindow() into START_TEST().
2007-10-30 11:31:11 +01:00
Lei Zhang
734600e272
comctl32: Monthcal today link test.
2007-10-16 11:00:47 +02:00
Lei Zhang
3accf13ec0
comctl32: Simplify monthcal test.
2007-10-16 11:00:38 +02:00
Gerald Pfeifer
2cb5298a4c
comctl32/tests: Avoid remove redundant invocation of MAKEINRESOURCEA for IDC_ARROW and IDC_IBEAM.
2007-10-15 17:50:35 +02:00
Francois Gouget
c76362afdd
comctl32/tests: Fix the control's size reporting in an error message.
2007-10-11 19:52:40 +02:00
Lei Zhang
4b8ca91d03
comctl32: Fix monthcal hit tests.
2007-10-09 17:52:46 +02:00
Huw Davies
e31d8d8f5b
comctl32/tests: Don't assume that the default font height is 16 pixels.
2007-10-09 12:35:15 +02:00
Huw Davies
75c2fb668d
comctl32/tests: Skip some font dependent tests if we don't have System or Tahoma installed.
2007-10-09 12:34:36 +02:00
Alexandre Julliard
ed147bb102
comctl32/tests: Avoid destroying a DPA twice.
2007-10-01 18:03:51 +02:00
Alexandre Julliard
72fc6cdf27
comctl32/tests: We can now store binary files in the repository.
2007-09-17 16:11:26 +02:00
Aric Stewart
3822aa4b63
comctl32: TCM_SETCURSEL also updates the focus item.
2007-09-10 15:29:46 +02:00
Francois Gouget
2993785f3a
Assorted non-ANSI function declaration fixes (missing void).
2007-08-30 11:57:18 +02:00
Jason Edmeades
881c204c02
comctl32: toolbar: Implemented SetRows.
2007-08-28 12:26:13 +02:00
Jason Edmeades
f6631265f3
comctl32: Listview fails to add a column if mask=0.
2007-08-17 12:01:37 +02:00
Mikołaj Zalewski
31be5005c6
comctl32: toolbar: Test and fix invalid indexes passed in TB_ISBUTTON*.
2007-07-20 11:34:34 +02:00
Mikołaj Zalewski
5507a073c5
comctl32: toolbar: We should send TBN_GETDISPINFOW even for ANSI controls (with testcase).
2007-07-11 11:59:33 +02:00
Mikołaj Zalewski
e66523e19b
comctl32: toolbar: The iImage in TBN_GETDISPINFO should be initialized to -1.
2007-07-11 11:53:33 +02:00
Michael Stefaniuc
ff01912a48
comctl32: Replace malloc() with HeapAlloc().
2007-06-29 12:32:51 +02:00
Francois Gouget
96c337f0a1
Assorted spelling fixes.
2007-06-07 19:24:32 +02:00
Francois Gouget
c9533adc52
comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it.
2007-05-29 12:13:38 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
6055d04f07
comctl32/tests: Fix some problems revealed by compilation in 64-bit mode.
2007-05-24 11:36:23 +02:00
Mikołaj Zalewski
7b8241b1ee
comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width.
2007-05-16 11:55:38 +02:00
Mikołaj Zalewski
81cf09c6da
comctl32: treeview: Treeviews shouldn't be sending NM_TOOLTIPSCREATED (with testcase).
2007-05-07 14:26:22 +02:00
Mikołaj Zalewski
61a86024cc
comctl32: treeview: Make the focus test pass under Windows XP.
2007-05-07 14:26:03 +02:00
Alexandre Julliard
69a88a9d40
Fix minor differences in the formatting of the license notices.
2007-05-04 12:08:15 +02:00
Dmitry Timoshkov
19377e4ed6
comctl32: Remove a stray back slash.
2007-05-02 14:58:54 +02:00
Dmitry Timoshkov
83f51d08df
comctl32: Add more image list tests, fix one problem found.
2007-04-24 11:53:59 +02:00
Mikołaj Zalewski
ca7b0c86f8
comctl32: toolbar: In CreateToolbarEx the default bitmap size is also 16x16.
2007-04-24 10:19:23 +02:00
Mikołaj Zalewski
3d7a65355e
comctl32: toolbar: Don't execute TB_GETBUTTONINFO if cbSize is invalid.
2007-04-24 10:19:04 +02:00
Dmitry Timoshkov
8c5cf0cbae
comctl32: Add an image list storage test, make it pass under Wine.
2007-04-23 13:58:15 +02:00
Lei Zhang
bf7b0b89fe
comctl32: monthcal: GetMonthRange Tests.
2007-04-13 11:42:52 +02:00
Lei Zhang
b47a756ac7
comctl32: More monthcal hit tests.
2007-04-12 16:18:18 +02:00
Aric Stewart
5688ffb7ab
comctl32: Propsheet exception fix.
...
Do not attempt to draw a page during WM_PAINT if there is no active page.
2007-04-04 16:16:53 +02:00
Francois Gouget
0081b430e1
Assorted spelling and English fixes.
2007-04-03 11:23:12 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Mikołaj Zalewski
7bf7cdd1a9
comctl32: toolbar: TB_HIDEBUTTON and TB_MOVEBUTTON shouldn't force a recalc.
2007-03-28 12:05:15 +02:00
Mikołaj Zalewski
307f39c0d5
comctl32: toolbar: We shouldn't try to resize standard bitmaps.
2007-03-21 11:59:31 +01:00
Mikołaj Zalewski
e3b7c3045a
comctl32: toolbar: Test standard buttons size.
2007-03-21 11:59:21 +01:00
Mikołaj Zalewski
d4a67c4382
comctl32: toolbar: The default button size is 16x16.
2007-03-21 11:59:11 +01:00
Kanit Therdsteerasukdi
2a79d96278
comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
...
Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE. Corresponding
setters and message sequence tests were also added.
2007-03-19 13:08:36 +01:00
Mikołaj Zalewski
c9ca25aa1d
comctl32: CreateToolbarEx should send TB_SETBITMAPSIZE twice.
2007-03-19 13:08:23 +01:00
Hagop Hagopian
637a6116e2
comctl32: tab: Minor bug fixes in the curSel and curFocus getters and setters.
2007-03-19 12:16:41 +01:00
Hagop Hagopian
62d3be772d
comctl32: tab: Added message sequence tests for the tab control.
2007-03-19 12:16:23 +01:00
Keith Stevens
3a58b51aa3
comctl32: trackbar: Return the correct number of tics for TBM_GETNUMTICS.
2007-03-16 11:54:27 +01:00
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