OOFILE  1.9
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CTreeCtrlEx Class Reference

MFC public domain extended tree we use for extra selection logic. More...

#include <doxyoofOtherClasses.h>

Inheritance diagram for CTreeCtrlEx:
Inheritance graph
[legend]
Collaboration diagram for CTreeCtrlEx:
Collaboration graph
[legend]

Public Member Functions

void ClearSelection (BOOL bMultiOnly=FALSE)
 
BOOL Create (DWORD dwStyle, DWORD dwExStyle, const RECT &rect, CWnd *pParentWnd, UINT nID)
 
 CTreeCtrlEx ()
 
HTREEITEM GetFirstSelectedItem () const
 
HTREEITEM GetNextSelectedItem (HTREEITEM hItem) const
 
HTREEITEM GetPrevSelectedItem (HTREEITEM hItem) const
 
UINT GetSelectedCount () const
 
HTREEITEM ItemFromData (DWORD dwData, HTREEITEM hStartAtItem=NULL) const
 
BOOL SelectItemEx (HTREEITEM hItem, BOOL bSelect=TRUE)
 
BOOL SelectItems (HTREEITEM hFromItem, HTREEITEM hToItem)
 
virtual ~CTreeCtrlEx ()
 

Static Public Member Functions

static HTREEITEM GetTreeItemFromData (CTreeCtrl &treeCtrl, DWORD dwData, HTREEITEM hStartAtItem=NULL)
 

Protected Member Functions

afx_msg BOOL OnItemexpanding (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
 
afx_msg BOOL OnKillfocus (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
 
afx_msg BOOL OnSetfocus (NMHDR *pNMHDR, LRESULT *pResult)
 
void SelectMultiple (HTREEITEM hClickedItem, UINT nFlags)
 

Detailed Description

MFC public domain extended tree we use for extra selection logic.

Definition at line 132 of file doxyoofOtherClasses.h.

Constructor & Destructor Documentation

CTreeCtrlEx::CTreeCtrlEx ( )
inline

Definition at line 23 of file TreeCtrlEx.h.

virtual CTreeCtrlEx::~CTreeCtrlEx ( )
inlinevirtual

Definition at line 60 of file TreeCtrlEx.h.

Member Function Documentation

void CTreeCtrlEx::ClearSelection ( BOOL  bMultiOnly = FALSE)

Definition at line 448 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::Create ( DWORD  dwStyle,
DWORD  dwExStyle,
const RECT &  rect,
CWnd pParentWnd,
UINT  nID 
)

Definition at line 54 of file TreeCtrlEx.cpp.

HTREEITEM CTreeCtrlEx::GetFirstSelectedItem ( ) const

Definition at line 334 of file TreeCtrlEx.cpp.

HTREEITEM CTreeCtrlEx::GetNextSelectedItem ( HTREEITEM  hItem) const

Definition at line 343 of file TreeCtrlEx.cpp.

HTREEITEM CTreeCtrlEx::GetPrevSelectedItem ( HTREEITEM  hItem) const

Definition at line 352 of file TreeCtrlEx.cpp.

UINT CTreeCtrlEx::GetSelectedCount ( ) const

Definition at line 318 of file TreeCtrlEx.cpp.

HTREEITEM CTreeCtrlEx::GetTreeItemFromData ( CTreeCtrl treeCtrl,
DWORD  dwData,
HTREEITEM  hStartAtItem = NULL 
)
static

Definition at line 580 of file TreeCtrlEx.cpp.

HTREEITEM CTreeCtrlEx::ItemFromData ( DWORD  dwData,
HTREEITEM  hStartAtItem = NULL 
) const

Definition at line 535 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::OnItemexpanding ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 462 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
)
protected

Definition at line 236 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::OnKillfocus ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 524 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 78 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 123 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::OnMouseMove ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 138 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::OnRButtonDown ( UINT  nFlags,
CPoint  point 
)
protected

Definition at line 302 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::OnSetfocus ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 517 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::SelectItemEx ( HTREEITEM  hItem,
BOOL  bSelect = TRUE 
)

Definition at line 365 of file TreeCtrlEx.cpp.

BOOL CTreeCtrlEx::SelectItems ( HTREEITEM  hFromItem,
HTREEITEM  hToItem 
)

Definition at line 395 of file TreeCtrlEx.cpp.

void CTreeCtrlEx::SelectMultiple ( HTREEITEM  hClickedItem,
UINT  nFlags 
)
protected

Definition at line 184 of file TreeCtrlEx.cpp.


The documentation for this class was generated from the following files: