Nikolay Sivov
ce372ca4db
comctl32/header: Fix hittesting flags, extend tests a bit.
2009-07-15 13:16:03 +02:00
Nikolay Sivov
fdb7412725
comctl32/header: Update item bounds on WM_SIZE.
2009-07-13 10:26:06 +02:00
Nikolay Sivov
a18886e5c2
comctl32/header: Always update rectangles after HDM_SETORDERARRAY.
2009-07-10 12:12:21 +02:00
Nikolay Sivov
1daf40a837
comctl32/header: Always release item down state on WM_LBUTTONUP.
2009-07-01 13:15:50 +02:00
Nikolay Sivov
25d916e73a
comctl32/header: Add support for HDS_FLAT style.
2009-06-22 12:59:54 +02:00
Andrew Talbot
925cd00cd1
comctl32: Constify some variables.
2009-06-05 14:43:24 +02:00
Nikolay Sivov
27f3a6d605
comtl32/listview: Cache Header control window GWL_STYLE.
2009-05-18 13:38:24 +02:00
Nikolay Sivov
f875314ffe
comctl32/header: Use cached colors instead of querying them again.
2009-05-18 13:38:08 +02:00
Nikolay Sivov
e6a3807e59
comctl32/header: Move parameter cast to WinProc where possible.
2009-05-18 13:37:57 +02:00
Nikolay Sivov
7a8f52b37c
comctl32/header: Retrieve control data only once at WinProc call.
2009-05-18 13:37:20 +02:00
Nikolay Sivov
4ba9e61661
comctl32/header: Reset internal drag state on mouse up.
2009-04-30 12:47:20 +02:00
Michael Stefaniuc
da6d7920de
comctl32: Remove superfluous pointer casts.
2009-02-13 13:00:25 +01:00
Michael Stefaniuc
b723e6f6b6
comctl32: Remove the superfluous casting of the LPVOID returned by Alloc().
2008-10-24 14:24:59 +02:00
Mikołaj Zalewski
60a1e20ba8
comctl32: Don't print ERRs for reflected messages.
2008-07-22 13:25:08 +02:00
Gerald Pfeifer
f3a031f248
comctl32: Fix type of loop variable in HEADER_DeleteItem.
2008-07-21 15:06:05 +02:00
Gerald Pfeifer
9500e70def
comctl32: header: Simplify by shedding off unused parameters.
2008-07-21 15:05:47 +02:00
Andrew Talbot
fb44bc2106
comctl32: Constify some variables.
2008-06-20 12:24:52 +02:00
Andrew Talbot
867f254bec
comctl32: Remove unneeded casts.
2007-12-31 17:40:45 +01:00
Gerald Pfeifer
a20f4a6bbf
comctl32: Remove extraneous check (unsigned < 0).
2007-12-03 13:17:42 +01: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
Felix Nawothnig
b7f0901956
comctl32: Use appropriate font for header drag image.
2007-04-06 12:31:05 +02:00
Andrew Talbot
abf4d3b8cd
comctl32: Constify some variables.
2007-04-02 11:37:03 +02:00
Andrew Talbot
79205875f7
comctl32: Constify some variables.
2007-03-27 12:37:02 +02:00
Andrew Talbot
74ab88ca97
comctl32: Replace inline static with static inline.
2007-03-17 20:03:19 +01:00
Michael Stefaniuc
22ecd7aa67
comctl32: Remove redundant NULL checks before Free() (found by Smatch).
2007-03-08 11:58:04 +01:00
Felix Nawothnig
8784d47cba
comctl32: Remove redundant NULL checks before Free() calls.
2007-02-14 12:22:39 +01:00
Clinton Stimpson
3f91e7529a
comctl32: Destroy header information on WM_NCDESTROY instead of WM_DESTROY.
2006-12-04 12:39:27 +01:00
Eric Pouech
6e022a3a28
comctl32: header: fix bug found out by running valgrind on the regression tests.
2006-11-09 12:23:20 +01:00
Alexandre Julliard
7cca856315
comctl32: Properly handle negative coordinates for mouse events.
2006-10-25 17:41:48 +02:00
Mikołaj Zalewski
4c5de64014
comctl32: header: Test and improve the custom draw and owner draw code.
2006-10-16 11:30:34 +02:00
Mikołaj Zalewski
b182950bb9
comctl32: header: Make all repaints pass through HEADER_Refresh.
2006-10-16 11:29:48 +02:00
Mikołaj Zalewski
8304d0675f
comctl32: header: Call DefWindowProcW not DefWindowProcA.
2006-10-12 12:55:10 +02:00
Mikołaj Zalewski
3f89a71323
comctl32: header: Invalidate the control after a WM_SETREDRAW with wParam == TRUE.
2006-10-12 12:55:03 +02:00
Francois Gouget
222c167969
Assorted spelling fixes.
2006-09-29 16:28:30 +02:00
Mikołaj Zalewski
5564266a8a
comctl32: header: Update the header comment.
2006-09-20 11:21:41 +02:00
Mikołaj Zalewski
e4f3689513
comctl32: header: Remove the nOldWidth.
2006-09-20 11:21:32 +02:00
Mikołaj Zalewski
bd7f9321a0
comctl32: header: Send new values in notifies during resize and drag-drop instead of the old ones.
...
This also fixes the notify format of HDN_ITEMCLICKED(A/W).
2006-09-20 11:21:22 +02:00
Mikołaj Zalewski
f85ceb1be3
comctl32: header: Merge the simple delete and complex delete.
2006-09-20 11:21:05 +02:00
Mikołaj Zalewski
d98b9a4655
comctl32: header: Simplify the insert/delete code by using ReAlloc.
2006-09-20 11:20:30 +02:00
Mikołaj Zalewski
8ab78e18c6
comctl32: header: Test the header order-management code and fix some bugs.
2006-09-20 11:19:30 +02:00
Paul Vriens
ddf0049e9c
comctl32/header: Check Null before accessing struct member.
2006-06-02 11:22:26 +02:00
Mikołaj Zalewski
baea6498dd
comctl32: header: Update the rects in HEADER_Refresh if needed.
2006-06-01 11:08:09 +02:00
Mikołaj Zalewski
414128eb94
comctl32: header: Ignore out-of-range iOrder in SetItemT.
2006-05-30 19:30:51 +02:00
Mikołaj Zalewski
ee430bf7b8
comctl32: header: Put the new item in place of the hot divider instead of swapping.
2006-05-26 12:00:57 +02:00
Mikołaj Zalewski
7ab41112ae
comctl32: header: Draw the drag image and hot dividers while dragging an item.
2006-05-26 12:00:29 +02:00
Mikołaj Zalewski
89b62b48c6
comctl32: header: Fix an order-related bug in HEADER_InternalHitTest.
2006-05-26 11:59:11 +02:00
Mikołaj Zalewski
7e461db203
comctl32: header: Implement HDM_SETHOTDIVIDER.
2006-05-26 11:58:28 +02:00
Mikołaj Zalewski
4301543533
comctl32: header: Implement HDM_CREATEDRAGIMAGE.
2006-05-26 11:58:08 +02:00
Mikołaj Zalewski
b8da6f2751
comctl32: header: Don't try to draw items outside the clipping rect.
2006-05-23 17:53:08 +02:00
Mikołaj Zalewski
64e5779c16
comctl32: header: Make the column resizing smooth in full drag mode.
...
Make the column resizing smooth in full drag mode even for listview
with lots of elements by redrawing only the resized column and calling
UpdateWindow.
2006-05-23 17:52:57 +02:00