Commit Graph

94 Commits

Author SHA1 Message Date
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
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
Frédéric Delanoy 1f6e66babe comctl32/tests: Use BOOL type where appropriate. 2013-10-22 16:37:40 +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 8418ae5334 comctl32: Test WM_GETDLGCODE return value for TreeView. 2013-01-30 12:43:05 +01:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01: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
Christian Costa 55ff254986 comctl32: Invalid format returned by NF_QUERY defaults to ANSI in treeview. 2012-09-24 16:38:16 +02:00
Daniel Jelinski 4c6803d858 comctl32/tests: Treeview shouldn't modify cChildren if it was explicitly set. 2012-06-07 19:47:59 +02:00
Nikolay Sivov 95a15a3482 comctl32: Make it possible to use TVM_GETITEM with item from another tree. 2012-05-22 17:44:00 +02:00
Daniel Jelinski cd8609597a comctl32/tests: Added tests for treeview TVM_HITTEST message. 2012-04-05 14:51:33 +02:00
Daniel Jelinski c52d7acf54 comctl32/tests: Added test for treeview expand notifications on keyboard events. 2012-04-02 18:37:06 +02:00
Nikolay Sivov 91fbef88bf comctl32: Never release state image list. 2012-01-30 12:04:58 +01:00
Nikolay Sivov 1bc331f31f comctl32/treeview: Free checkbox imagelist when control is about to be killed. 2011-10-03 14:39:03 -05:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner 6b90f27d8f comctl32: Fixed strncpy (Coverity). 2011-06-28 11:57:51 -05:00
Marko Nikolic 8c13dcc2e9 comctl32/tests: Use unsigned constants to remove sign comparison warning. 2011-06-01 16:08:56 +02:00
Nikolay Sivov bcb98d11ba comctl32/treeview: TVM_EXPAND with TVE_TOGGLE action shouldn't always notify as it does on user input. 2011-05-25 11:54:13 +02:00
Nikolay Sivov f9ca298b21 comctl32/tests: Some tests for TVM_GETNEXTITEM and item toggle. 2011-05-20 10:29:24 +02:00
Nikolay Sivov 7ef4546cfb comctl32/treeview: Properly update image state index when TVS_CHECKBOXES is switched on. 2011-05-16 16:35:29 +02:00
Nikolay Sivov f9b14fda02 comctl32/treeview: Store item state supplied from TVN_GETDISPINFO handler. 2011-05-16 16:35:29 +02:00
Nikolay Sivov 1fa1c72d90 comctl32/treeview: Always return state from TVM_GETITEM handler. 2011-05-16 16:35:29 +02:00
Marcus Meissner e766a132db comctl32: Added missing break (Coverity). 2011-03-28 17:12:32 +02:00
Francois Gouget fc55c4a2d5 comctl32/tests: Fix compilation on systems that don't support nameless unions. 2011-02-07 10:17:41 -06:00
Nikolay Sivov 0edfb1b4a0 comctl32/tests: Initialize item mask on item insert (Valgrind). 2011-01-31 12:28:29 +01:00
Greg Geldorp 50a25a8ebb comctl32/tests: Fix failures for 120DPI display. 2011-01-20 12:24:08 +01:00
Nikolay Sivov 0517abf184 comctl32/treeview: Use a code set by dispinfo holder to convert data encoding after TVN_GETDISPINFO. 2010-11-17 14:01:13 +01:00
Nikolay Sivov 6ec621e835 comctl32/treeview: Make item data layout partially compatible with native one. 2010-11-01 16:15:05 +01:00
Nikolay Sivov 4633fc5c03 comctl32/treeview: Fix TVN_DELETEITEM to use item that is about to be deleted. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 04e5e9cfa0 comctl32/treeview: Accept null item handle as a root for TVM_DELETEITEM. 2010-10-25 12:41:41 +02:00
Nikolay Sivov 66bad889f4 comctl32/treeview: Prevent item height to be calculated to zero value. 2010-10-04 15:00:07 +02:00
Alexandre Julliard 55676e84ed comctl32/tests: Make some variables static. 2010-10-01 13:35:49 +02:00
Nikolay Sivov b65423c546 comctl32/treeview: Erase background when painting over supplied hdc. 2010-09-27 14:13:16 +02:00
Nikolay Sivov 279677b7d8 comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity). 2010-07-28 16:28:23 +02:00
Nikolay Sivov 6711780a8f comctl32/tests: Merge one test function to existing tests, use explicit message numbers. 2010-07-26 18:38:32 +02:00
Nikolay Sivov 16dfb1a039 comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order. 2010-07-26 18:38:32 +02:00
Nikolay Sivov b3a61c1329 comctl32/treeview: Properly initialize expanded image index. 2010-07-26 18:38:32 +02:00
Florian Köberle 42c5ff799a comctl32: Call TREEVIEW_SendExpanded after expanding. 2010-07-19 14:38:17 +02:00
Florian Köberle 2f77e2b93d comctl32/tests: Test calculating the rect of a child item while handling TVN_ITEMEXPANDED. 2010-06-21 11:52:26 +02:00
Nikolay Sivov 138b2435f9 comctl32/tests: Some expand notifications tests. 2010-06-10 14:59:09 +02:00
Gerald Pfeifer 3ff0890c11 comctl32/tests: Add tests for the return values of TreeView_SelectItem in test_select. 2010-05-10 10:11:52 +02: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
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Michael Stefaniuc 93d45253cd comctl32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:24 +01:00