#include <CtrlSharedFolder.h>
Public Member Functions | |
CLibraryFolderCtrl () | |
virtual | ~CLibraryFolderCtrl () |
void | SetMultiSelect (BOOL bMultiSelect) |
void | SetSaveExpand (BOOL bSaveExpand) |
void | Update (DWORD nUpdateCookie=0) |
void | SetSelectedCookie (DWORD nUpdateCookie, HTREEITEM hParent=NULL, BOOL bSelect=FALSE) |
POSITION | GetSelectedFolderIterator () const |
CLibraryFolder * | GetNextSelectedFolder (POSITION &pos) const |
BOOL | ClearSelection (HTREEITEM hExcept=NULL, HTREEITEM hItem=NULL, BOOL bSelect=FALSE) |
BOOL | SelectAll (HTREEITEM hExcept=NULL) |
BOOL | SelectFolder (CLibraryFolder *pFolder, HTREEITEM hItem=NULL) |
virtual BOOL | Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID) |
Protected Member Functions | |
void | Update (CLibraryFolder *pFolder, HTREEITEM hFolder, HTREEITEM hParent, DWORD nUpdateCookie, BOOL bRecurse) |
BOOL | SelectItems (HTREEITEM hItemFrom, HTREEITEM hItemTo) |
HTREEITEM | GetFirstSelectedItem () const |
HTREEITEM | GetNextSelectedItem (HTREEITEM hItem) const |
void | NotifySelectionChanged () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnItemExpanded (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnSelChanged (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnCustomDraw (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnNcPaint () |
Protected Attributes | |
HTREEITEM | m_hRoot |
HTREEITEM | m_hFirstSelected |
BOOL | m_bFirstClick |
BOOL | m_bMultiSelect |
BOOL | m_bSaveExpand |
|
Definition at line 59 of file CtrlSharedFolder.cpp. |
|
Definition at line 66 of file CtrlSharedFolder.cpp. |
|
Definition at line 452 of file CtrlSharedFolder.cpp. References NULL. Referenced by OnKeyDown(), OnLButtonDown(), and SelectAll(). |
|
Definition at line 73 of file CtrlSharedFolder.cpp. Referenced by CFileCopyDlg::OnInitDialog(). |
|
Definition at line 534 of file CtrlSharedFolder.cpp. References NULL. Referenced by GetSelectedFolderIterator(), OnKeyDown(), OnLButtonDown(), and Update(). |
|
Definition at line 239 of file CtrlSharedFolder.cpp. References CLibraryFolders::CheckFolder(), CLibraryFolder::CheckFolder(), GetNextSelectedItem(), LibraryFolders, m_hRoot, and NULL. Referenced by CFileCopyDlg::OnOK(). |
|
Definition at line 544 of file CtrlSharedFolder.cpp. References NULL. Referenced by GetNextSelectedFolder(). |
|
Definition at line 234 of file CtrlSharedFolder.cpp. References GetFirstSelectedItem(). Referenced by CFileCopyDlg::OnOK(), and CFileCopyDlg::OnTimer(). |
|
Definition at line 583 of file CtrlSharedFolder.cpp. Referenced by OnKeyDown(), OnLButtonDown(), OnSelChanged(), and SelectAll(). |
|
Definition at line 288 of file CtrlSharedFolder.cpp. References CShellIcons::GetObject(), m_hFirstSelected, m_hRoot, NULL, and ShellIcons. |
|
Definition at line 588 of file CtrlSharedFolder.cpp. |
|
Definition at line 554 of file CtrlSharedFolder.cpp. References CLibraryFolders::CheckFolder(), Library, LibraryFolders, CLibraryFolder::m_bExpanded, m_bSaveExpand, CLibrary::m_pSection, SHI_FOLDER_CLOSED, and SHI_FOLDER_OPEN. |
|
Definition at line 396 of file CtrlSharedFolder.cpp. References ClearSelection(), GetFirstSelectedItem(), m_bMultiSelect, m_hFirstSelected, NotifySelectionChanged(), and NULL. |
|
Definition at line 369 of file CtrlSharedFolder.cpp. References m_bMultiSelect, and SelectAll(). |
|
Definition at line 300 of file CtrlSharedFolder.cpp. References ClearSelection(), GetFirstSelectedItem(), m_bFirstClick, m_bMultiSelect, m_hFirstSelected, NotifySelectionChanged(), NULL, and SelectItems(). Referenced by OnRButtonDown(). |
|
Definition at line 385 of file CtrlSharedFolder.cpp. Referenced by OnRButtonDown(). |
|
Definition at line 605 of file CtrlSharedFolder.cpp. |
|
Definition at line 389 of file CtrlSharedFolder.cpp. References OnLButtonDown(), and OnLButtonUp(). |
|
Definition at line 576 of file CtrlSharedFolder.cpp. References NotifySelectionChanged(). |
|
Definition at line 475 of file CtrlSharedFolder.cpp. References ClearSelection(), NotifySelectionChanged(), and NULL. Referenced by OnLButtonDblClk(). |
|
Definition at line 515 of file CtrlSharedFolder.cpp. References NULL. Referenced by CFileCopyDlg::OnInitDialog(). |
|
Definition at line 485 of file CtrlSharedFolder.cpp. Referenced by OnLButtonDown(). |
|
Definition at line 80 of file CtrlSharedFolder.cpp. References m_bMultiSelect. Referenced by CFileCopyDlg::OnInitDialog(). |
|
Definition at line 85 of file CtrlSharedFolder.cpp. References m_bSaveExpand. |
|
Definition at line 213 of file CtrlSharedFolder.cpp. References m_hRoot, and CLibraryFolder::m_nSelectCookie. |
|
|
Definition at line 90 of file CtrlSharedFolder.cpp. References CLibraryFolders::CheckFolder(), CLibraryFolders::GetFolderIterator(), CLibraryFolders::GetNextFolder(), LibraryFolders, m_hRoot, and NULL. Referenced by CFileCopyDlg::OnInitDialog(), CFileCopyDlg::OnTimer(), and Update(). |
|
Definition at line 41 of file CtrlSharedFolder.h. Referenced by OnLButtonDown(). |
|
Definition at line 42 of file CtrlSharedFolder.h. Referenced by OnKeyDown(), OnLButtonDblClk(), OnLButtonDown(), SetMultiSelect(), and Update(). |
|
Definition at line 43 of file CtrlSharedFolder.h. Referenced by OnItemExpanded(), and SetSaveExpand(). |
|
Definition at line 40 of file CtrlSharedFolder.h. Referenced by OnCreate(), OnKeyDown(), and OnLButtonDown(). |
|
Definition at line 39 of file CtrlSharedFolder.h. Referenced by GetNextSelectedFolder(), OnCreate(), SetSelectedCookie(), and Update(). |