Commit Graph

45 Commits

Author SHA1 Message Date
Nikolay Sivov 6867735e20 comctl32/tab: Fix invalid read of item data. 2011-04-11 12:06:18 +02:00
Gerald Pfeifer d698e226f6 comctl32/tests: Remove unused parameter from test_removeimage(). 2011-02-14 13:33:30 +01: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 1b2f7517ee comctl32/tab: Add a test for TCM_SETITEMEXTRA. 2010-09-28 12:51:01 +02:00
Nikolay Sivov 9cec74f300 comctl32/tab: Reset current selection on negative focus value. 2009-11-20 14:48:40 +01:00
Nikolay Sivov 33a1e827a7 comctl32/tab: Fix selection change when selected item is deleted. 2009-11-20 14:48:35 +01:00
Nikolay Sivov 336a68be54 comctl32/tab: Split tests to several functions not to depend from each other. 2009-11-20 14:48:31 +01:00
Nikolay Sivov a4b5c5db1c comctl32: Don't use additional heap allocated pointer to old window procedure. 2009-10-12 13:01:21 +02:00
Alexandre Julliard 454a7fde33 comctl32/tests: Fix tab control test failures on older Windows versions. 2009-08-26 13:09:05 +02:00
Nikolay Sivov f08747cbfc comctl32/tab: Init TCITEM fields in TCM_GETITEM when invalid index passed. 2009-08-17 15:53:12 +02:00
Nikolay Sivov 031c497a5a comctl32/tab: Check destination pointer for NULL in TCM_GETITEM handler. 2009-08-17 15:53:06 +02:00
Alexandre Julliard 66e83d2156 comctl32/tests: Fix some test failures on older versions. 2009-08-05 15:30:10 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Nikolay Sivov 0e5dac618f comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state. 2009-03-26 11:56:09 +01:00
Nikolay Sivov db60f69cba comctl32/tab: Handle state mask in TCM_[G,S]ETITEM. 2009-03-26 11:56:05 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
Michael Stefaniuc fc46bb1479 comctl32/tests: Remove superfluous pointer casts. 2009-02-06 14:54:01 +01:00
Michael Stefaniuc ac37f1b7fb comctl32/tests: Do not cast the IDC_* defines to a LPSTR. 2009-01-05 12:35:06 +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
Lei Zhang 87ca1b9416 comctl32: Check for NULL input in TAB_AdjustRect. 2008-11-11 11:40:46 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01: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
James Hawkins f5e298d2db comctl32: Fix several failing tests in win98. 2008-09-08 12:47:22 +02: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
Aric Stewart 3822aa4b63 comctl32: TCM_SETCURSEL also updates the focus item. 2007-09-10 15:29:46 +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
Francois Gouget 0081b430e1 Assorted spelling and English fixes. 2007-04-03 11:23:12 +02: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
Francois Gouget b8f517b063 comctl32/tests: Add missing '\n's in ok() calls. 2007-03-14 12:10:44 +01:00
Hagop Hagopian 89c7907025 comctl32: Adding getter-setter tests for tab control. 2007-03-12 13:19:00 +01:00
Michael Ploujnikov a348e0936a comctl32/tests: Win64 printf format warning fixes. 2006-10-13 15:46:06 +02:00
Andrew Talbot b836d1f7c3 comctl32/tests: Write-strings warning fix. 2006-05-28 18:27:27 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaliy Margolen abd12e4dbf Fix handling of minimum tab width.
Add more tests to test it.
2005-08-23 10:05:54 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Francois Gouget 231fbff8d0 Add trailing '\n's to ok() calls. 2004-01-27 04:01:10 +00:00
Francois Gouget 4cd80a3637 Add trailing '\n's to ok() calls. 2004-01-19 21:43:43 +00:00
Vitaliy Margolen 036dcf167e - Fix drawing of HotTracked tabs & buttons.
- More tab size fixes in different styles.
- Don't use new padding until style changes.
- Fix left alignment of labels &| icons.
- Don't draw over UpDown control.
- Fully erase tabs when scrolling.
- More tests.
2003-12-02 03:31:44 +00:00
Vitaliy Margolen 785bae8aae - Fix tab size for TCS_OWNERDRAWFIXED style.
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00