Commit Graph

149 Commits

Author SHA1 Message Date
Huw Davies 7e1d83ee70 Implemented TVS_NOSCROLL. 2004-05-02 04:20:06 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Martin Fuchs 5307b3f598 Return TRUE for TVM_EXPAND if treeview item is already expanded. 2004-04-14 04:27:59 +00:00
Steve Lustbader a752885c3d Handle the firstVisible item being NULL in
TREEVIEW_UpdateScrollBars().
2004-03-01 23:10:52 +00:00
Mike Hearn d04f253aa9 Grow the treeview control expander button by 1px in each direction to
match the native look.
2004-02-16 22:19:29 +00:00
Huw Davies d9558dbd19 Fix a TRACE. 2004-02-12 20:06:04 +00:00
Huw Davies 84e7547ef1 Move the selection to the previous sibling if it can't go to the next
or the parent.
Fix the selection change logic.
2004-01-21 22:16:02 +00:00
Alexandre Julliard 502f6c5634 Removed incorrect uses of DUMMYUNIONNAME. 2004-01-07 00:47:35 +00:00
Huw Davies 6cfbf89529 Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT. 2003-11-27 01:11:01 +00:00
Ulrich Czekalla 1afef2c732 In TREEVIEW_EnsureVisible handle case where firstVisible is NULL. 2003-11-27 00:55:18 +00:00
Huw Davies 96b9057097 Merge GetItem[AW] into GetItemT. 2003-11-26 22:26:19 +00:00
Aric Stewart d78dfc8e44 Redraw if bold state changes. 2003-11-26 22:07:17 +00:00
Ulrich Czekalla 12f7a36132 Always recompute an item's text width in the case of text callbacks
and when its attributes change.
2003-11-26 22:03:58 +00:00
Huw Davies 5693ecd212 Unicodification. Based on a patch by Aric Stewart. 2003-11-26 03:37:30 +00:00
Huw Davies 4a8e33954e We need to send TVN_EXPAND* on collapsing either when the user has
initiated it with the mouse/keybaord or in response to a TVM_EXPAND
when the state is not TVIS_EXPANDEDONCE.  This brings the logic into
line with TREEVIEW_Expand.
2003-11-21 21:30:20 +00:00
Dimitrie O. Paun c594043316 Make the controls send notifications to the parent window passed to
them in CREATESTRUCT.  Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Dimitrie O. Paun 6443ee58bc Cleanup the edit wndproc a bit. 2003-11-20 04:19:59 +00:00
Dmitry Timoshkov d6872aff18 Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort. 2003-11-13 20:49:00 +00:00
Adam Gundy c2d90611f6 Only send TVN_ITEMEXPANDING for items marked as having children. 2003-10-15 21:01:54 +00:00
Dimitrie O. Paun 7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Maxime Bellengé cb1c112dd6 Fix the creation of treeview with checkboxes. 2003-08-23 23:18:48 +00:00
Maxime Bellengé 3db30e376c Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown. 2003-08-19 00:57:08 +00:00
Maxime Bellengé fb39442d7f Fix things broken by the last TREEVIEW_UpdateDispInfo patch. 2003-08-18 19:46:31 +00:00
Maxime Bellengé 305fda2ef8 Fix for TREEVIEW_UpdateDispInfo to test with the correct callbackMask. 2003-08-13 19:37:12 +00:00
Martin Fuchs bb40b30640 Send TVN_ITEMEXPANDING when the user tries to expand a tree item
_before_ checking for child items.
2003-07-21 22:04:42 +00:00
Adam Gundy a982259e3e When items are inserted in a partially populated treeview, the first
visible item was not correctly updated.
The first visible item was sometimes used to calculate the location of
other items when it had been freed.
2003-05-02 20:15:36 +00:00
Mike Hearn d0300d92e3 TreeView should not send two click notifications when bTrack is true. 2003-03-27 00:00:42 +00:00
Mike Hearn b27587dd0a TREEVIEW_GetItemA should ignore stateMask. 2003-03-26 23:35:50 +00:00
Mike Hearn 044a353161 Correct the check for changed treeview items, so item sets repaint
properly.
2003-03-26 01:22:10 +00:00
Adam Gundy 292d8429ab TREEVIEW_UpdateScrollBars() now copes with an empty tree. 2003-03-06 22:41:59 +00:00
Tim Segall efa2b0c159 Accept either TVI_ROOT or NULL for the parent to imply sort the entire
tree.
2003-02-25 03:59:12 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Rolf Kalbermatter 6c79930413 Add config.h/port.h to allow compilation/linking in MSVC.
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Dimitrie O. Paun d2e881d543 - Typesafe parameters from TREEVIEW_NotifyFormat.
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Dimitrie O. Paun 4bbd7b3e26 Fix some treeview notification codes between ANSI/Unicode mode. 2002-10-31 00:54:53 +00:00
Dimitrie O. Paun 02af550a2a Send the right notification code (A/W) depending on the Unicode
setting.
2002-10-29 21:25:35 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Michael Stefaniuc 353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc f3d1893f80 Add needed casts for a "no warnings" compile of comctl32. 2002-10-23 20:19:22 +00:00
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Guy L. Albertelli 23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Guy L. Albertelli b4994d18e9 - Preliminary implementation of TVS_NOSCROLL and TVS_NOHSCROLL
- Implement A and W versions of WM_NOTIFY based on response to
  WM_NOTIFYFORMAT. Note that the EDITLABEL notifies are not done.
- Implement WM_NOTIFYFORMAT.
2002-03-20 01:29:04 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00