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
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mikołaj Zalewski
4b25b346ee
comctl32: header: Make sure no message is sent between PrepareCallbackItems/FreeCallbackItems.
2006-05-20 14:09:03 +02:00
Mikołaj Zalewski
c932852bd4
comctl32: header: Don't erase the background in HEADER_Refresh.
2006-05-20 14:08:44 +02:00
Mikołaj Zalewski
c054c1fe0e
comctl32: header: The border size is 4 not 3.
2006-05-20 14:08:27 +02:00
Mikołaj Zalewski
3897015580
comctl32: header: Don't erase the left header egde.
2006-05-17 21:01:54 +02:00
Mikołaj Zalewski
28e3ba552e
comctl32: header: Send the width in HDN_BEGINTRACK.
2006-05-17 21:01:39 +02:00
Mikołaj Zalewski
36a8e5fba3
comctl32: header: Fix INSERTITEM on a zero mask and GETITEM on a mask with unknown fields.
...
INSERTITEM should fail on a zero mask. If in GETITEM the mask has an
unknown field it should store only the comctl32 4.0 fields (with test
case).
2006-05-16 20:23:39 +02:00
Mikołaj Zalewski
bf346b240d
comctl32: header: Copy some fields on INSERTITEM even if they are not in the mask.
2006-05-16 20:22:27 +02:00
Mikołaj Zalewski
3eccdfcca7
comctl32: header: Automatically set some format fields.
2006-05-16 20:22:11 +02:00
Mikołaj Zalewski
74c3b366d3
comctl32: header: Correct HDN_GETDISPINFO. Use it during drawing.
...
Improve HEADER_SendHeaderDispInfoNotify and rename it to
HEADER_PrepareCallbackItems. The new HEADER_FreeCallbackItems frees
the buffers allocated by it. GetItemT and DrawItem calls these
functions.
2006-05-15 14:46:11 +02:00
Mikołaj Zalewski
96190f77b9
comctl32: header: Mark the callback items in a mask.
...
Mark the callback items in the callbackMask HEADER_ITEM field. The
pszText for callback texts is now NULL what simplifies some
checks. Checks for lpItem->pszText==emptyString are also not needed as
emptyString is not stored in lpItem but used as a parameter to
Str_SetPtr (I haven't noticed it).
2006-05-15 14:45:24 +02:00
Mikołaj Zalewski
25d66de358
comctl32 header: Free the old string also when the new one is LPSTR_TEXTCALLBACK.
2006-05-15 14:44:22 +02:00
Mikołaj Zalewski
16fefcd6d9
comctl32: header: Don't modify the user supplied HDITEM during Set/InsertItem.
2006-05-15 14:43:48 +02:00
Mikołaj Zalewski
e3467de964
comctl32: header: Move common code from SetItemT/InsertItemT into a new function.
2006-05-15 14:41:01 +02:00
Mikołaj Zalewski
15e71a0a86
comctl32: header: Don't send HDN_GETDISPINFO during HDM_SET/INSERTITEM.
2006-05-15 14:40:27 +02:00
Mikołaj Zalewski
9865869902
comctl32: header: Don't check lpItem for NULL in GetItemT.
2006-05-15 14:40:08 +02:00
Mikołaj Zalewski
b82156586e
comctl32: header: Avoid freeing invalid pointers.
2006-04-20 11:34:13 +02:00
Mikołaj Zalewski
50d8c80fda
comctl32: header: Send correct notify after HDM_SETITEM.
...
The HDN_ITEMCHANGING notify should have the new data instead of the
old one. Both HDN_ITEMCHANGING and HDN_ITEMCHANGED now have the text
field if it changed.
2006-04-19 19:25:09 +02:00
Mikołaj Zalewski
a49da0b719
comctl32: header: Remove the unused bUnicode.
2006-04-18 21:16:54 +02:00
Mikołaj Zalewski
7a7f80e9d1
comctl32: header: Correct WM_[GS]ETUNICODEFORMAT.
2006-04-18 21:16:33 +02:00
Mikołaj Zalewski
84c3189445
comctl32: Send Unicode notifications if required in header control.
2006-04-18 11:16:44 +02:00
Mikołaj Zalewski
c63f5f095a
comctl32: Fix listview column resize.
...
Fix the HDS_FULLDRAG headers notifications, invalidate such a control
after a mouse move.
2006-04-12 19:51:44 +02:00
Phil Krylov
1b9fc2a170
comctl32: Fix emitting of NM_CUSTOMDRAW header notifications.
...
Emit NM_CUSTOMDRAW header notifications for all headers, not only
ownerdrawn. Allow to change item text and background colors in an
application's NM_CUSTOMDRAW handler.
2006-01-10 19:58:24 +01:00
Vitaliy Margolen
def2bb6798
Return false if index is out of bounds in GetItemT.
2005-11-17 11:06:18 +00:00
Raphael Junqueira
e3d53b4722
Implement implement header callback support (HDN_GETDISPINFO notification):
...
- better factorisation
- unicode fixes
2005-11-15 16:54:41 +00:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00