Commit Graph

236 Commits

Author SHA1 Message Date
Nikolay Sivov 277c5139d2 comctl32/treeview: Clean up winproc a bit, move parameter check to handlers. 2009-12-01 13:14:06 +01:00
Nikolay Sivov 459a0c4de9 comctl32/treeview: Collapse some message handlers. 2009-11-12 17:06:47 +01:00
Nikolay Sivov 76859b0f47 comctl32/treeview: Erase background on WM_PAINT if BeginPaint() tells us to do it. 2009-10-19 11:45:12 +02:00
Nikolay Sivov f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +02:00
Nikolay Sivov 6bcdc69ec0 comctl32/treeview: Check passed handle value in WM_COMMAND handler. 2009-08-07 11:39:28 +02:00
Nikolay Sivov 83c9cdb797 comctl32/treeview: Use separate pointer for currently edited item. 2009-08-07 11:39:20 +02:00
Nikolay Sivov 861fb2eddd comctl32/treeview: Handle EN_KILLFOCUS in WM_COMMAND handler. 2009-08-06 17:26:34 +02:00
Dmitry Timoshkov 1d265bcac2 comctl32: Explicitly initialize visible order of a newly added item, force visible order recalculation on redraw. 2009-07-16 11:15:36 +02:00
Dmitry Timoshkov ee7ca802f4 comctl32: Do not redraw treeview in TVM_INSERTITEM handler if bRedraw is not set, trigger the redraw on WM_SETREDRAW/TRUE. 2009-07-15 14:31:23 +02:00
Vincent Povirk 49308e8da0 comctl32: Use NMTVDISPINFOEX in the TVN_GETDISPINFO notification. 2009-06-08 16:22:43 +02:00
Nikolay Sivov d93aab9c2a comctl32/treeview: Use cached colors instead of GetSysColor in TreeView. 2009-05-18 13:38:32 +02:00
Florian Köberle 5a6f956187 comctl32: Fix expanding of invisible sub trees. 2009-04-21 15:30:37 +02:00
Nikolay Sivov f35960200a comctl32: Correctly report systemcolor use for Treeview background. 2009-03-03 13:24:08 +01:00
André Hentschel 2ef02afe95 comctl32: Fix callback in treeview. 2009-01-21 10:25:06 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
Michael Stefaniuc 758f799205 comctl32: Just use 0 instead of casting NULL twice to an integer type. 2008-10-27 11:28:12 +01:00
Michael Stefaniuc 1659313142 comctl32: DPA_GetPtr() returns a LPVOID so don't cast its return value. 2008-10-24 14:24:59 +02:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Jan de Mooij 403221c228 comctl32/treeview: Fix pszText NULL pointer dereference. 2008-09-18 13:26:19 +02:00
Rob Shearman 6181419b64 comctl32: Fix use of arithmetic operator on Boolean type in TREEVIEW_ComputeItemInternalMetrics.
Use a conditional operator to get the same result, but improving
readability of the code.
2008-08-18 17:34:12 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Gerald Pfeifer baa818120c comctl32: Some simplifications. 2008-07-11 15:19:15 +02:00
Colin Finck 985b6e9c01 comctl32: Use a clip region when collapsing the treeview. 2008-06-19 11:47:17 +02:00
Andrew Talbot 2db311a843 comctl32: Dangling pointers fix. 2008-04-28 14:32:17 +02:00
Andrew Talbot 369d414d59 comctl32: Remove unused variables. 2008-04-14 12:42:36 +02:00
Rob Shearman 783b5b49a2 comctl32: Remove some more useless asserts. 2008-02-16 13:52:33 +01:00
Rob Shearman 82c41bb596 comctl32: Fix the character count passed to GetWindowTextW in TREEVIEW_Command. 2008-02-16 13:52:28 +01:00
Rob Shearman affe20164e comctl32: Remove a useless assert from TREEVIEW_GetItemIndex. 2008-02-16 13:52:24 +01:00
Lei Zhang 3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Gregor Brunmar f18b428ccf comctl32: Added context menu to treeview. 2007-12-07 19:01:45 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Andrew Talbot 4ccd78c2a1 comctl32: Fix a memory leak. 2007-09-14 14:42:59 +02:00
Aric Stewart 78da158ef8 comctl32: treeview: Ensure our textWidth is correct when returning the size of the text box. 2007-09-11 11:47:42 +02:00
Aric Stewart 4939aa2497 comctl32: Ensure item metric are calculated when an item becomes visible. 2007-09-11 11:47:30 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Mikołaj Zalewski 81cf09c6da comctl32: treeview: Treeviews shouldn't be sending NM_TOOLTIPSCREATED (with testcase). 2007-05-07 14:26:22 +02:00
Felix Nawothnig fe5881c788 comctl32: Allow enabling TVS_CHECKBOXES on the fly. 2007-04-07 11:01:22 +02:00
Andrew Talbot 3c9f867f77 comctl32: Constify some variables. 2007-04-03 11:22:06 +02:00
Piotr Caban 2b1f1093f0 comctl32: Set label width after editting. 2007-03-27 12:34:23 +02:00
Piotr Caban 47aaf09dc3 comctl32: Fixed TreeView_EndEditLabelNow crash. 2007-03-26 12:34:27 +02:00
Felix Nawothnig 6a514819db comctl32: Fix visual glitches with TVS_HASLINES. 2007-03-13 21:55:01 +01:00
Felix Nawothnig 5cdcfbfaa0 comctl32: Fix a typo. 2007-03-12 12:03:32 +01:00
Felix Nawothnig 8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Duane Clark 5bc1a8de87 treeview: Scrolling does not cause label being edited to lose focus. 2007-02-12 12:39:34 +01:00
Duane Clark 7942f5a0e4 treeview: Fix horizontal scrolling. 2007-01-12 11:53:06 +01:00
Felix Nawothnig 2eb171c1f5 treeview: Initialize iImage and iSelectedImage with zero. 2007-01-09 12:04:40 +01:00
Alexandre Julliard 656fc93815 Use GetDC instead of CreateDC where possible. 2007-01-02 17:16:36 +01:00