- (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
diff --git a/include/treeview.h b/include/treeview.h
index fb52547..b2978a4 100644
--- a/include/treeview.h
+++ b/include/treeview.h
@@ -40,6 +40,8 @@
RECT rect;
RECT text;
RECT expandBox; /* expand box (+/-) coordinate */
+ RECT bitmap;
+ RECT statebitmap;
} TREEVIEW_ITEM;
@@ -67,11 +69,14 @@
HTREEITEM editItem; /* handle to item currently editted, 0 if none */
HTREEITEM firstVisible; /* handle to first visible item */
HTREEITEM dropItem; /* handle to item selected by drag cursor */
+ HTREEITEM insertMarkItem; /* item after which insertion mark is placed */
+ BOOL insertBeforeorAfter; /* flag used by TVM_SETINSERTMARK */
HIMAGELIST dragList; /* Bitmap of dragged item */
INT cx,cy; /* current x/y place in list */
COLORREF clrBk;
COLORREF clrText;
COLORREF clrLine;
+ COLORREF clrInsertMark;
HFONT hFont;
HFONT hBoldFont;
HWND hwndToolTip;