Lionel Ulmer
5e36ae56b2
Check the value of the pfnCallback in addition to the callback bit.
2003-01-03 03:06:42 +00:00
Chris Morgan
fa93b446d0
Listview should scroll by at least one column, fixes bug where item
...
being wider than listview prevents any scrolling from occuring. Added
printing of the scroll code text during tracing of scroll functions.
2003-01-03 03:04:22 +00:00
Rein Klazes
0e162e4643
Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a
...
previously opened AVI clip when there isn't one.
2003-01-02 17:54:23 +00:00
Duane Clark
521aa7412d
Validate imagelists with christmas magic.
2003-01-02 17:51:13 +00:00
Duane Clark
3d2e380244
Report mode padding tweaks.
...
Fix to LISTVIEW_GetSubItemRect.
2002-12-23 02:02:06 +00:00
Rolf Kalbermatter
6c79930413
Add config.h/port.h to allow compilation/linking in MSVC.
...
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Robert Shearman
096becedd8
Implemented StrStrIW.
2002-12-13 23:25:59 +00:00
Rolf Kalbermatter
4f7ec6335c
Typo found by compiling with standard MSVC warning level.
2002-12-13 00:35:44 +00:00
Dimitrie O. Paun
9c50730354
Get rid of generic notification support in comctrl32. The MS docs were
...
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +00:00
Dimitrie O. Paun
5720007370
- Plug a bunch of memory leaks.
...
- Make ranges_destroy behave more like free().
- Fix messed up indentation from tabs set to 4 chars.
- Updated the documentation.
2002-12-10 19:07:27 +00:00
Francois Gouget
3db0008552
Define PSH_WIZARD97 (problem reported by jaymz@free.fr).
2002-12-06 23:19:54 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Alexandre Julliard
18d029722f
Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
...
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Dimitrie O. Paun
d2e881d543
- Typesafe parameters from TREEVIEW_NotifyFormat.
...
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Andreas Mohr
1e6258fca5
Added the missing cx member to the MyDLGITEMTEMPLATEEX struct.
2002-11-25 02:45:19 +00:00
Aric Stewart
eb56d81956
LVN_GETDISPINFO seems to always be Ansi.
2002-11-25 01:11:11 +00:00
Tisheng Chen
80a6620815
Added Simplified Chinese support.
2002-11-20 19:47:44 +00:00
Alexandre Julliard
bb0fd59674
Setting the horizontal scrollbar can change the values for the
...
vertical one so make sure we compute them separately.
2002-11-18 19:51:11 +00:00
Dimitrie O. Paun
0fe326c499
Use DeleteDC instead of DeleteObject to free HDCs (spotted by Dietrich
...
Teickner <Dietrich_Teickner@t-online.de>).
Clear the imagelist structure on deletion, as some stupid apps free
imagelists multiple times.
2002-11-18 19:45:22 +00:00
Ulrich Czekalla
fbf98737d2
- Add support for multiple image lists.
...
- Add TBN_INITCUSTOMIZE notification.
- Correctly populate TBN_QUERYDELETE.
- Support TBN_GETBUTTONINFOW.
2002-11-13 21:21:03 +00:00
Huw Davies
8d74ef1030
Check the return value of ImageList_GetImageInfo before adjusting the
...
size.
2002-11-13 19:39:09 +00:00
Rolf Kalbermatter
91befd6902
Fix some NULL dereferencing.
2002-11-11 22:19:42 +00:00
Dimitrie O. Paun
add721769b
Do not draw the text of the item being edited.
2002-11-06 22:32:00 +00:00
Dimitrie O. Paun
c6ff9064d0
Fix the 'jumping selection' bug ( #1108 ).
...
Misc small cleanups.
2002-11-06 22:01:56 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Carlos Lozano
5347222b23
lParam was not properly sent in COMBOEX_DrawItem.
2002-10-31 22:02:47 +00:00
Dimitrie O. Paun
40dab82a13
Append columns with large column indices.
2002-10-31 22:01:33 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Dimitrie O. Paun
4bbd7b3e26
Fix some treeview notification codes between ANSI/Unicode mode.
2002-10-31 00:54:53 +00:00
Rein Klazes
d9310e76c4
Fix for listview wheelmouse message handling.
2002-10-29 23:08:33 +00:00
Sander van Leeuwen
f9768f4792
Fixed font object leak in WM_SETFONT handler.
2002-10-29 21:28:37 +00:00
Dimitrie O. Paun
02af550a2a
Send the right notification code (A/W) depending on the Unicode
...
setting.
2002-10-29 21:25:35 +00:00
Alexandre Julliard
26a470e1f0
set_main_item: ignore meaningless bits in stateMask for LVS_OWNERDATA
...
instead of failing.
2002-10-28 21:21:42 +00:00
Dimitrie O. Paun
2d2e6acbbd
We should always have a main item in report mode.
2002-10-28 20:40:21 +00:00
Dimitrie O. Paun
7e12841030
Properly fill lParam in NMLISTVIEW.
2002-10-28 20:38:39 +00:00
Dimitrie O. Paun
173d40a493
Fix crash-inducing typo/thinko.
2002-10-28 20:38:03 +00:00
Dimitrie O. Paun
5574e750c5
Mark immutable objects as const. Fix inconsistent *-style.
2002-10-28 20:37:28 +00:00
Dimitrie O. Paun
f5221578f6
Add LVHITTESTINFO debug helper. More tracing.
2002-10-28 20:36:52 +00:00
Dimitrie O. Paun
17b97eb929
Despite what the docs say, we have to invalidate the list on
...
WM_SETREDRAW(TRUE).
2002-10-28 20:36:16 +00:00
Dimitrie O. Paun
ccc8f7dca9
Eliminate flicker when resizing, docs updates.
2002-10-28 20:35:44 +00:00
Dimitrie O. Paun
19a1c42386
Cleanup, and simplification of UpdateSize.
2002-10-28 20:35:09 +00:00
Dimitrie O. Paun
9a9fcab763
Handle focus item properly in SetItemCount.
2002-10-28 20:34:34 +00:00
Dimitrie O. Paun
f9e70d8b81
Remove only the necessary selections when setting the item count.
2002-10-28 20:34:00 +00:00
Dimitrie O. Paun
28a2f193a3
Rewrite of the SetItemCount: bugs got squashed,
...
LVSICF_{NOSCROLL,NOINVALIDATEALL} implemented.
2002-10-28 20:33:18 +00:00
Carlos
5803819971
lParam was not properly sent in TTM_ADDTOOLW.
2002-10-28 18:50:36 +00:00
Carlos
392defd3ef
lParam was not properly sent in CBEN_GETDISPINFOW.
2002-10-28 18:50:14 +00:00
Andreas Mohr
6e256c72fe
- fix some pselling
...
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Dimitrie O. Paun
5a11b009f1
Do not invalidate list on WM_SETREDRAW.
...
Update size info even if redrawing is disabled.
Trivial cleanups, and some tracing.
2002-10-25 03:21:25 +00:00
Dimitrie O. Paun
221398344e
We can avoid flicker on column resize only if it's left align.
2002-10-25 03:20:43 +00:00
Dimitrie O. Paun
fa5b29acd3
Always draw the main item in full row select.
2002-10-25 03:20:03 +00:00
Dimitrie O. Paun
f7441d00ed
Use iterators to render over the columns, in report mode.
2002-10-25 03:19:24 +00:00
Dimitrie O. Paun
863d6a87f5
Small iterator-over-range[s] cleanup.
2002-10-25 03:18:47 +00:00
Dimitrie O. Paun
83679e6b88
Eliminate most of the flicker when resizing columns.
...
More debug tracing.
2002-10-25 03:18:07 +00:00
Dimitrie O. Paun
ab97b86902
Fix subitem background color in full row select.
2002-10-25 03:17:36 +00:00
Dimitrie O. Paun
b14c82a8b8
We should callback for inexistent subitems.
...
Do not store callback items for subitems, even if we're asked to.
Small cleanup.
2002-10-25 03:17:04 +00:00
Dimitrie O. Paun
16db256923
Fix crash when computing the item width of a report with no columns.
...
Override custom draw bkgnd color for selection items.
Fill background for all items that have a bkgnd colour.
2002-10-25 03:16:26 +00:00
Dimitrie O. Paun
3520c83275
Keep autoarranging items until one is moved.
2002-10-25 03:15:51 +00:00
Dimitrie O. Paun
01e82f2b27
Abstract autoarranging decision to a helper function.
2002-10-25 03:15:18 +00:00
Dimitrie O. Paun
5b8361463d
Do not do screen work if refreshing is disabled.
...
Reimplement SetRedraw to cope with the changes.
2002-10-25 03:14:44 +00:00
Dimitrie O. Paun
c4e45d7f94
Rewrite the UpdateScroll function: simpler, faster.
...
Add debugging helper for SCROLLINFO.
Fix potential bug in debugging helpers.
2002-10-25 03:14:06 +00:00
Dimitrie O. Paun
89ab25a737
Avoid division by 0 by initializing the item size in on creation.
...
Rename update_icon_size to set_icon_size, fix parameters order.
Assorted cleanups.
2002-10-23 23:32:50 +00:00
Dimitrie O. Paun
5ffde298fe
Append to the end of the DPA, if insert index is too large.
2002-10-23 23:32:19 +00:00
Carlos
9fa51e4172
Fixed duplicated arrows in header control.
2002-10-23 23:31:35 +00:00
Dimitrie O. Paun
b894605987
Fix thinko that slipped in with the prev patch (reenables refresh).
...
Mark a few things that needs looking at.
Small cleanup.
2002-10-23 22:32:25 +00:00
Dimitrie O. Paun
9cdcd44eaa
Do not invalidate the window before the first paint job.
...
Assorted cleanups.
2002-10-23 22:31:47 +00:00
Dimitrie O. Paun
f7051c88ae
Use InvalidateItem instead of explicit InvalidateRect, it is cleaner,
...
and faster when redraw is disabled.
2002-10-23 22:31:13 +00:00
Dimitrie O. Paun
c093196c05
Transform the invalidation macros to proper functions.
2002-10-23 22:30:39 +00:00
Dimitrie O. Paun
bf46fab650
Delay some size computations until after first paint.
2002-10-23 22:29:47 +00:00
Rein Klazes
7d9b04dbe2
Reorganize the item size calculation (a bit simpler, and faster).
2002-10-23 22:28:44 +00:00
Rein Klazes
1fd077939f
Search through all items when LISTVIEW_FindItemW is called with
...
LVFI_PARAM flag.
2002-10-23 22:28:03 +00:00
Dimitrie O. Paun
bf761a331c
Delete the items if we actually own them.
2002-10-23 22:25:42 +00:00
Dimitrie O. Paun
8f15b6e6b3
Do not callback to the parent for lParam when in LVS_OWNERDATA.
...
Docs update.
2002-10-23 22:25:10 +00:00
Michael Stefaniuc
353529b2c8
- fix the "int format, HANDLE arg" type of warnings for comctl32
...
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc
85e40cf37a
Add casts to compile with -DSTRICT.
2002-10-23 20:58:33 +00:00
Dimitrie O. Paun
5acd96bb4e
Do not crash if callback text is not filled (behave like native).
...
Render report mode from top to bottom (easier on the eye).
Docs updates, type fixes, more traces.
2002-10-23 20:57:13 +00:00
Dimitrie O. Paun
6608328f76
Collect all bugs, missing features, etc in the header doc.
...
Minor cleanups.
2002-10-23 20:56:30 +00:00
Dimitrie O. Paun
9ff0da09ff
Do not autoarrange if we insert/delete from the end of the list.
2002-10-23 20:55:05 +00:00
Dimitrie O. Paun
c5da549d10
Rework SetItemPosition, bunch of bugs squashed in the process.
...
Complete icon alignment rewrite: cleaner, incremental, etc.
Completely avoid aligning all icons on every insert
- icon placement is incrementally computed now: it's fast.
Small cleanups, docs update, etc.
2002-10-23 20:54:23 +00:00
Dimitrie O. Paun
c5e2731939
Rename LISTVIEW_ITEM to ITEM_INFO for consistency.
...
Rename LISTVIEW_SUBITEM to SUBITEM_INFO for same reason.
Fix type in comment spotted by Bobby Bingham.
2002-10-23 20:53:42 +00:00
Patrik Stridvall
cf07e10017
Don't use wine/unicode.h in the header files, include it directly
...
where needed instead.
2002-10-23 20:20:59 +00:00
Michael Stefaniuc
f3d1893f80
Add needed casts for a "no warnings" compile of comctl32.
2002-10-23 20:19:22 +00:00
Christian Neumair
513eb2a24a
Collect all bugs, missing features, etc in the header doc.
2002-10-23 18:43:32 +00:00
Dimitrie O. Paun
d664540782
Bring header's height more inline with native's.
2002-10-22 00:41:45 +00:00
Dimitrie O. Paun
254e7484fa
DPAs can't have more than 0x8000 elements (fixed with lots of help
...
from Carlos <clozano@andago.com).
2002-10-21 19:54:06 +00:00
Dimitrie O. Paun
c7fbc1b2c9
No need to increment item size, it's already adjusted by DPA_SetPtr
...
(found, and fixed by Carlos <clozano@andago.com>).
2002-10-21 19:49:44 +00:00
Dimitrie O. Paun
6168b98176
Do not rely on HeapReAlloc to allocate a NULL pointer.
2002-10-21 19:49:12 +00:00
Dimitrie O. Paun
7888385d76
Rewrite DPA_InsertPtr in terms on DPA_SetPtr, so that it's simpler,
...
cleaner, and more correct.
It now expands the array to accomodate larger than current size
indexes.
2002-10-21 19:48:37 +00:00
Dimitrie O. Paun
a87b685350
Do not send uninitialized lParams on notification msgs (found by Rein
...
Klazes <rklazes@xs4all.nl>).
2002-10-21 19:46:46 +00:00
Dimitrie O. Paun
6deae0b86d
Complete rewrite of the rcView implementation.
...
Lots of bugs fixed in rcView computation.
Assorted cleanups, and simplifications.
2002-10-21 19:46:08 +00:00
Dimitrie O. Paun
c9e0133357
Split ranges_destroy in ranges_clear, and ranges_destroy.
...
Rewrite DeleteAllItems, for cleaner, faster, more correct code.
2002-10-21 19:45:29 +00:00
Dimitrie O. Paun
62f4c61d22
Updated header documentation to the latest, and greatest.
2002-10-21 19:44:51 +00:00
Dimitrie O. Paun
06701fb09e
Optimize invalidation on insert.
...
Share the invalidation code between {Delete,Insert}Item.
2002-10-21 19:44:18 +00:00
Dimitrie O. Paun
f18e271bff
Rewrite DeleteItemT: cleaner, a lot faster.
...
Number of bug were fixed.
The minimum possible is redrawn.
2002-10-21 19:43:37 +00:00
Dimitrie O. Paun
c859242ac8
Implement most of LVM_ARRANGE.
...
Make use of it, where it was appropriate.
Use infoPtr->dwStyle directly, in most places.
Assorted cleanups.
2002-10-21 19:43:03 +00:00
Dimitrie O. Paun
56c17651a0
Proper (type wise) return types.
2002-10-21 19:42:30 +00:00
Dimitrie O. Paun
214c721160
Reorganize header notifications.
...
Support notifications that don't have embedded size info.
Invalidate columns on format change (if needed).
Assorted cleanups.
2002-10-21 19:41:56 +00:00
Dimitrie O. Paun
713d0a061f
Crash on internal NULL pointers, don't test all over the place.
2002-10-21 19:41:00 +00:00
Dimitrie O. Paun
e37692bd33
When removing focus, no need to go through all elements.
2002-10-21 19:40:26 +00:00
Dimitrie O. Paun
feb326118f
Fix colors for selected items in full row select mode.
...
Fix bug caused by use of uninitialized state.
2002-10-21 19:39:45 +00:00