Saulius Krasuckas
85aa34eea6
comctl32/tests: Make propsheet.c compile with -D__WINESRC__.
2013-11-08 12:45:52 +01:00
Saulius Krasuckas
f44ceec023
comctl32/tests: Make updown.c compile with -D__WINESRC__.
2013-11-08 12:45:42 +01:00
Saulius Krasuckas
6d773fd979
comctl32/tests: Make tooltips.c compile with -D__WINESRC__.
2013-11-08 12:45:34 +01:00
Saulius Krasuckas
26ec350b73
comctl32/tests: Make mru.c, pager.c and syslink.c compile with -D__WINESRC__.
2013-11-08 12:45:12 +01:00
Saulius Krasuckas
529484603b
comctl32/tests: Make status.c compile with -D__WINESRC__.
2013-11-08 12:44:55 +01:00
Saulius Krasuckas
10f5a733c1
comctl32/tests: Make subclass.c compile with -D__WINESRC__.
2013-11-08 12:44:27 +01:00
Saulius Krasuckas
ce91a28728
comctl32/tests: Make progress.c compile with -D__WINESRC__.
2013-11-08 12:44:00 +01:00
Alexandre Julliard
5756ee09f3
makefiles: Add makedep pragmas for rc files that contain translations.
2013-11-05 20:38:19 +01:00
Piotr Caban
c4708bca33
comctl32: Add more TVS_CHECKBOXES flag tests.
2013-10-31 18:24:26 +01:00
Piotr Caban
7b1ff882d1
comctl32: Initialize treeview checkboxes in WM_PAINT when TVS_CHECKBOXES was passed during control creation.
2013-10-31 18:24:25 +01:00
Piotr Caban
40648ddfd5
comctl32: Initialize himlState list in TREEVIEW_Paint when TVS_CHECKBOXES flag is set.
2013-10-31 18:24:23 +01:00
Frédéric Delanoy
4473ce4db9
Assorted spelling fixes.
2013-10-30 09:46:27 +01:00
Piotr Caban
22a1329382
comctl32: Fix a typo in UPDOWN_OffsetVal that breaks UDS_WRAP flag support.
2013-10-28 10:43:14 +01:00
Nikolay Sivov
44ebba9d5e
comctl32/tests: Preparation for switching __WINESRC__ on.
2013-10-22 20:19:17 +02:00
Frédéric Delanoy
1f6e66babe
comctl32/tests: Use BOOL type where appropriate.
2013-10-22 16:37:40 +02:00
Frédéric Delanoy
411ef80ac7
comctl32: Use BOOL type where appropriate.
2013-10-22 16:37:40 +02:00
Piotr Caban
20019a77bc
comctl32/tests: Add more updown control value tests.
2013-10-16 20:49:26 +02:00
Piotr Caban
e58af930ff
comctl32: Fix UDM_GETPOS behaviour on out of range values.
2013-10-16 20:49:26 +02:00
Piotr Caban
ac31df438a
comctl32: Fix UDM_SETPOS behavior on out of range values.
2013-10-16 20:49:26 +02:00
Piotr Caban
e6fce2de4a
comctl32: Set updown control value to min or max in out of range case.
2013-10-16 20:49:26 +02:00
Piotr Caban
26c751ea29
comctl32: Ignore tooltip position passed in TTM_TRACKPOSITION if TTF_TRACK flag is not set.
2013-10-15 16:36:12 +02:00
Frédéric Delanoy
d12c0d67ae
comctl32: Use BOOL type where appropriate.
2013-10-11 11:06:03 +02:00
Frédéric Delanoy
cf8efbd252
comctl32: Use BOOL type where appropriate.
2013-10-04 12:46:17 +02:00
Michael Stefaniuc
37caf788b5
comctl32/tests: comctl32.dll is already loaded.
2013-10-02 13:03:29 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
9463dba830
tests: Use the explicit LoadLibraryA function.
2013-10-02 11:02:21 +02:00
Francois Gouget
d3672524ed
Assorted spelling fixes.
2013-10-01 19:09:08 +02:00
Thomas Faber
43dd359ebe
comctl32: Remove superfluous const from DPA/DSA function signatures.
2013-09-30 11:33:36 +02:00
Michael Stefaniuc
2a39cb377a
dlls: Replace the remaining CONSTs.
2013-09-25 11:49:20 +02:00
Thomas Faber
e12c8c0ce9
comctl32: Fix build with MSVC.
2013-09-16 11:47:19 +02:00
Nikolay Sivov
88d5cab5e9
comctl32/tests: Manually load comctl32.dll with newly activated context.
2013-09-09 11:27:59 +02:00
Nikolay Sivov
f13d8cc373
comctl32: Fix LVS_OWNERDRAWFIXED handling in hittesting.
2013-09-09 11:27:54 +02:00
Andrew Eikum
75fbef2ded
comctl32: Return the number of visible months for MCM_GETMONTHDELTA.
2013-08-30 11:12:54 +02:00
Daniel Jelinski
0ba24895f6
comctl32: Do not rearrange treeview when collapsing already collapsed item.
2013-08-16 11:55:23 +02:00
Nikolay Sivov
b130ca1c5f
comctl32: Properly handle repainting for HDF_OWNERDRAW items.
2013-07-22 17:15:59 +02:00
Francois Gouget
47b56f238d
comctl32/tests: Use ok(0) to report unexpected function calls instead of assert(0).
2013-07-03 21:20:03 +02:00
Dmitry Timoshkov
c14ff4bef0
comctl32: Fix broken logic for retrieving default font properties.
2013-06-18 10:40:38 +02:00
Dmitry Timoshkov
cc086f09ae
comctl32: Use default GUI font as a fallback instead of a (non-existent) Arial.
2013-06-17 13:34:40 +02:00
Nikolay Sivov
f8ce7ed978
comctl32/tests: Remove useless message tracing.
2013-06-06 10:43:03 +02:00
Alexandre Julliard
3e33f61c56
comctl32/comboex: Add support for setting the font.
2013-05-29 18:08:58 +02:00
Alexandre Julliard
7624da76a8
comctl32: Remove comments about native behavior, that's not a valid source of information.
2013-05-29 15:43:27 +02:00
Nikolay Sivov
65a47e3df6
comctl32: Return previously set colors for PBM_SETBKCOLOR and PBM_SETBARCOLOR.
2013-05-27 19:18:01 +02:00
Nikolay Sivov
2d5abbd1d7
comctl32: Forward WM_MEASUREITEM to Rebar notification window.
2013-05-20 12:08:00 +02:00
Nikolay Sivov
4f99560ef0
comctl32: Remove duplicated code for scroll control size calculation.
2013-05-20 12:07:43 +02:00
Alexandre Julliard
1b4c1ab900
comctl32: Don't bother to unregister classes at process exit.
2013-05-14 11:13:09 +02:00
Nikolay Sivov
4625c399c6
comctl32: Use selected image for listbox/editbox for selected item only.
2013-05-14 11:09:25 +02:00
Nikolay Sivov
97caa729b6
comctl32: Allocate edit data with control info.
2013-05-14 11:09:20 +02:00
Nikolay Sivov
2e0ff5b780
comctl32: Remove unused defines.
2013-05-13 11:09:36 +02:00
Nikolay Sivov
eaad1cdea8
comctl32: Fix tics rectangle width/height.
2013-05-13 11:09:26 +02:00
Nikolay Sivov
1776cbf459
comctl32: Properly paint thumb using DrawEdge() for diagonal edges too.
2013-05-13 11:09:20 +02:00
Nikolay Sivov
a24808326d
comctl32: Properly invalidate after setting thumb length.
2013-05-13 11:09:07 +02:00
Nikolay Sivov
e95b9d2f06
comctl32: Update thumb size on WM_SIZE if it's not fixed, invalidate after resize.
2013-05-13 11:09:03 +02:00
Nikolay Sivov
2620e3cbe0
comctl32: Handle WM_ENABLE to update disabled style bit and repaint.
2013-05-10 17:53:07 +02:00
Nikolay Sivov
6f15ca3e47
comctl32: Paint item as selected if it's TVIS_SELECTED and also focused.
2013-05-09 19:24:21 +02:00
Nikolay Sivov
2248cfbb6b
comctl32: Fix disabled thumb painting, for TBS_BOTH use edged rectangle.
2013-05-09 19:24:20 +02:00
Nikolay Sivov
61a6a4f476
comctl32: Export TaskDialogIndirect by ordinal and name.
2013-04-12 16:26:17 +02:00
Nikolay Sivov
6ee869da6d
comctl32: Initialize id field for message data (Coverity).
2013-04-01 12:32:36 +02:00
Daniel Jelinski
27fb2fb076
comctl32/listview: Fix overwriting of item values.
2013-03-25 13:57:15 +01:00
Daniel Jelinski
6ad51d509c
comctl32/listview: Fix overwriting of item values.
2013-03-11 10:40:42 +01:00
Daniel Jelinski
cb8ce94e4d
comctl32/imagelist: Use proper color format for merged image lists.
2013-03-08 19:35:21 +01:00
Daniel Jelinski
fae9738cc3
comctl32/listview: Correct sending NM_CUSTOMDRAW to subitem 0.
2013-03-08 11:00:23 +01:00
Daniel Jelinski
704412b459
comctl32/listview: Fix custom draw prepaint handling.
2013-03-04 11:44:37 +01:00
Daniel Jelinski
0ee1df5926
comctl32/listview: Fix font handling in custom draw.
2013-03-04 11:39:20 +01:00
Daniel Jelinski
634d190478
comctl32/imagelist: Fixed merging of images without mask.
2013-03-04 11:39:00 +01:00
Daniel Jelinski
30d667bd25
comctl32/imagelist: Allow only one drag cursor.
2013-02-25 10:40:36 +01:00
Daniel Jelinski
b9fe178f36
comctl32/listview: Implement overlay image support.
2013-02-22 10:16:43 +01:00
André Hentschel
2c966be6c3
comctl32/tests: Mark win8 behaviour as broken.
2013-02-21 08:32:39 +01:00
Daniel Jelinski
75d774a43b
comctl32/listview: Fix incorrect message parameters.
2013-02-21 08:32:03 +01:00
Daniel Jelinski
77874d7863
comctl32/listview: Fix LVM_SETICONSPACING on 64bit machines.
2013-02-11 12:31:55 +01:00
Daniel Jelinski
80f70b5d85
comctl32/listview: Better handling of custom colors in report view.
2013-02-11 12:31:29 +01:00
Ken Thomases
c5858c16a6
comctl32: Improve mouse wheel scrolling in treeview control.
...
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines. Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:10 +01:00
Ken Thomases
858acfbb0d
comctl32: Improve mouse wheel scrolling in listview control.
...
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines. Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:10 +01:00
Ken Thomases
930e84dfd2
comctl32: Eliminate redundant local variable (gcWheelDelta == -wheelDelta).
2013-02-11 11:46:09 +01:00
Daniel Jelinski
f9c3a612af
comctl32/listview: Do not touch icon spacing if set explicitly.
2013-02-07 12:02:27 +01:00
Daniel Jelinski
aeefa82185
comctl32/listview: Always use large icon size when calculating icon spacing.
2013-02-06 10:16:17 +01:00
Daniel Jelinski
cb77ab1a00
comctl32/listview: Correct icon spacing calculation when set to 0 or -1.
2013-02-06 10:16:00 +01:00
Dmitry Timoshkov
7b3305169c
comctl32: Test appropriate tool window for active state.
...
There is no point in testing owner of the tooltip itself since it's often
created as a popup of the desktop window.
2013-02-05 10:53:42 +01:00
Nikolay Sivov
8f87fc5b39
comctl32/listview: Fix item search with keyboard input.
2013-01-30 12:43:11 +01:00
Nikolay Sivov
8418ae5334
comctl32: Test WM_GETDLGCODE return value for TreeView.
2013-01-30 12:43:05 +01:00
Nikolay Sivov
ac4192e769
comctl32: Use NM_RCLICK return value to allow default processing.
2013-01-30 12:43:01 +01:00
Francois Gouget
a5ff4b8088
Assorted spelling fixes.
2013-01-29 12:13:04 +01:00
Nikolay Sivov
500da7def6
comctl32/listview: Implement dragging with right button with a message loop.
2013-01-28 14:04:19 +01:00
Nikolay Sivov
ea57e29d08
comctl32/listview: Remove some dead code.
2013-01-14 11:02:18 +01:00
Nikolay Sivov
dbd997c3c9
comctl32/listview: Update focus index when new item data is already there.
2013-01-14 11:02:12 +01:00
Nikolay Sivov
b68e95abd8
comctl32/listview: Add a special case for deselect all attempt when nothing is selected.
2013-01-11 11:58:51 +01:00
Nikolay Sivov
7773d6b095
comctl32/listview: Always send LVN_ITEMCHANGING notification even if nothing changed.
2013-01-11 11:58:46 +01:00
Marcus Meissner
1fe4af293c
comctl32: Initialize SYSTEMTIME structs (Coverity).
2013-01-10 19:18:45 +01:00
Nikolay Sivov
7bb36372c8
comctl32/listview: Use LVM_SETITEMSTATE directly in tests.
2013-01-10 16:06:03 +01:00
Nikolay Sivov
6227bbcff7
comctl32/listview: Fix focus index update when item is deleted.
2013-01-10 16:05:56 +01:00
Marcus Meissner
d8d83d2eb3
comctl32: Avoid leak of hShell32 (Coverity).
2013-01-09 12:54:39 +01:00
Marcus Meissner
3173f17315
comctl32: Free the selection ranges (Coverity).
2013-01-08 12:30:15 +01:00
Daniel Jelinski
1964145713
comctl32/tests: Add tests for listview header image list.
2013-01-07 13:38:15 +01:00
Daniel Jelinski
bad62c0267
comctl32/listview: Support header images.
2013-01-07 13:38:14 +01:00
Daniel Jelinski
8257ab9a76
comctl32/listview: Fix subitem drawing.
...
lpColumnInfo->fmt & LVCFMT_IMAGE is supposed to mean that header item has
an image. It is not supposed to mean that all items in that column
should reserve space for an icon if they don't have any.
2013-01-07 13:38:13 +01:00
Daniel Jelinski
9b8e3ca410
comctl32/listview: Update item height when changing font.
2013-01-07 13:38:12 +01:00
Daniel Jelinski
7b1fd9e527
comctl32/listview: Redraw items after insert/delete.
2013-01-07 13:38:11 +01:00
Daniel Jelinski
67eb9744d9
comctl32/listview: Fix calculating item height.
2013-01-07 13:38:11 +01:00
Nikolay Sivov
67c57b216c
comctl32/listview: Improve LVM_GETSUBITEMRECT implementation for out-of-bounds item indices.
2013-01-03 16:44:07 +01:00
Andrew Talbot
23fde785ee
comctl32: Avoid signed-unsigned integer comparisons.
2013-01-02 13:35:52 +01:00
Ričardas Barkauskas
2c8ea6ebff
comctl32: Avoid code duplication by reusing PROPSHEET_GetPageIndex.
2012-12-26 18:23:04 +01:00
Ričardas Barkauskas
379d492b12
comctl32: Use index value if property sheet page isn't found.
2012-12-26 18:23:04 +01:00
Andrew Talbot
85ebbadcb0
comctl32: Indentation fix.
2012-12-17 11:47:39 +01:00
Michael Stefaniuc
ab55448069
comctl32/tests: Get rid of a temp buffer.
2012-12-12 11:58:43 +01:00
Daniel Jelinski
06a0a01e18
comctl32/listview: Forward more header notifications to parent window.
2012-12-11 20:45:44 +01:00
Daniel Jelinski
12c065111b
comctl32/listview: Convert header notifications to ANSI in place.
2012-12-11 20:45:44 +01:00
Daniel Jelinski
70df1d58cb
comctl32/tests: Add listview header notification tests.
2012-12-11 20:45:43 +01:00
Nikolay Sivov
fbd7f8813f
comctl32: Fix font style when item is bold and hovered in track mode.
2012-12-11 20:45:41 +01:00
Andrew Talbot
441780b2f1
comctl32: Indentation fix.
2012-12-11 12:03:41 +01:00
Nikolay Sivov
3938bfd30d
comctl32: Initialize id field for message tests.
2012-12-10 11:25:29 +01:00
Nikolay Sivov
9ed808e340
comctl32: Fix a ranges leak on error.
2012-12-10 11:25:00 +01:00
Andrew Talbot
da71545319
comctl32: Remove unneeded address-of operators from array names.
2012-12-06 13:01:15 +01:00
Michael Stefaniuc
5bade39f55
comctl32: Remove a superfluous function pointer cast.
2012-11-30 19:12:16 +01:00
Daniel Jelinski
c1157b79fd
comctl32: Properly initialize internal structures.
2012-11-27 19:45:38 +01:00
Alexandre Julliard
c3f0abfa40
comctl32/tests: Add some initial pager tests.
2012-11-20 17:23:39 +01:00
Alexandre Julliard
3ad9f29e02
comctl32/pager: Don't rely on PGN_CALCSIZE to set the non-scrollable dimension of the control.
2012-11-20 17:18:17 +01:00
Alexandre Julliard
7a78eed463
comctl32/pager: Fix tracking of mouse position inside the buttons.
2012-11-20 16:02:18 +01:00
Alexandre Julliard
f3b8e68296
comctl32/pager: Use DrawFrameControl to paint the buttons.
2012-11-20 16:01:47 +01:00
Daniel Jelinski
e9e09b66a0
comctl32: Move WM_SIZE handling into WM_WINDOWPOSCHANGED.
2012-11-13 16:54:54 +01:00
Piotr Caban
b6b7eb050f
comctl32: Fixed RBBS_BREAK flag unsetting in REBAR_HandleUDDrag.
2012-11-01 15:43:34 +01:00
Piotr Caban
d2f4893cb6
comctl32: Don't update rebar layout if it doesn't change in REBAR_HandleUDDrag.
2012-11-01 15:43:29 +01:00
Hans Leidekker
232a44edaf
comctl32: Use the dialog template caption as default propsheet title.
2012-10-29 14:40:13 +01:00
Alexandre Julliard
c4bae8fab0
comctl32/tests: Don't delete the global font object.
2012-10-18 22:28:37 +02:00
Daniel Jelinski
50bdb257f9
comctl32/tests: Expanding/collapsing a node always sends associated messages.
2012-10-16 11:38:36 +02:00
Daniel Jelinski
0b6cf6e46a
comctl32: Fix notifications and return value when collapsing already collapsed node.
2012-10-16 11:38:27 +02:00
Daniel Jelinski
9933f5e446
comctl32: Do not send TVN_ITEMEXPANDING when expanding item with no children.
2012-10-16 11:37:58 +02:00
Daniel Jelinski
06d284cabb
comctl32: Allow expanding/collapsing treeview nodes multiple times.
2012-10-15 15:25:38 +02:00
Daniel Jelinski
ae72b21641
comctl32: Clean up listview resizing code.
2012-10-01 12:20:30 +02:00
Daniel Jelinski
0edb0233a4
comctl32: Use GetWindowLong to check for scrollbar.
...
dwStyle is updated only in WM_STYLECHANGED, which is not sent
when displaying and hiding scrollbars.
2012-10-01 12:20:09 +02:00
Huw Davies
3cfc2ab772
comctl32: Forward the focus to the edit control if it exists.
2012-09-25 18:11:21 +02:00
Christian Costa
55ff254986
comctl32: Invalid format returned by NF_QUERY defaults to ANSI in treeview.
2012-09-24 16:38:16 +02:00
Michael Stefaniuc
9f56598fb9
comctl32/tests: Use the proper type for function pointers.
2012-09-13 13:56:34 +02:00
Michael Stefaniuc
5b19a55910
comctl32/tests: Remove commented out struct declaration.
2012-09-13 13:56:23 +02:00
Daniel Jelinski
425f0a25d6
comctl32: Invalidate correct rectangle for marquee selection.
2012-09-12 12:48:50 +02:00
Alexandre Julliard
0e9c9772ef
comctl32: XOR'ing with a black pen is not useful.
2012-09-10 11:38:21 +02:00
Daniel Jelinski
e389326bdd
comctl32/listview: Do not draw unnecessary grid lines.
2012-09-03 16:45:50 +02:00
Piotr Caban
21898b2fba
comctl32: Remove property sheet page that can't be initialized.
2012-08-29 20:13:48 +02:00
Nikolay Sivov
21897a9689
comctl32: Call interface methods properly.
2012-08-20 10:58:45 +02:00
Sergey Guralnik
d54979e329
comctl32: Correct values passed in MCN_SELECT/MCN_SELCHANGE notifications.
2012-08-17 15:16:12 +02:00
Sergey Guralnik
c7abff0a27
comctl32/tests: Add test for MCN_SELECT/MCN_SELCHANGE notifications.
2012-08-17 15:16:08 +02:00
Michael Stefaniuc
175eaf1074
comctl32: Avoid TRUE:FALSE conditional expressions.
2012-08-13 17:29:01 +02:00
Michael Stefaniuc
11d35ef8e7
comctl32: Get rid of two macros.
2012-08-13 17:28:53 +02:00
Daniel Jelinski
baed448fc7
comctl32/treeview: Fix the position reported by WM_CONTEXTMENU.
2012-07-17 13:09:43 +02:00
Daniel Jelinski
067d528855
comctl32/treeview: Send WM_CONTEXTMENU only to parent window.
2012-07-17 13:09:43 +02:00
Daniel Jelinski
5e86d84337
comctl32/treeview: Inlined TREEVIEW_RButtonUp.
2012-07-17 13:09:43 +02:00
Daniel Jelinski
c7212f8262
comctl32/treeview: Send WM_CONTEXTMENU everywhere, not just over items.
2012-07-17 13:09:42 +02:00
Daniel Jelinski
602dea1e12
comctl32/treeview: Fix NM_RCLICK behavior.
2012-07-17 13:09:42 +02:00
Daniel Jelinski
7e56fd38d8
comctl32/treeview: Clean up mouse tracking code.
2012-07-17 13:09:42 +02:00
Francois Gouget
ac323a20ba
comctl32: Simplify the string comparison functions a bit and use the CSTR_XXX macros.
2012-06-21 08:33:31 +02:00
Francois Gouget
bede13b335
comctl32: Fix lstrncmpiW() so its return value is standard and use the CSTR_XXX macros.
2012-06-20 10:27:36 +02:00
Nikolay Sivov
6560d88151
comctl32/listview: Properly update selection mark on item state change.
2012-06-11 12:19:07 +02:00