Commit Graph

1820 Commits

Author SHA1 Message Date
Andrew Talbot b836d1f7c3 comctl32/tests: Write-strings warning fix. 2006-05-28 18:27:27 +02:00
Alexandre Julliard ac30d46b69 comctl32: Dialog procedures should be called with CallWindowProc. 2006-05-26 16:34:09 +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 bfe030dfed comctl32: listview: Apply the HDS_DRAGDROP header style if needed.
Apply the HDS_DRAGDROP header style if the listview has the
LVS_EX_HEADERDRAGDROP. Block the columns reordering as the listview
doesn't support them.
2006-05-26 11:57:05 +02:00
Jonathan Ernst ce7e2e16ab Uniformization of French main menu accelerators. 2006-05-24 10:35:26 +02:00
Robert Shearman f5660c23ae comctl32: Fix the loading of strings for the property sheet page by
caching the ID of the string to load before overwriting it with an
Alloc call.
2006-05-23 20:52:56 +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
Robert Shearman a247e6975f comctl32: Make sure to always have the default pushbutton for wizards as an enabled button. 2006-05-22 11:28:52 +02:00
Robert Shearman 2682ff43d0 comctl32: A PSM_SETWIZBUTTONS message specifying PSWIZB_FINISH or
PSWIZB_DISABLEDFINISH, followed by another one without those flags
should show the next button again and hide the finish button.
2006-05-22 11:28:45 +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 117b8e7927 comctl32: listview: Recompute sizes after a column deletion. 2006-05-17 21:01:30 +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 8266fdd8cb comctl32: header: Check for HDN_GETDISPINFO not being sent during INSERT/SETITEM. 2006-05-15 15:00:40 +02:00
Mikołaj Zalewski 700dd456e9 comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN. 2006-05-15 14:46:30 +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
Saulius Krasuckas ab71fada12 comctl32: Increase FILEVERSION up to 5.81.4704.1100. 2006-05-08 14:48:45 +02:00
Dmitry Timoshkov 154e54e8e6 comctl32: Make some internal functions and variables static, remove
some unneeded prototypes.
2006-05-08 13:38:35 +02:00
Dmitry Timoshkov 308813112e comctl32: Add support for PSP_USEHEADERTITLE, PSP_USEHEADERSUBTITLE
and PSP_HIDEHEADER in CreatePropertySheetPageA/W, handle resource ids.
2006-05-08 13:38:19 +02:00
Dmitry Timoshkov 34cf29efbb comctl32: psInfo->proppage[index].pszText is always initialized to a
proper value regardless of PSP_USETITLE, use it unconditionally.
2006-05-08 13:38:00 +02:00
qingdoa daoo 53654c6938 comctl32: Update first visible when appropiate in the TVI_SORT case. 2006-05-07 10:00:40 +02:00
qingdoa daoo d2f59fe455 comctl32: Fix an unsigned comparison to zero. 2006-04-20 15:37:48 +02:00
Mikołaj Zalewski b82156586e comctl32: header: Avoid freeing invalid pointers. 2006-04-20 11:34:13 +02:00
Mikołaj Zalewski d848dda8bc comctl32: Test the HDM_SETITEM notifications. 2006-04-19 19:25:33 +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 c5b27fa97b comctl32: Add Str_SetPtrWtoA analogue to Str_SetPtrAtoW. 2006-04-19 19:24:43 +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 cb3424f642 comctl32: Scroll listview if changing scroll bounds changes the scroll pos. 2006-04-18 11:16:26 +02:00
Aric Stewart 097aec39ca comctl32: Listview notify fix.
Turn off updating for that the unselect and select and then turns it
on for the focus call, this results in 1 edit notify being sent at the
end of the operation.
2006-04-17 11:18:13 +02:00
qingdoa daoo 5e18834217 comctl32: Change return code comparison in AVI control. 2006-04-14 19:35:57 +02:00
Mikołaj Zalewski e55c44c737 comctl32: Fix listview column resize.
Draw a track line after a HDN_TRACK, resize the columns only after a
HDN_ITEMCHANGED.
Create the header with HDS_FULLDRAG.
2006-04-12 19:52:34 +02:00