Alexandre Julliard
5d6e052926
comctl32: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:37 +02:00
Nikolay Sivov
7d846eb19f
comctl32/listview: Properly handle subitem hittesting outside of horizontal columns bounds.
2010-04-21 11:57:32 +02:00
Gerald Pfeifer
aa745feddc
comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.
2010-04-20 16:22:23 +02:00
Nikolay Sivov
7371d0d2fc
comctl32/listview: Exit early on LVM_CREATEDRAGIMAGE if null pointer passed for a point.
2010-04-20 16:21:37 +02:00
Dmitry Timoshkov
93437fc963
comctl32: Do not use width of the passed to ImageList_Add bitmap as an icon width.
2010-04-07 13:51:45 +02:00
Mikhail Maroukhine
6443d87543
comctl32: Fix compiler warnings.
2010-03-29 12:10:00 +02:00
Mikhail Maroukhine
3cad4a1d16
comctl32: Fix incorrect const type casting.
2010-03-29 12:09:28 +02:00
Mikhail Maroukhine
bd6f218165
comctl32: Fix compiler warnings with flag -Wcast-qual.
2010-03-26 10:32:33 +01:00
Michael Stefaniuc
0c2ec54535
comctl32/tests: Use the SendMessage instead of ListView_Scroll.
2010-03-26 10:29:52 +01:00
Mikhail Maroukhine
ad68792a14
comctl32/tests: Remove superfluous casts.
2010-03-25 09:45:06 +01:00
Francois Gouget
2659ac14f8
comctl32/tests: fix an ok() call's trailing '\n'.
2010-03-22 10:48:30 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Jeff Latimer
4f20455e4c
comctl32: cchTextMax needs to be set for LVS_OWNERDATA as it uses LVN_GETDISPINFO notifications.
2010-03-15 15:13:54 +01:00
Nikolay Sivov
b1b54ae39f
comctl32/datetime: Use user locale for format.
2010-03-15 14:18:06 +01:00
Dylan Smith
7617cc4bcc
comctl32/tests: Added scrolled listview test for LVM_GETSUBITEMRECT.
2010-03-03 11:52:28 +01:00
Dylan Smith
a7053ecc4c
comctl32/listview: Scrolling affects subitem rect.
2010-03-03 11:52:21 +01:00
Dylan Smith
3952da836a
comctl32/tests: Add NULL terminator to unicode string constant.
2010-03-03 11:52:07 +01:00
Nikolay Sivov
006362567b
comctl32/toolbar: Fix possible null pointer dereference.
2010-03-02 11:12:05 +01:00
Reece Dunn
78ce24d632
comctl32/mru: In EnumMRUListA, ensure that the string is NULL terminated and the correct size is returned.
2010-02-26 13:02:33 +01:00
Alexandre Julliard
2432b0f6b9
comctl32/tests: Fix broken check of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:04:18 +01:00
Dmitry Timoshkov
27e9b5bdb4
comctl32: Initialize item.mask before sending HDM_GETITEM message.
2010-02-22 12:08:33 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Dmitry Timoshkov
c1fd55d6c9
comctl32: Listview should accept both unicode and ansi notifications.
...
Listview receives notifications not only from built-in header control,
but also from custom or subclassed application controls, there is no
need to assert(0) on application input, printing a FIXME is the maximum
we can do on an unknown input.
2010-02-18 15:01:01 +01:00
Nikolay Sivov
70890031a3
comctl32/rebar: Don't try to access band data before it's needed.
2010-02-12 11:54:17 +01:00
Nikolay Sivov
057267d85e
comctl32/listview: Revert item width calculation to fix performance issues.
2010-02-08 17:49:47 +01:00
Nikolay Sivov
8c16c4030b
comctl32/updown: Use set acceleration value while processing keyboard keypresses.
2010-02-04 17:27:37 +01:00
Alexandre Julliard
9e47c59427
comctl32: Actually grow the array in DPA_Grow.
2010-01-29 13:30:00 +01:00
Michael Stefaniuc
223603cc1c
comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource.
2010-01-26 12:13:51 +01:00
Peter Dons Tychsen
a3528a7642
comctl32: Handle WM_NOTIFY correctly when the parent returns zero.
2010-01-22 13:09:01 +01:00
Jason Edmeades
81d8135424
comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY.
2010-01-14 10:22:23 -06:00
Paul Vriens
9cf1af7cac
comctl32: Fix size parameter for memset (Coccinelle).
2010-01-11 11:34:18 -06:00
Marcin Baczyński
9e951e8d14
comctl32: Remove superfluous void* cast.
2010-01-07 17:59:57 +01:00
Nikolay Sivov
6ca7654ec7
comctl32/listview: Fix memory leak on subrange deletion.
2010-01-07 09:26:00 +01:00
Nikolay Sivov
acec38873f
comctl32/comboex: Fix a leak for text string stored for edit item.
2010-01-04 11:42:34 +01:00
André Hentschel
9d9c4061f9
comctl32: Improve German translation.
2010-01-04 11:41:28 +01:00
Gerald Pfeifer
8b73b131de
comctl32: Remove obsolete comment on RB_SETPALETTE from REBAR_WindowProc().
2009-12-28 14:22:28 +01:00
Michael Stefaniuc
9c15472a3b
comctl32: The return value of notify_with_scroll() is never used.
...
So don't bother returning something from that function.
2009-12-28 12:27:15 +01:00
Michael Stefaniuc
9dd502a332
comctl32: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:14 +01:00
Michael Stefaniuc
92e4e63353
comctl32/tests: Remove some superfluous casts around SendMessage().
2009-12-28 12:27:14 +01:00
Nikolay Sivov
f897a91247
comctl32/updown: Fix formatting for hex mode.
2009-12-28 12:27:14 +01:00
Nikolay Sivov
46194d39f6
comctl32/rebar: Check for null handles before invalidation.
...
This prevents all windows invalidation.
2009-12-28 12:27:14 +01:00
Nikolay Sivov
2e1aa43ab1
comctl32/tests: Skip test on <5.8x systems.
2009-12-28 11:55:39 +01:00
Nikolay Sivov
02c06f0d66
comctl32/rebar: Avoid empty band range when changing layout.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
6398448974
comctl32/comboex: Move debugging traces that require additional code into TRACE_ON() condition.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
253edf0fbb
comctl32/comboex: Get rid of useless helper.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7d748b6ba0
comctl32/comboex: Don't invalidate all windows if Edit box isn't set up.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7deb277900
comctl32/comboex: Fix silly typo in CBEM_SETITEM handler (lParam wasn't set).
2009-12-24 12:15:41 +01:00
Nikolay Sivov
96d965f295
comctl32/comboex: Add test for internally sent Edit messages, remove corresponding comments.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
ecc89bf6ef
comctl32/comboex: Use subclass chain for internally used controls.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7fa3778d8c
comctl32/rebar: Fix default just inserted band colors.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
80ed866ff4
comctl32/tests: Explicitly create rebar for each test, cleanup main function a bit.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
9ef90f480a
comctl32/updown: Don't change control z-order, this breaks auto buddy binding.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
750ce6be35
comctl32/updown: Don't update buddy text if it's the same.
2009-12-23 14:27:30 +01:00
Paul Vriens
f0a35db253
comctl32/tests: Fix a test failure on older comctl32.
2009-12-22 15:40:00 +01:00
Nikolay Sivov
6cc141ff59
comctl32/updown: Simplify buddy subclassing using SetWindowSubclass chain.
2009-12-22 13:48:26 +01:00
Nikolay Sivov
705aee525a
comctl32/tests: Use win_skip() while skipping subclass tests.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
48d42d4a93
comctl32/tests: Some tests for buddy procedure subclassing.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
8fc96f20a3
comctl32/tests: Add ability to create any number of edit buddies.
2009-12-22 13:48:25 +01:00
Jason Edmeades
64bd51b1d3
comctl32/toolbar: Improve fixme message conditions.
2009-12-22 13:48:24 +01:00
Michael Stefaniuc
93d45253cd
comctl32/tests: Don't cast NULL to an integer type.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
48efba00b6
comctl32/rebar: Don't read outside of bands array on dragging.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
07fc19bbe3
comctl32/rebar: Collapse some parameter checks and winproc entries.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
b6abcb2f86
comctl32/rebar: Move parameter cast to winproc.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
1e74d5992c
comctl32/rebar: Use DPA to manage bands data.
2009-12-21 15:01:24 +01:00
Alexandre Julliard
6fd93a6c7e
comctl32: Use the module instance instead of that of the owner window for the toolbar configuration dialog.
2009-12-21 11:20:19 +01:00
Paul Vriens
fb1fada93a
comctl32/tests: Fix some test failures on older comctl32.
2009-12-15 11:44:56 +01:00
Nikolay Sivov
e81f2642f1
comctl32/treeview: Implement NM_SETCURSOR notification.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
49dabfe31d
comctl32/treeview: Draw +/- signs with text color, not the lines' one.
...
+/- aren't affected by customdraw settings, only per control
set colors used.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
b65a7a0052
comctl32/treeview: Fix default colors set on creation.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
28d5410596
comctl32/treeview: Fix mouse tracking request code.
...
After query current tracking state passed parameters could be overwritten,
similar fix for Listview was recently committed.
2009-12-14 12:04:05 +01:00
Paul Vriens
1d0e02b63e
comctl32/tests: Fix a test failure on older comctl32.
2009-12-10 16:53:32 +01:00
Nikolay Sivov
83f2135e0d
comctl32/tests: Get rid of static handles, split tests finally.
2009-12-10 11:56:43 +01:00
Nikolay Sivov
6823e0f3ec
comctl32/treeview: Remove some forward declarations.
2009-12-10 11:56:35 +01:00
Nikolay Sivov
e3c34f2d29
comctl32/treeview: Use additional helper for item invalidation.
2009-12-10 11:56:23 +01:00
Kirill K. Smirnov
dc45e2c513
comctl32/treeview: Avoid a NULL pointer dereference.
2009-12-09 14:54:01 +01:00
Nikolay Sivov
c2a7535e9d
comctl32/listview: Update item width every time new item is inserted.
...
This prevents retaining previously stored width and unexpected item
displaying collapsing with ending ellipsis.
2009-12-09 14:25:21 +01:00
Nikolay Sivov
7d6412c82d
comctl32/datetime: Free internal data completely on control destruction.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
bd8fc9c474
comctl32/tests: Don't forget to free array after tests.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
0f003ef48d
comctl32/tests: Free imagelist after use.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
6d989feff9
comctl32/treeview: Free items pointer array and root item on control destruction.
...
Two issues here: item pointers array wasn't freed, root item data wasn't freed.
Found by Valgrind.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
eaee84f4db
comctl32/updown: Set width to default value on creation.
2009-12-03 14:02:54 +01:00
Nikolay Sivov
b2d89f4823
comctl32/updown: Specify all styles explicitly in tests.
2009-12-03 14:02:54 +01:00
Ilya Shpigor
fa92edfa48
comctl32: Implementation the WM_GETTEXT processing of datetime control.
2009-12-02 16:08:45 +01:00
Ilya Shpigor
e4e55ed8b4
comctl32: Test the WM_GETTEXT processing of datetime control.
2009-12-01 15:10:37 +01:00
Nikolay Sivov
1804941797
comctl32/treeview: Simplify WM_CHAR handler.
2009-12-01 13:14:11 +01:00
Nikolay Sivov
277c5139d2
comctl32/treeview: Clean up winproc a bit, move parameter check to handlers.
2009-12-01 13:14:06 +01:00
Michael Stefaniuc
4376ccf3fc
comctl32: Use FAILED instead of !SUCCEEDED.
2009-12-01 13:04:36 +01:00
Nikolay Sivov
d2e169fadd
comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.
2009-11-30 12:56:53 +01:00
Nikolay Sivov
1e1c1310f5
comctl32/listview: Get rid of duplicated helper in tests.
2009-11-30 12:56:47 +01:00
Nikolay Sivov
78e7b3cf9c
comctl32/listview: New hover value should be passed using LPARAM.
2009-11-30 12:56:30 +01:00
Nikolay Sivov
ea058d22ba
comctl32/listview: Add NM_HOVER notification.
2009-11-30 12:56:21 +01:00
Nikolay Sivov
5f191553e8
comctl32/listview: Make mouse hover work.
...
Event data was overwritten by TME_QUERY response.
2009-11-30 12:56:05 +01:00
Nikolay Sivov
8eb9e7ebd5
comctl32/listview: Draw LVIS_CUT items with white foreground color.
2009-11-30 12:55:50 +01:00
Nikolay Sivov
999810566b
comctl32/listview: Implement LVS_EX_HEADERINALLVIEWS.
2009-11-30 12:55:43 +01:00
Nikolay Sivov
dcd54f08fc
comctl32/listview: Get rid of helper used once.
2009-11-30 12:55:23 +01:00
Nikolay Sivov
a729e040e6
comctl32/listview: Further winproc simplification.
2009-11-30 12:55:12 +01:00
Nikolay Sivov
60f0f4e8ca
comctl32/listview: Call default procedure directly from handlers if such forwarding needed.
2009-11-30 12:55:00 +01:00
Nikolay Sivov
8d43bdd2ee
comctl32/listview: Remove parameter check from winproc for LVM_SETITEMPOSITION32.
2009-11-30 12:54:37 +01:00
Nikolay Sivov
62c610df3c
comctl32/listview: Collapse some handlers call in winproc.
2009-11-30 12:54:01 +01:00
Nikolay Sivov
fc43895f49
comctl32/listview: Default column width in LVS_LIST to better value.
2009-11-30 12:53:40 +01:00