Commit Graph

210 Commits

Author SHA1 Message Date
Nikolay Sivov 2bd02f9aae comctl32/tab: Use wide string literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-04 17:32:14 +02:00
Michael Stefaniuc 2ea72e8717 comctl32: Avoid using memset on RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 23:43:31 +09:00
Michael Stefaniuc 77fc4697dd comctl32: Use straight assignments instead of CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 20:17:38 +09:00
Michael Stefaniuc 8258d900ca comctl32: Use InflateRect() too when expanding in just one axis.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-09 15:42:47 +09:00
Michael Stefaniuc 1f74c0a0d1 comctl32: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 17:29:31 +09:00
Michael Stefaniuc 903ea19122 comctl32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:23:36 +09:00
Nikolay Sivov 935db97c24 comctl32: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:10 +09:00
Nikolay Sivov 0e73e478ff comctl32/tab: Fix TCM_SETCURSEL on negative indices. 2014-02-10 10:41:47 +01:00
Dmitry Timoshkov c14ff4bef0 comctl32: Fix broken logic for retrieving default font properties. 2013-06-18 10:40:38 +02:00
Dmitry Timoshkov cc086f09ae comctl32: Use default GUI font as a fallback instead of a (non-existent) Arial. 2013-06-17 13:34:40 +02:00
Nikolay Sivov 4f99560ef0 comctl32: Remove duplicated code for scroll control size calculation. 2013-05-20 12:07:43 +02:00
Nikolay Sivov 21727c416f comctl32: When created with TCS_VERTICAL, TCS_MULTILINE is set automatically. 2012-05-17 10:18:39 +02:00
Nikolay Sivov b32b969eb6 comctl32: Invalidate before item is removed. 2012-02-08 10:50:12 -06:00
Nikolay Sivov fade32b515 comctl32: Block selection change depending on TCN_SELCHANGING result. 2011-12-27 16:55:05 +01:00
Nikolay Sivov 7d31d39f00 comctl32/tab: Make WM_RBUTTONUP reach default window procedure. 2011-07-04 13:40:43 +02:00
Piotr Caban 8c42ac319a comctl32: Fixed tab elements recognition. 2011-06-29 14:23:04 -05:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Alasdair Sinclair b6484ccbeb comctl32/tab: Fully initialize itemData to fix x64 test failure. 2011-06-01 18:10:01 +02:00
Nikolay Sivov 4daa5459f4 comctl32/tab: Send NM_RCLICK on WM_RBUTTONUP. 2011-05-13 10:55:14 +02:00
Henri Verbeet 5ce3186735 comctl32: Return if there's no current selection in TAB_EnsureSelectionVisible(). 2011-04-26 10:46:15 +02:00
Henri Verbeet e5c3883c92 comctl32: Allocate the correct amount of memory for tab items in TAB_InsertItemT(). 2011-04-12 17:42:17 +02:00
Nikolay Sivov 82258f4f25 comctl32/tab: Use dpa to store item data. 2011-04-11 12:06:37 +02:00
Nikolay Sivov 6867735e20 comctl32/tab: Fix invalid read of item data. 2011-04-11 12:06:18 +02: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 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