Commit Graph

3951 Commits

Author SHA1 Message Date
Mark Harmstone ca5184f512 comctl32: Add themed scrollbar stub. 2015-02-16 19:18:48 +09:00
Mark Harmstone 18c41f7128 comctl32: Draw focus rect on themed pushbuttons. 2015-02-16 19:18:47 +09:00
Mark Harmstone f21a968d1c comctl32: Draw the focus rect on themed checkboxes. 2015-02-13 18:20:55 +09:00
Mark Harmstone b8d3f1fe24 comctl32: Always redraw background on checkbox repaint. 2015-02-13 18:20:45 +09:00
Mark Harmstone 26896f1bd5 comctl32: Fix clipping error with themed groupboxes. 2015-02-09 19:02:03 +09:00
Michael Stefaniuc 39045b13d0 comctl32: Remove an unused variable assigment (PVS-Studio). 2015-01-13 19:54:01 +01:00
Austin English 42c4c870af comctl32: Add a stub for LoadIconWithScaleDown. 2014-12-15 14:18:56 +01:00
Michael Stefaniuc 47fa711bbc comctl32: Remove a stray unused GetFocus() statement (PVS-Studio). 2014-12-09 22:16:44 +01:00
Michael Stefaniuc 2db0a3d01e comctl32: Merge two if blocks with identical condition (PVS-Studio). 2014-12-05 11:24:12 +01:00
Nikolay Sivov 44dbf381a7 comctl32/tests: Fix imagelist leak (Valgrind). 2014-12-01 11:00:20 +01:00
André Hentschel ab7228f318 comctl32/tests: Remove unused structs (Clang). 2014-11-25 19:49:33 +01:00
Sebastian Lackner 735e2cd774 comctl32: Allow broken behaviour in StrRStr functions. 2014-11-19 23:36:34 +09:00
Sebastian Lackner 194b7cd5ae comctl32: Fix invalid usage of CompareString in StrRStr functions. 2014-11-18 22:11:06 +09:00
Sebastian Lackner e2c0694901 comctl32: Fix incorrect usage of CompareString in SYSLINK_ParseText. 2014-11-18 22:10:51 +09:00
Sebastian Lackner 766f587f90 comctl32: Fix invalid usage of CompareString in StrStr functions. 2014-11-17 17:29:09 +09:00
Bruno Jesus a2818db03b comctl32/tests: Remove a dead assignment in misc.c (Cppcheck). 2014-11-03 16:32:07 +09:00
Bruno Jesus f4a13b9f1b comctl32/tests: Remove dead assignments in treeview.c (Cppcheck). 2014-11-03 16:32:03 +09:00
Huw Davies dd856be316 comctl32/tests: Post a key-down message rather than use keybd_event. 2014-11-03 16:31:52 +09:00
Bruno Jesus 2c5f05b860 comctl32/tests: Remove a dead assignment from dpa.c (Cppcheck). 2014-10-31 13:14:59 +09:00
Bruno Jesus 2ccd55e56f comctl32/tests: Remove dead assignment in comboex.c (Cppcheck). 2014-10-31 13:14:56 +09:00
Bruno Jesus a54c187886 comctl32: Remove dead assignment in tooltips.c (Cppcheck). 2014-10-31 13:14:52 +09:00
Bruno Jesus f70167df58 comctl32: Avoid magic numbers. 2014-10-31 13:14:47 +09:00
Bruno Jesus 197ea35c5a comctl32: Remove a dead assignment in comctl32undoc.c (Cppcheck). 2014-10-31 13:14:37 +09:00
Huw Davies 433df0d5d8 comctl32: Enable the appropriate wizard buttons before sending DM_SETDEFID. 2014-10-30 23:09:52 +09:00
Michael Stefaniuc 89e9d6db33 comctl32/tests: Add some ImageList_BeginDrag() tests. 2014-10-07 10:14:25 +02:00
Michael Stefaniuc 0a191f85ad comctl32: Don't start a new ImageList Drag if another one is ongoing. 2014-10-07 10:14:23 +02:00
Michael Stefaniuc 753de28cd5 comctl32: Correctly handle the ImageList index in BeginDrag(). 2014-10-07 10:14:21 +02:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Nikolay Sivov 5741ebb8fd comctl32/pager: Reduce pointer scope so it doesn't point to inner scope vars (PVS-Studio). 2014-08-18 12:44:59 +02:00
Huw Davies 552ad2d93e comctl32: Propagate the return value of WM_ERASEBKGND. 2014-07-09 10:27:48 +02:00
Huw Davies 6af0d44166 comctl32: The RECT in the custom draw structure should be the entire item's size. This includes any separated dropdown arrow. 2014-07-08 17:02:04 +02:00
Huw Davies d130ba09fa comctl32: Don't use the RECT from the custom draw structure when referring to the button alone. 2014-07-08 17:02:02 +02:00
Michael Stefaniuc c1cd60957e comctl32: Functions using setjmp can never be inlined. 2014-06-23 10:18:04 +02:00
Sebastian Lackner 392321f4f6 comctl32: Allocate new memory in notify_forward_header() to avoid Free() on wrong pointer. (Valgrind). 2014-06-23 10:12:25 +02:00
Nikolay Sivov 055129485d comctl32/tests: Avoid testing uninitialized value (Valgrind). 2014-06-16 09:28:10 +02:00
Nikolay Sivov f109a084e8 comctl32/imagelist: Update to IImageList2. 2014-06-12 13:19:06 +02:00
Alexandre Julliard 6ad2cf9b53 comctl32/tests: Output message sequences only on failure. 2014-06-12 13:19:05 +02:00
Nikolay Sivov a7fb6c89b3 comctl32/treeview: Send TVN_KEYDOWN in response of WM_KEYDOWN. 2014-06-11 19:15:19 +02:00
Nikolay Sivov 3f8bda94fc comctl32/treeview: Simplify sending parent WM_NOTIFY notifications. 2014-06-11 19:15:18 +02:00
Nikolay Sivov 2a348791ee comctl32/progress: Update position by one step on PBM_SETPOS in PBS_MARQUEE style. 2014-06-11 19:15:17 +02:00
Nikolay Sivov c69a7ecfb6 comctl32/progress: Erase background too on WM_TIMER for marquee animation. 2014-06-11 19:15:16 +02:00
Nikolay Sivov 25279d310e comctl32/progress: Set default marquee animation timer to 30 msec. 2014-06-11 19:15:15 +02:00
Nikolay Sivov a709e3f98d comctl32/treeview: Added a test for NM_RETURN. 2014-05-12 13:51:44 +02:00
Nikolay Sivov fa3e750e2c comctl32/listview: Fix custom draw stage sequence. 2014-05-12 10:55:09 +02:00
Christoph von Wittich 4cc503d164 comctl32/treeview: Notify the parent on a return key press. 2014-05-07 18:57:31 +02:00
Alexandre Julliard 1dd04884d7 comctl32/imagelist: Correctly resize the alpha flags when clearing the image list. 2014-05-01 17:19:54 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Nikolay Sivov 9b2ea63311 comctl32/tests: Initialize text buffer pointer (Valgrind). 2014-04-25 10:17:36 +02:00
Nikolay Sivov fe3f12335d comctl32/treeview: Restore hdc before CDDS_ITEMPOSTPAINT. 2014-04-21 11:09:51 +02:00
Nikolay Sivov d24095a7d1 comctl32: Fix LVN_DELETEALLITEMS notification for LVS_OWNERDATA case. 2014-04-09 14:58:17 +02:00
Marcus Meissner 318169a86f comctl32: Process GetKeyState return correctly (Coverity). 2014-04-08 18:28:29 +02:00
Thomas Faber 6609a42334 comctl32: Make Str* functions private. 2014-03-26 19:20:29 +01:00
Nikolay Sivov d60910fc14 comctl32: Fix a leak on error path (Coverity). 2014-03-25 13:55:43 +01:00
Nikolay Sivov 9d1232a1ec comctl32/tests: Fix uninitialized variable case (Coverity). 2014-03-25 10:56:25 +01:00
Frédéric Delanoy 1bf4e13b55 comctl32: Use BOOL type where appropriate. 2014-03-17 17:34:10 +01:00
David Quintana 5b0c288977 comctl32: Fix horizontal separators in vertical toolbars. 2014-03-14 19:06:12 +01:00
Christoph von Wittich 7d5deb2e7f comctl32/tests: CCS_VERT should be set when TBSTYLE_EX_VERTICAL is set. 2014-03-04 11:49:10 +01:00
Christoph von Wittich 37e0a1a5d4 comctl32: Rename TBSTYLE_EX_UNDOC1 to TBSTYLE_EX_VERTICAL. 2014-02-24 15:00:40 -06:00
Nikolay Sivov 35e23dde27 comctl32/tests: Some tests for Button control. 2014-02-17 11:16:16 +01:00
Nikolay Sivov 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov 0e73e478ff comctl32/tab: Fix TCM_SETCURSEL on negative indices. 2014-02-10 10:41:47 +01:00
André Hentschel 1776ded8e6 comctl32: Use boolean return values in boolean functions. 2014-02-04 11:15:26 +01:00
André Hentschel e32237d34a comctl32/tests: Avoid preprocessor checks to ensure it compiles. 2014-01-27 17:01:56 +01:00
Frédéric Delanoy 3684578a9f comctl32: Avoid TRUE:FALSE conditional expressions. 2014-01-16 10:56:12 +01:00
Andrey Gusev be367393c9 Assorted typos fixes. 2014-01-13 17:37:42 +01:00
Frédéric Delanoy 29b2db009c comctl32/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Michael Stefaniuc 5092ecf6fe comctl32/tests: Finally compile with -D__WINESRC__. 2013-12-04 11:06:53 +01:00
Michael Stefaniuc 4ecd867706 comctl32/tests: Make treeview.c compile with -D__WINESRC__. 2013-12-04 11:06:14 +01:00
Michael Stefaniuc 133c691f1f comctl32/tests: Avoid non-AW aware TreeView_*() macros. 2013-12-04 11:06:05 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
André Hentschel 66932a8855 comctl32/tests: Make trackbar.c compile with -D__WINESRC__. 2013-12-03 12:33:24 +01:00
André Hentschel e810a58494 comctl32/tests: Make toolbar.c compile with -D__WINESRC__. 2013-12-02 10:52:20 +01:00
André Hentschel af9073accb comctl32/tests: Make rebar.c compile with -D__WINESRC__. 2013-12-02 10:51:58 +01:00
Michael Stefaniuc 4b59a4266a comctl32/tests: Make monthcal.c compile with -D__WINESRC__. 2013-12-02 10:50:44 +01:00
Francois Gouget 542652deab comctl32: TTM_ADDTOOLW must refuse to set a tooltip text to NULL. 2013-12-02 10:47:24 +01:00
Michael Stefaniuc c2d07d5cf4 comctl32/tests: Make tab.c compile with -D__WINESRC__. 2013-11-25 15:15:54 +01:00
Frédéric Delanoy ef2a8be648 comctl32: Clarify DATETIME_GetPrevDateField documentation. 2013-11-25 15:15:52 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy fdb5e13f18 comctl32/tests: Use BOOL type where appropriate. 2013-11-14 16:20:42 +01:00
Alexandre Julliard 4242c437a2 comctl32/tests: Fix a test that fails on Windows. 2013-11-11 20:56:19 +01:00
Frédéric Delanoy 5dfe1b0cfe comctl32: Use BOOL type where appropriate. 2013-11-11 13:27:28 +01:00
Frédéric Delanoy 5117af69a7 comctl32/tests: Use BOOL type where appropriate. 2013-11-08 12:46:11 +01:00
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