root / trunk / win / GrpTree.h

Revision 680, 1.7 kB (checked in by leo, 19 months ago)

Added lcPivot class to replace the old group system.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#if !defined(AFX_GRPTREE_H__BA679E06_52FE_11D3_A5D0_814EF6A81B31__INCLUDED_)
2#define AFX_GRPTREE_H__BA679E06_52FE_11D3_A5D0_814EF6A81B31__INCLUDED_
3
4#if _MSC_VER >= 1000
5#pragma once
6#endif // _MSC_VER >= 1000
7// GrpTree.h : header file
8//
9
10#include "typedefs.h"
11class Group;
12
13/////////////////////////////////////////////////////////////////////////////
14// CGroupEditTree window
15
16class CGroupEditTree : public CTreeCtrl
17{
18// Construction
19public:
20    CGroupEditTree();
21
22// Attributes
23protected:
24    CImageList* m_pDragImage;
25    BOOL m_bDragging;
26    HTREEITEM m_hitemDrag, m_hitemDrop;
27    HCURSOR m_dropCursor, m_noDropCursor;
28
29// Operations
30public:
31    LC_GROUPEDITDLG_OPTS* opts;
32    void AddChildren(HTREEITEM hParent, Group* pGroup);
33
34// Overrides
35    // ClassWizard generated virtual function overrides
36    //{{AFX_VIRTUAL(CGroupEditTree)
37    public:
38    virtual BOOL PreTranslateMessage(MSG* pMsg);
39    //}}AFX_VIRTUAL
40
41// Implementation
42public:
43    virtual ~CGroupEditTree();
44
45    // Generated message map functions
46protected:
47    HTREEITEM GetDropTarget(HTREEITEM hItem);
48    BOOL IsDropSource(HTREEITEM hItem);
49    //{{AFX_MSG(CGroupEditTree)
50    afx_msg void OnBeginDrag(NMHDR* pNMHDR, LRESULT* pResult);
51    afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
52    afx_msg void OnMouseMove(UINT nFlags, CPoint point);
53    afx_msg void OnBeginLabelEdit(NMHDR* pNMHDR, LRESULT* pResult);
54    afx_msg void OnEndLabelEdit(NMHDR* pNMHDR, LRESULT* pResult);
55    //}}AFX_MSG
56
57    DECLARE_MESSAGE_MAP()
58};
59
60/////////////////////////////////////////////////////////////////////////////
61
62//{{AFX_INSERT_LOCATION}}
63// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
64
65#endif // !defined(AFX_GRPTREE_H__BA679E06_52FE_11D3_A5D0_814EF6A81B31__INCLUDED_)
Note: See TracBrowser for help on using the browser.