Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Paul Rupe
21fbb40cb7
Support for LVM_SUBITEMHITTEST; check for out-of-bounds subitem index
...
in LISTVIEW_GetSubItemRect.
2002-06-10 22:47:41 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Steven Edwards
fb2a70463e
Fixed snprintf warnings.
2002-05-16 18:31:27 +00:00
Aric Stewart
5679be34d9
Do not invalidate the rect while drawing.
...
Implemented GetSubItemRect and a quick change to notifications sent
for OwnerData items.
2002-05-14 03:58:46 +00:00
Uwe Bonnes
07a308d606
LISTVIEW_GetColumnT: care for the format of the string.
...
LISTVIEW_Create: send HDM_SETUNICODEFORMAT message.
2002-04-11 17:31:45 +00:00
Duane Clark
b7d819953e
Add LVS_NOSORTHEADER support.
...
Sort column on HDN_ITEMCLICKA too.
Do not edit labels if icon was clicked.
Fix the incorrect icon width in my earlier patch.
2002-03-20 00:53:42 +00:00
Duane Clark
b6c28ff62f
Add support for report mode text justification.
2002-03-11 05:02:11 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Duane Clark
ad079d6cbb
Ask for correct number of chars in EditLblWndProcT.
2002-02-28 21:42:25 +00:00
Duane Clark
bdd77388b9
LISTVIEW_InsertColumnT can be called with a width of
...
LVSCW_AUTOSIZE_USEHEADER.
Use the correct strings when column autosizing on columns other than
column 0.
LVSCW_AUTOSIZE_USEHEADER uses both item and header strings.
2002-02-28 20:41:39 +00:00
Bill Medland
df0f236038
Centre text correctly for the selected item.
...
Draw complete background for the selected item.
Calculate the size of a large icon more correctly (including multiline
labels).
2002-02-27 01:24:39 +00:00
Gerard Patel
019ae8a22f
LVM_GetItemRect should not take text size in account for LVIR_LABEL in
...
report mode.
2002-02-25 19:00:03 +00:00
Bill Medland
d10c9a47b8
Implement multiline labels in the Large Item view by using DrawText
...
Note that this now highlights weaknesses in the label measuring code
etc. which cannot correctly handle multiline labels.
2002-02-22 21:23:02 +00:00
Ondrej Macek
13f1fb23fe
Fix of ListView invalidation in LISTVIEW_SetBkColor.
2002-02-19 18:32:12 +00:00
Guy L. Albertelli
8961f1624e
Correct tests involved with processing the LVIF_DI_SETITEM flag.
2002-02-12 18:42:25 +00:00
Alexandre Julliard
7904acf1bd
Authors: Guy L. Albertelli <galberte@neo.lrun.com>, Aric Stewart <aric@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
...
Misc fixes:
- cache text metrics for the font we're using
- improved item hit detection
- more debugging output
- implement LVM_SETICONSPACING
- lots of bugs squashed
2002-02-05 18:13:57 +00:00
Dimitrie O. Paun
d15ed230a8
Complete Listview Unicodification.
...
Simplify the setting of (sub)item text by using common code.
2002-02-04 18:44:16 +00:00
Huw D M Davies
83ff80b295
Flip A<->W conversion in dispinfo_notifyT.
2002-02-02 17:57:00 +00:00
Gerard Patel
776cb279f2
Don't repaint header when scrolling a listview vertically.
2002-01-31 20:38:25 +00:00
Gerard Patel
815997ffe0
Fix problems with listview notification.
2002-01-29 17:51:00 +00:00
Dimitrie O. Paun
6d694d8ed6
Simplify and fix listview ellipsification of large text labels.
2002-01-29 16:50:40 +00:00
Gerard Patel
3dbbb0b297
Avoid converting nonexistent text from A->W.
2002-01-29 03:08:24 +00:00
Dimitrie O. Paun
9e99d2b763
- Make the ListView control Unicode ready.
...
- Support both ANSI & Unicode ListView notifications.
- Fixed a few bugs.
2002-01-18 19:05:35 +00:00
Gerard Patel
a02f3de89e
Rect returned by LISTVIEW_GetItemRect should be total size in report
...
mode.
2001-08-21 17:04:02 +00:00
Guy L. Albertelli
b0327f2b40
Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM.
2001-07-02 01:20:28 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
James Hatheway
f3c93b805b
Eliminate unitialized garbage being returned from LISTVIEW_GetItemA.
2001-04-18 17:40:04 +00:00
Francois Gouget
dd30c5c282
GetItemSpacing(true): Return the default item spacing if the view is
...
LVS_ICON, and the current 'item size' otherwise.
2001-04-16 19:04:12 +00:00
Rein Klazes
4d7e26f9a2
Fixed scrolling of listview with a mouse wheel.
2001-04-04 18:25:46 +00:00
Francois Gouget
d6f5ed273d
Update nSelectionMark and nFocusedItem when inserting/deleting/sorting
...
items.
SortItems: If sorting less than 2 items, do nothing.
2001-03-05 22:11:17 +00:00
Francois Gouget
f45d56912a
In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no
...
selection mark has been set, just select the current item.
In LISTVIEW_SetGroupSelection we must also set the selection mark in
that case (and only in that case).
Removed a naughty ';' (spotted by Eric Pouech).
2001-03-04 01:04:35 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
James Hatheway
7fdceb2217
Update selection after sorting (in LISTVIEW_SortItems) by making sure
...
selection list matches states of individual items.
2001-02-16 19:39:14 +00:00
James Hatheway
a2c2a83f8e
Send LVN_DELETEITEM notification first, to avoid crashes if the app
...
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.
2001-02-15 21:24:43 +00:00
François Gouget
4684ab1c12
ListView_GetItemRect already sets rc.left.
2001-02-14 21:42:24 +00:00
François Gouget
1afa24aeac
Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys.
...
Lowered the key repetition delay (Aric).
2001-02-12 18:07:43 +00:00
Chris Morgan
d62dd82efb
Fix ListView_GetItemRect() macro.
...
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
Gerard Patel
c0ca077f0b
Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount,
...
LISTVIEW_UpdateSize.
2001-01-22 19:27:43 +00:00
Ulrich Czekalla
0255c8f0df
Only adjust item rect by horizontal scrollbar offset in report view.
2001-01-17 01:48:14 +00:00
François Gouget
bde6ae0c19
Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText.
2001-01-09 21:50:27 +00:00
Ulrich Czekalla
e5786e3be6
Adjust item rects by horizontal scrollbar offset.
2001-01-09 20:49:38 +00:00
Aric Stewart
147bc6d21b
Ownerdata listviews were not clearing previously selected items when a
...
new item is set as selected using SetItem and the listview has
LVIS_SINGLESEL.
2000-11-29 00:00:11 +00:00
Aric Stewart
b1eb301477
Implemented VK_PRIOR and VK_NEXT processing (merged from Corel tree).
2000-11-08 04:30:16 +00:00
Aric Stewart
d41c9a3da4
Implemented the RedrawItems message for a listview.
2000-11-07 20:28:11 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Francois Gouget
7203ee6623
Use PS_ALTERNATE rather than PS_DOT.
...
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Aric Stewart
4de47040fd
Fixed cancels editing of a listview label if the listview is
...
scrolled.
2000-10-31 01:35:50 +00:00
Marcus Meissner
61ef06042e
Do not set the iSubItem part of the struct for LVM_HITTEST,
...
applications only need to pass memory space up to iItem.
2000-10-22 23:47:49 +00:00
James Hatheway
af7f901c9c
Fix messages sent when right-clicking in a blank (non-item) area of a
...
listview.
2000-10-19 22:28:06 +00:00