Commit 99b118a2 authored by Sylvain St.Germain's avatar Sylvain St.Germain Committed by Alexandre Julliard

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.
parent 3ff06f61
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#ifndef __WINE_TREEVIEW_H #ifndef __WINE_TREEVIEW_H
#define __WINE_TREEVIEW_H #define __WINE_TREEVIEW_H
#include "commctrl.h"
#define MINIMUM_INDENT 10 #define MINIMUM_INDENT 10
#define TV_REFRESH_DELAY 100 /* 100 ms delay between two refreshes */ #define TV_REFRESH_DELAY 100 /* 100 ms delay between two refreshes */
#define TV_DEFAULTITEMHEIGHT 16 #define TV_DEFAULTITEMHEIGHT 16
...@@ -75,6 +77,7 @@ typedef struct tagTREEVIEW_INFO ...@@ -75,6 +77,7 @@ typedef struct tagTREEVIEW_INFO
WNDPROC wpEditOrig; /* needed for subclassing edit control */ WNDPROC wpEditOrig; /* needed for subclassing edit control */
HIMAGELIST himlNormal; HIMAGELIST himlNormal;
HIMAGELIST himlState; HIMAGELIST himlState;
LPTVSORTCB pCallBackSort; /* ptr to TVSORTCB struct for callback sorting */
TREEVIEW_ITEM *items; /* itemlist */ TREEVIEW_ITEM *items; /* itemlist */
INT *freeList; /* bitmap indicating which elements are valid */ INT *freeList; /* bitmap indicating which elements are valid */
/* 1=valid, 0=free; */ /* 1=valid, 0=free; */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment