OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [common/] [win32/] [treectrltoview.inl] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
//===========================================================================
2
//#####DESCRIPTIONBEGIN####
3
//
4
// Author(s):   sdf
5
// Contact(s):  sdf
6
// Date:                1998/08/11
7
// Version:             0.01
8
// Purpose:
9
// Description: Wrapper to avoid use of GetTreeCtrl() in tree view class
10
// Requires:
11
// Provides:
12
// See also:
13
// Known bugs:
14
// Usage:
15
//
16
//####DESCRIPTIONEND####
17
//
18
//===========================================================================
19
        BOOL GetItemRect(HTREEITEM hItem, LPRECT lpRect, BOOL bTextOnly) const { return GetTreeCtrl().GetItemRect(hItem, lpRect, bTextOnly); }
20
        UINT GetCount() const { return GetTreeCtrl().GetCount(); }
21
        UINT GetIndent() const { return GetTreeCtrl().GetIndent(); }
22
        void SetIndent(UINT nIndent) { GetTreeCtrl().SetIndent(nIndent); }
23
        CImageList* GetImageList(UINT nImageList) const { return GetTreeCtrl().GetImageList(nImageList); }
24
        CImageList* SetImageList(CImageList* pImageList, int nImageListType) { return GetTreeCtrl().SetImageList(pImageList, nImageListType); }
25
        HTREEITEM GetNextItem(HTREEITEM hItem, UINT nCode) const { return GetTreeCtrl().GetNextItem(hItem, nCode); }
26
        HTREEITEM GetChildItem(HTREEITEM hItem) const { return GetTreeCtrl().GetChildItem(hItem); }
27
        HTREEITEM GetNextSiblingItem(HTREEITEM hItem) const { return GetTreeCtrl().GetNextSiblingItem(hItem); }
28
        HTREEITEM GetPrevSiblingItem(HTREEITEM hItem) const { return GetTreeCtrl().GetPrevSiblingItem(hItem); }
29
        HTREEITEM GetParentItem(HTREEITEM hItem) const { return GetTreeCtrl().GetParentItem(hItem); }
30
        HTREEITEM GetFirstVisibleItem() const { return GetTreeCtrl().GetFirstVisibleItem(); }
31
        HTREEITEM GetNextVisibleItem(HTREEITEM hItem) const { return GetTreeCtrl().GetNextVisibleItem(hItem); }
32
        HTREEITEM GetPrevVisibleItem(HTREEITEM hItem) const { return GetTreeCtrl().GetPrevVisibleItem(hItem); }
33
        HTREEITEM GetSelectedItem() const { return GetTreeCtrl().GetSelectedItem(); }
34
        HTREEITEM GetDropHilightItem() const { return GetTreeCtrl().GetDropHilightItem(); }
35
        HTREEITEM GetRootItem() const { return GetTreeCtrl().GetRootItem(); }
36
        BOOL GetItem(TV_ITEM* pItem) const { return GetTreeCtrl().GetItem(pItem); }
37
        CString GetItemText(HTREEITEM hItem) const { return GetTreeCtrl().GetItemText(hItem); }
38
        BOOL GetItemImage(HTREEITEM hItem, int& nImage, int& nSelectedImage) const { return GetTreeCtrl().GetItemImage(hItem, nImage, nSelectedImage); }
39
        UINT GetItemState(HTREEITEM hItem, UINT nStateMask) const { return GetTreeCtrl().GetItemState(hItem, nStateMask); }
40
        DWORD GetItemData(HTREEITEM hItem) const { return GetTreeCtrl().GetItemData(hItem); }
41
        BOOL SetItem(TV_ITEM* pItem) { return GetTreeCtrl().SetItem(pItem); }
42
        BOOL SetItem(HTREEITEM hItem, UINT nMask, LPCTSTR lpszItem, int nImage, int nSelectedImage, UINT nState, UINT nStateMask, LPARAM lParam) { return GetTreeCtrl().SetItem(hItem, nMask, lpszItem, nImage,nSelectedImage,nState,nStateMask,lParam); }
43
        BOOL SetItemText(HTREEITEM hItem, LPCTSTR lpszItem) { return GetTreeCtrl().SetItemText(hItem, lpszItem); }
44
        BOOL SetItemImage(HTREEITEM hItem, int nImage, int nSelectedImage) { return GetTreeCtrl().SetItemImage(hItem, nImage, nSelectedImage); }
45
        BOOL SetItemState(HTREEITEM hItem, UINT nState, UINT nStateMask) { return GetTreeCtrl().SetItemState(hItem, nState, nStateMask); }
46
        BOOL SetItemData(HTREEITEM hItem, DWORD dwData) { return GetTreeCtrl().SetItemData(hItem, dwData); }
47
        BOOL ItemHasChildren(HTREEITEM hItem) const { return GetTreeCtrl().ItemHasChildren(hItem); }
48
        CEdit* GetEditControl() const { return GetTreeCtrl(). GetEditControl(); }
49
        UINT GetVisibleCount() const { return GetTreeCtrl().GetVisibleCount(); }
50
#ifdef IE4
51
        CToolTipCtrl* GetToolTips() const {return GetTreeCtrl().GetToolTips() ;}
52
        CToolTipCtrl* SetToolTips(CToolTipCtrl* pWndTip) const {return GetTreeCtrl().SetToolTips(pWndTip);}
53
        COLORREF GetBkColor() const {return GetTreeCtrl().GetBkColor();}
54
        COLORREF SetBkColor(COLORREF clr) {return GetTreeCtrl().SetBkColor(clr);}
55
        SHORT GetItemHeight() const {return GetTreeCtrl().GetItemHeight();}
56
        SHORT SetItemHeight(SHORT cyHeight) {return GetTreeCtrl().SetItemHeight(cyHeight);}
57
        COLORREF GetTextColor() const {return GetTreeCtrl().GetTextColor();}
58
        COLORREF SetTextColor(COLORREF clr) {return GetTreeCtrl().SetTextColor(clr);}
59
        BOOL SetInsertMark(HTREEITEM hItem, BOOL fAfter = TRUE) {return GetTreeCtrl().SetInsertMark(hItem, fAfter);}
60
        BOOL GetCheck(HTREEITEM hItem) const {return GetTreeCtrl().GetCheck(hItem);}
61
        BOOL SetCheck(HTREEITEM hItem, BOOL fCheck = TRUE) {return GetTreeCtrl().SetCheck(hItem,fCheck);}
62
        COLORREF GetInsertMarkColor() const {return GetTreeCtrl().GetInsertMarkColor();}
63
        COLORREF SetInsertMarkColor(COLORREF clrNew) {return GetTreeCtrl().SetInsertMarkColor(clrNew);}
64
#endif
65
// Operations
66
 
67
        HTREEITEM InsertItem(LPTV_INSERTSTRUCT lpInsertStruct) { return GetTreeCtrl().InsertItem(lpInsertStruct);  }
68
        HTREEITEM InsertItem(UINT nMask, LPCTSTR lpszItem, int nImage,int nSelectedImage, UINT nState, UINT nStateMask, LPARAM lParam,HTREEITEM hParent,HTREEITEM hInsertAfter) { return GetTreeCtrl().InsertItem(nMask, lpszItem, nImage,nSelectedImage, nState, nStateMask, lParam,hParent, hInsertAfter); }
69
        HTREEITEM InsertItem(LPCTSTR lpszItem, HTREEITEM hParent = TVI_ROOT,HTREEITEM hInsertAfter = TVI_LAST) { return GetTreeCtrl().InsertItem(lpszItem, hParent,hInsertAfter); }
70
        HTREEITEM InsertItem(LPCTSTR lpszItem, int nImage, int nSelectedImage,  HTREEITEM hParent = TVI_ROOT, HTREEITEM hInsertAfter = TVI_LAST) { return GetTreeCtrl().InsertItem(lpszItem,nImage,nSelectedImage,hParent, hInsertAfter); }
71
        BOOL DeleteItem(HTREEITEM hItem) { return GetTreeCtrl().DeleteItem(hItem); }
72
        BOOL DeleteAllItems() { return GetTreeCtrl().DeleteAllItems(); }
73
        BOOL Expand(HTREEITEM hItem, UINT nCode) { return GetTreeCtrl().Expand(hItem,nCode); }
74
        BOOL Select(HTREEITEM hItem, UINT nCode) { return GetTreeCtrl().Select(hItem,nCode); }
75
        BOOL SelectItem(HTREEITEM hItem) { return GetTreeCtrl().SelectItem(hItem); }
76
        BOOL SelectDropTarget(HTREEITEM hItem) { return GetTreeCtrl().SelectDropTarget(hItem); }
77
        BOOL SelectSetFirstVisible(HTREEITEM hItem) { return GetTreeCtrl().SelectSetFirstVisible(hItem); }
78
        CEdit* EditLabel(HTREEITEM hItem) { return GetTreeCtrl(). EditLabel(hItem); }
79
        HTREEITEM HitTest(CPoint pt, UINT* pFlags = NULL) const { return GetTreeCtrl().HitTest(pt,pFlags); }
80
        HTREEITEM HitTest(TV_HITTESTINFO* pHitTestInfo) const { return GetTreeCtrl().HitTest(pHitTestInfo); }
81
        CImageList* CreateDragImage(HTREEITEM hItem) { return GetTreeCtrl(). CreateDragImage(hItem); }
82
        BOOL SortChildren(HTREEITEM hItem) { return GetTreeCtrl().SortChildren(hItem); }
83
        BOOL EnsureVisible(HTREEITEM hItem) { return GetTreeCtrl().EnsureVisible(hItem); }
84
        BOOL SortChildrenCB(LPTV_SORTCB pSort) { return GetTreeCtrl().SortChildrenCB(pSort); }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.