10#if !defined(_WIN32_IE) || (_WIN32_IE < 0x0600)
11 #define _WIN32_IE 0x0600
16#define _WIN32_WINNT 0x0600
42 if (Major > 6 || (Major == 6 &&
Minor >= 10))
64 dwExStyle = TreeView_GetExtendedStyle(
hTree);
65 TreeView_SetExtendedStyle(
hTree, dwExStyle | TVS_EX_PARTIALCHECKBOXES, 0);
113#define OP(a, b) ((a) == (b) ? (a) : 2)
129 uRealSubtreeState =
OP(uRealSubtreeState,
temp);
132 return uRealSubtreeState;
138 UINT uGlobalSiblingsCheckState;
140 if (!
hTree || !htiItem )
160 if (!
hTree || !hSourceItem || !hInsertAfter)
190 if (!
hTree || !htiItemToDown)
206 HTREEITEM htiPrevItem, htiPrevPrevItem, htiNewItem;
208 if (!
hTree || !htiItemToUp)
213 if (!htiPrevPrevItem)
235 htiRet = htiIterator;
void TreeView_Set3StateCheck(HWND hTree)
void TreeView_PropagateStateOfItemToParent(HWND hTree, HTREEITEM htiItem)
HTREEITEM TreeView_GetFirst(HWND hTree)
HTREEITEM TreeView_GetNext(HWND hTree, HTREEITEM hItem)
void TreeView_Cleanup(HWND hTree)
UINT TreeView_GetRealSubtreeState(HWND hTree, HTREEITEM htiSubtreeItem)
HTREEITEM TreeView_GetLast(HWND hTree)
void TreeView_DownItem(HWND hTree, HTREEITEM htiItemToDown)
HTREEITEM TreeView_GetLastFromItem(HWND hTree, HTREEITEM hItem)
HTREEITEM Tree_Item_Copy(HWND hTree, HTREEITEM hSourceItem, HTREEITEM hParent, HTREEITEM hInsertAfter)
HTREEITEM TreeView_GetPrev(HWND hTree, HTREEITEM hItem)
HTREEITEM InsertItem(HWND hTree, LPCWSTR szName, HTREEITEM hParent, HTREEITEM hInsertAfter)
void TreeView_UpItem(HWND hTree, HTREEITEM htiItemToUp)
HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD pdwBuild)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
static const WCHAR label[]
static const WCHAR szName[]
#define TreeView_SelectItem(hwnd, hitem)
#define TreeView_GetChild(hwnd, hitem)
#define TVIF_EXPANDEDIMAGE
#define TreeView_GetParent(hwnd, hitem)
#define TreeView_GetImageList(hwnd, iImage)
#define TreeView_GetItem(hwnd, pitem)
#define ImageList_LoadBitmap(hi, lpbmp, cx, cGrow, crMask)
#define TreeView_SetItemState(hwndTV, hti, data, _mask)
#define TreeView_GetRoot(hwnd)
#define TVIS_STATEIMAGEMASK
#define TreeView_GetNextSibling(hwnd, hitem)
#define INDEXTOSTATEIMAGEMASK(i)
#define TreeView_GetCheckState(hwndTV, hti)
#define TreeView_SetImageList(hwnd, himl, iImage)
#define TreeView_InsertItem(hwnd, lpis)
#define TVIF_SELECTEDIMAGE
#define TreeView_DeleteItem(hwnd, hitem)
#define TreeView_GetPrevSibling(hwnd, hitem)
#define MAKEINTRESOURCEW(i)