Commit Graph

52 Commits

Author SHA1 Message Date
Alex Priem d5a50a3cea Fixed off-by-one error. 2000-02-13 15:02:43 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Alex Priem 504cfe51d3 InfoPtr checking mixed up WM_DESTROY and WM_CREATE. 2000-01-12 04:55:27 +00:00
Alex Priem f1a3f1752d - When processing WM_PAINT messages, the treeview might sometimes use
the wrong hdc. Fixed.
- Better checking for TREEVIEW_INFO *infoPtr=NULL.
  Similar to code in toolbar.c
- Other small fixes (subclassed edit control).
2000-01-05 01:48:56 +00:00
Alex Priem e6e71ad4e6 - (final?) update of TreeView_* macro's.
- implementation of TVM_SETINSERTMARK & TVM_SETINSERTMARKCOLOR
- fixed some typo's
- custom draw enhancements
- implementation of state images
- implementation of TVS_CHECKBOXES
1999-11-28 19:50:01 +00:00
Alex Priem 07be70b456 - fixed crash when adding items with TVI_SORT and wineItem->pszText is
set to LPSTR_TEXTCALLBACK.
- ditto for TREEVIEW_DeleteItem, TREEVIEW_CreateDragImage.
1999-11-21 00:47:43 +00:00
David Grant 977392c4a2 - Proper initialization of cchTextMax field was added for
TVN_GETDISPINFO notification message.
- TVM_SETITEM should update 'mask' field to synchronize it with
  current item state.
1999-11-07 05:36:44 +00:00
Ulrich Czekalla dfd13e2fb6 - Treeview uses COLOR_WINDOW color instead of clrBk to fill background.
- Treeview: colors returned by TVM_GET**COLOR are mixed up.
1999-10-31 01:52:42 +00:00
Ulrich Czekalla c87736df1f Prevent self referencing next pointer during insert. 1999-10-13 12:26:37 +00:00
Patrik Stridvall 26ffb3cd76 Fixed/added missing/wrong function prototypes and made internal
functions static.
1999-07-31 14:41:43 +00:00
Eric Kohl f9b580701f Some more messages. 1999-07-31 13:09:40 +00:00
Francois Boisvert 56c36e3dc7 Implemented TREEVIEW_InsertItemW. 1999-07-24 12:14:51 +00:00
Alex Priem e74f219da6 - Implementation of simple comctl32 v5.0 changes.
- TVM_SORTCHILDRENCB also accepts TVI_ROOT as a valid hParent.
1999-07-18 18:31:05 +00:00
Alex Priem 23dc2e6a73 Fix a hang when we process WM_STYLECHANGED.
Small optimization in TREEVIEW_DrawItem.
Fix debugging crash in TREEVIEW_Expand.
1999-07-15 14:30:55 +00:00
Alex Priem e5ea09c17f Implementation of TVM_SORTCHILDREN. Massaged TVM_SORTCHILDRENCB a bit
to use the same code path.
1999-07-10 10:19:48 +00:00
Alex Priem 124b61904f Fix a crash when doing sorted inserts at top level. 1999-07-03 15:42:33 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Eric Kohl 04a7c56757 Added check for invalid parent item. 1999-06-26 11:55:56 +00:00
Eric Pouech 13a30bace7 Thou shalt not use C++ comments. 1999-06-22 19:09:55 +00:00
Alexandre Julliard 49080d3b59 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Adds some undocumented behavior to TREEVIEW_GetItemA().
1999-06-13 08:40:45 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Marcus Meissner c5ef0cedf9 Fixed >> and * operator precedence problem. 1999-06-07 17:40:39 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Sylvain St.Germain 9024526d94 Fixed the messaging problem of the edit box for node label edition.
Substituted WM_PAINT for InvalidateRect.
Some graphical fixes.
1999-04-10 16:35:30 +00:00
Marcus Meissner 6400755f0c Missing WINAPI. 1999-03-25 16:41:03 +00:00
Sylvain St.Germain 99b118a216 Implementation of TVM_SORTCHILDRENCB.
Implementation of TVI_SORT insertion.
Fix display problem when TVIF_IMAGE|TVIF_SELECTEDIMAGE were not set.
Fix problems related to TVIS_EXPANDEDONCE.
1999-03-25 10:55:01 +00:00
Sylvain St.Germain 49c1ca28d4 Implements +/-, PgUp/PgDown, Home/End, Left/Right, Up/Down. 1999-03-18 17:30:44 +00:00
Marcus Meissner 3480e4a596 Removed no longer necessary win.h include, added now necessary other
includes (win.h used only by UPDOWN now).
1999-03-16 10:53:11 +00:00
Sylvain St.Germain 02300aeaa5 Fixed some graphical problems of the treeview and added support LMB
click on +/- sign to open and close.
Fixed a bug in imagelist where the last image could not be displayed.
1999-03-16 10:38:44 +00:00
Sylvain St.Germain 26a83df8eb Removed direct access to the WND struct. 1999-03-12 17:08:11 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Bertho Stultiens 4bd7128f09 Fix typo to map GetTextExtentPoint to the correct 32A version. 1999-02-09 15:27:29 +00:00
Zygo Blaxell f861e2773c Change a few types to match you-know-who's declarations.
HTREEITEM is a struct _TREEITEM FAR*
GetDIBits passes a LPVOID for the bitmap data, not LPSTR.
Adjustment of Wine C code to match the new types included.
1999-02-02 13:59:17 +00:00
Alex Priem d2d7f96938 - The usual bugfixes.
- Better unicode support (only defines, currently)
- Drag & drop implemented.
- LPSTR_TEXTCALLBACK should work now.
- First start at custom draw code.
1999-01-30 13:02:30 +00:00
James Juran c2a1063940 Commented out unused variables to prevent needless compiler warnings. 1999-01-28 16:33:44 +00:00
Juergen Schmied 26ff83dfed Changed some treeview related definitions. 1999-01-26 10:35:53 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Alex Priem 374a0a8fe2 Preliminary tooltip support.
WM_SETFONT/GETFONT added.
Some bug fixes.
Use COMCTL32 heap instead of system heap.
1998-12-18 15:56:48 +00:00
Alex Priem 65b637bec4 * handle TVIF_TEXT by TREEVIEW_SetItem according to MS documentation.
* better handling of LPSTR_TEXTCALLBACK32A
* TREEVIEW_GetNext|PrevListItem didn't descend into visible child items.
1998-12-10 09:54:17 +00:00
Marcus Meissner 2643894e5d Missing parentheses added. 1998-12-10 08:21:14 +00:00
Marcus Meissner 0d3f09f3a4 Erred in the bit macros in treeview.c. Shiftcounts were wrong. 1998-11-01 14:48:58 +00:00
Marcus Meissner d09136f0ce Gets rid of the arch-dependent bit operations (tested on Linux and
Solaris/x86).
1998-10-31 12:06:53 +00:00
NF Stevens 1410cdd0c4 A couple of TRACE messages are missing a newline at the end. 1998-10-26 11:04:12 +00:00
Eric Kohl 9d8e864b34 Added xxx_Unregister() functions to all common controls. 1998-10-24 10:49:27 +00:00
Brian Litzinger f64e274f86 Fixes for FreeBSD. 1998-10-22 14:47:41 +00:00
Alex Priem ba211eeb85 Further improvements. 1998-10-18 14:05:38 +00:00