Commit Graph

441 Commits

Author SHA1 Message Date
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +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 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
Alasdair Sinclair 4f0e6885d0 comctl32/tests: Fix missing void in empty parameter list. 2009-01-26 15:07:26 +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
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
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
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
Paul Vriens 1a853abecb comctl32/tests: Destroy the window after the tests. 2008-12-16 12:51:26 +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
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
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
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
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
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
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
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
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
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
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
James Hawkins cc0ea85c34 comctl32: Store the previous timeout value to test with. 2008-09-09 11:46:17 +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
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
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
Paul Vriens 2d18e5aac4 comctl32/tests: Don't assert on not implemented function. 2008-08-27 13:21:21 +02:00
Lei Zhang fc6553973f comctl32: Add a test for TTM_GETTEXT. 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
Nicolas Le Cam 5cf418f521 comctl32/tests: Fix a test failure in multiple platforms. 2008-07-23 13:54:00 +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
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
Reece Dunn a7794bcb50 comctl32: Fixed the MRU tests on Vista. 2008-07-21 14:45:40 +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 1e43f207cd comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE. 2008-07-16 19:56:24 +02:00
James Hawkins 83004cdd1e comctl32: Explicity set the number of tics before testing tic placement. 2008-07-14 11:51:07 +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
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