CDownloadsGroupsComboBox Class Reference

#include <DownloadsGroupsComboBox.h>

List of all members.

Public Member Functions

 CDownloadsGroupsComboBox ()
void Tree_UpdateSelection (BOOL bPostNotificationMsg=TRUE)
void ShowDropDown (BOOL bShow)
BOOL SelectGroupById (UINT nGroupId)
void RememberSelectedGroup ()
vmsDownloadsGroupSmartPtr GetSelectedGroup ()
vmsDownloadsGroupSmartPtr CreateNewGroup (vmsDownloadsGroupSmartPtr pParentGroup)
BOOL SelectGroup (vmsDownloadsGroupSmartPtr grp)
void Fill ()
virtual ~CDownloadsGroupsComboBox ()

Public Attributes

bool m_bHasAllGroupsItem

Protected Member Functions

void FillGroups (PDLDS_GROUPS_TREE pGroupsTree, HTREEITEM hRoot)
afx_msg void OnDestroy ()
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnKillFocus (CWnd *pNewWnd)
afx_msg void OnSetFocus (CWnd *pOldWnd)
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)

Protected Attributes

fsTicksMgr m_timeLastHide
vmsDownloadsGroupSmartPtr m_pSelectedGroup
CComboBoxTreeCtrl m_wndTree
std::vector< _inc_TreeCtrlGroupsm_vGroupItems

Classes

struct  _inc_TreeCtrlGroups


Detailed Description

Definition at line 16 of file DownloadsGroupsComboBox.h.


Constructor & Destructor Documentation

CDownloadsGroupsComboBox::CDownloadsGroupsComboBox (  ) 

CDownloadsGroupsComboBox::~CDownloadsGroupsComboBox (  )  [virtual]

Definition at line 23 of file DownloadsGroupsComboBox.cpp.


Member Function Documentation

void CDownloadsGroupsComboBox::Tree_UpdateSelection ( BOOL  bPostNotificationMsg = TRUE  ) 

void CDownloadsGroupsComboBox::ShowDropDown ( BOOL  bShow  ) 

BOOL CDownloadsGroupsComboBox::SelectGroupById ( UINT  nGroupId  ) 

void CDownloadsGroupsComboBox::RememberSelectedGroup (  ) 

vmsDownloadsGroupSmartPtr CDownloadsGroupsComboBox::GetSelectedGroup (  ) 

Definition at line 140 of file DownloadsGroupsComboBox.cpp.

References m_pSelectedGroup.

Referenced by CWPDS_GeneralPage::OnApply(), CSites_GeneralPage::OnApply(), CDownloadProperties_GeneralPage::OnApply(), CDownloaderProperties_NewDownloadPage::OnApply(), CBtDld_General::OnApply(), CSpiderAddPageDlg::OnChangeGroups(), CCreateDownloadListDlg::OnChangeGroups(), CCreateDownloadDlg::OnChangeGroups(), CCreateBatchDownload::OnChangeGroups(), CSpiderAddPageDlg::OnCreategroup(), CSites_GeneralPage::OnCreategroup(), CDownloaderProperties_NewDownloadPage::OnCreategroup(), CDlg_ChooseGroup::OnCreategroup(), CCreateDownloadsDlg::OnCreategroup(), CCreateDownloadListDlg::OnCreategroup(), CCreateDownloadFromTorrentFileDlg::OnCreategroup(), CCreateDownloadDlg::OnCreategroup(), CCreateBatchDownload::OnCreategroup(), CDownloaderProperties_NewDownloadPage::OnCreategroup2(), CCreateDownloadFromTorrentFileDlg::OnInitDialog(), CSpiderAddPageDlg::OnOK(), CGroupDlg::OnOK(), CDlgFindAdvanced::OnOK(), CDlg_ChooseGroup::OnOK(), CCreateDownloadsDlg::OnOK(), CCreateDownloadListDlg::OnOK(), CCreateDownloadFromTorrentFileDlg::OnOK(), CCreateDownloadDlg::OnOK(), CCreateBatchDownload::OnOK(), CSpiderAddPageDlg::OnOutfolderSetdefault(), CCreateDownloadsDlg::OnOutfolderSetdefault(), CCreateDownloadFromTorrentFileDlg::OnOutfolderSetdefault(), CCreateDownloadDlg::OnOutfolderSetdefault(), CCreateBatchDownload::OnOutfolderSetdefault(), CGroupDlg::OnSelchangeGroups(), CCreateDownloadsDlg::OnSelchangeGroups(), and RememberSelectedGroup().

vmsDownloadsGroupSmartPtr CDownloadsGroupsComboBox::CreateNewGroup ( vmsDownloadsGroupSmartPtr  pParentGroup  ) 

BOOL CDownloadsGroupsComboBox::SelectGroup ( vmsDownloadsGroupSmartPtr  grp  ) 

void CDownloadsGroupsComboBox::Fill (  ) 

void CDownloadsGroupsComboBox::FillGroups ( PDLDS_GROUPS_TREE  pGroupsTree,
HTREEITEM  hRoot 
) [protected]

void CDownloadsGroupsComboBox::OnDestroy (  )  [protected]

void CDownloadsGroupsComboBox::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 171 of file DownloadsGroupsComboBox.cpp.

References FALSE, m_timeLastHide, m_wndTree, fsTicksMgr::Now(), ShowDropDown(), and TRUE.

Referenced by OnLButtonDblClk().

void CDownloadsGroupsComboBox::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 183 of file DownloadsGroupsComboBox.cpp.

void CDownloadsGroupsComboBox::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

Definition at line 188 of file DownloadsGroupsComboBox.cpp.

References m_wndTree, and Tree_UpdateSelection().

void CDownloadsGroupsComboBox::OnKillFocus ( CWnd *  pNewWnd  )  [protected]

Definition at line 227 of file DownloadsGroupsComboBox.cpp.

void CDownloadsGroupsComboBox::OnSetFocus ( CWnd *  pOldWnd  )  [protected]

void CDownloadsGroupsComboBox::OnLButtonDblClk ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 240 of file DownloadsGroupsComboBox.cpp.

References OnLButtonDown().


Member Data Documentation

Definition at line 52 of file DownloadsGroupsComboBox.h.

Referenced by OnLButtonDown(), and ShowDropDown().

Definition at line 54 of file DownloadsGroupsComboBox.h.

Referenced by GetSelectedGroup(), and Tree_UpdateSelection().

Definition at line 65 of file DownloadsGroupsComboBox.h.

Referenced by CreateNewGroup(), Fill(), FillGroups(), and SelectGroup().


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

Generated on Sun May 25 00:20:44 2008 by  doxygen 1.5.6