Commit Graph

76 Commits

Author SHA1 Message Date
Francois Gouget 07d9d04de8 comctl32/tests: Make cbt_hook_proc() static. 2012-02-20 11:47:55 +01:00
Frédéric Delanoy 3c13f991e4 comctl32/tests: Use initialized window handle when rebuilding toolbar (Coverity). 2012-02-20 11:38:35 +01:00
Nikolay Sivov 31b44fb6e8 comctl32: Fix TB_SETEXTENDEDSTYLE to use mask passed in wParam. 2012-02-16 11:48:51 +01:00
Nikolay Sivov e630e4997d comctl32: A test for auto-set TBSTYLE_TRANSPARENT style. 2012-02-09 09:39:58 -06:00
Nikolay Sivov 1c1b1c0073 comctl32: More tests for Toolbar window style handling. 2012-02-01 16:42:45 +01:00
Nikolay Sivov 9188b58e4c comctl32: Store style bits provided with WM_CREATE. 2012-01-09 12:22:39 +01:00
Nikolay Sivov 54b6c76720 comctl32: Fix TB_SETSTYLE behaviour and return value. 2012-01-09 12:22:31 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Marko Nikolic cf6dae563c comctl32/tests: Removed sign comparison warning in toolbar tests. 2011-06-02 16:22:44 +02:00
Francois Gouget cc70cd9de1 comctl32/tests: Make init_tbsize_result() and tbsize_addbutton() static. 2011-03-16 14:14:23 +01:00
Nikolay Sivov e61fd95146 comctl32/tests: Fix a leak in toolbar test data allocation (Valgrind). 2011-01-17 12:48:28 +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 f9736bcc6e comctl32/toolbar: Properly handle invalid arguments processing TB_ADDSTRING message. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 006362567b comctl32/toolbar: Fix possible null pointer dereference. 2010-03-02 11:12:05 +01:00
Nikolay Sivov eaa939e942 comctl32/tests: Release Imagelist handles when no needed anymore. 2009-10-26 11:19:25 +01:00
Nikolay Sivov a04c6db804 comctl32/tests: Explicitly initialize window handle. 2009-10-23 14:40:40 +02:00
Ge van Geldorp 6eb6e31e05 comctl32/tests: Fix toolbar test on comctl32 version 4.72. 2009-09-29 16:10:59 +02:00
Alexandre Julliard a561c5d49f comctl32/tests: Fix some toolbar test failures on older Windows versions. 2009-08-29 16:48:56 +02:00
Paul Vriens 2bcf38d3a3 comctl32/tests: Fix some test failures with comctl32 < 5.80. 2009-06-26 11:59:54 +02:00
Igor Tarasov 3e235cc363 comctl32: TOOLBAR_SetImageList should recalculate toolbar only if it is necessary. 2009-04-22 12:56:19 +02:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +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
André Hentschel eda4872c45 comctl32/tests: Fix wrong comment-headline in toolbar.c. 2009-01-14 12:20:11 +01:00
Alexandre Julliard a52977dc4a comctl32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:13:20 +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 d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01: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
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
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 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
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
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Mikołaj Zalewski 7b8241b1ee comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width. 2007-05-16 11:55:38 +02:00