Commit Graph

187 Commits

Author SHA1 Message Date
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 66c9a73db5 comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters. 2010-08-20 13:46:49 +02:00
Andrew Talbot ebacf49f02 comctl32: Constify some variables. 2010-08-04 12:26:15 +02:00
Alexandre Julliard c45c9e9fe0 Revert "comctl32: Fix selection of tab via mouse."
This reverts commit 6018b88913. It
breaks several apps. To be revisited after 1.2.
2010-07-05 17:36:19 +02:00
Matthias Kupfer 6018b88913 comctl32: Fix selection of tab via mouse. 2010-07-02 16:50:03 +02:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01: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 3371ba9f73 comctl32/tab: Fix reading out of array bounds on TCM_SETCURSEL. 2009-11-20 14:48:27 +01:00
Francois Gouget 32bba6222b comctl32: Add a trailing '\n' to a Wine trace. 2009-10-19 14:45:37 +02:00
Nikolay Sivov 48fcccd861 comctl32/tab: Support for TCN_KEYDOWN notification. 2009-10-12 12:58:48 +02:00
Nikolay Sivov 64102f5f71 comctl32/tab: Handle item focusing better (including keyboard support). 2009-10-12 12:58:42 +02:00
Nikolay Sivov 64945b2779 comctl32/tab: Add more TRACE(), further cleanup. 2009-10-12 12:58:32 +02:00
Nikolay Sivov 6f05fd2dd9 comctl32/tab: Remove dead parameter check code. 2009-10-12 12:58:24 +02:00
Nikolay Sivov b0952c959b comctl32/tab: Remove unnecessary helper parameter, use SDK name for UpDown control. 2009-10-12 12:58:17 +02:00
Nikolay Sivov 9b06ec73fc comctl32/tab: Cache window GWL_STYLE style. 2009-10-12 12:58:08 +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
Andrew Talbot f5d8fa6613 comctl32: Constify some variables. 2009-06-08 12:41:54 +02:00
Nikolay Sivov 745f48157d comctl32/tab: Use cached colors for Tab. 2009-05-19 15:41:48 +02:00
Nikolay Sivov bc22a89306 comctl32/tab: Simplify hottracked button painting. 2009-04-09 11:18:52 +02:00
Nikolay Sivov 5ebc7ba72d comctl32/tab: Fix filled rectangle calculation for selected button on TCS_BUTTONS. 2009-04-07 11:21:13 +02:00
Nikolay Sivov 59ae274ac3 comctl32/tab: Fix hottracked button size. 2009-04-07 11:21:03 +02:00
Nikolay Sivov 483083e306 comctl32/tab: Draw hottracked tab button properly. 2009-04-06 11:16:32 +02:00
Nikolay Sivov 4ebf2e4526 comctl32/tab: Fix highlighted tabs painting. 2009-03-30 15:08:20 +02:00
Nikolay Sivov 4b2ea6f4e2 comctl32/tab: Implemented TCS_MULTISELECT for mouse selection. 2009-03-30 15:08:11 +02:00
Nikolay Sivov e2b1604f4a comctl32/tab: Implemented TCM_DESELECTALL. 2009-03-30 15:07:56 +02:00
Nikolay Sivov 48e7428964 comctl32/tab: Remove direct access to items array. 2009-03-30 15:07:47 +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 751732e694 comctl32/tab: Draw tab button properly on TCIS_BUTTONPRESSED state. 2009-03-26 11:55:56 +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 b896b92061 comctl32/tab: Fix button background filling on TCS_BUTTONS. 2009-03-24 12:39:17 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
Gerald Pfeifer 2a7d98a52c comctl32: Simplify three TAB_ functions. 2009-03-02 13:59:51 +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
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +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
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Vitaliy Margolen 5c9fbb828d comctl32: tab: Fix drawing of the icons.
This patch partially reverts aa57ad37. It's not correct. The top/left
is added later on.
2008-05-06 11:25:19 +02:00
Lei Zhang 3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Lei Zhang f2519fdcda comctl32: Set tab focus correctly. 2007-10-30 11:31:38 +01:00
Lionel Debroux 58b743161b comctl32: Remove redundant NULL check before free (found by Smatch). 2007-10-22 12:36:08 +02:00
Aric Stewart 3822aa4b63 comctl32: TCM_SETCURSEL also updates the focus item. 2007-09-10 15:29:46 +02:00
Alexandre Julliard 0f63ad92cc comctl32: Remove useless pointer check. 2007-06-13 11:19:36 +02:00