#include <DownloadsGroupsComboBox.h>
Definition at line 16 of file DownloadsGroupsComboBox.h.
| CDownloadsGroupsComboBox::CDownloadsGroupsComboBox | ( | ) |
Definition at line 17 of file DownloadsGroupsComboBox.cpp.
References m_bHasAllGroupsItem, CComboBoxTreeCtrl::m_pCombo, and m_wndTree.
| CDownloadsGroupsComboBox::~CDownloadsGroupsComboBox | ( | ) | [virtual] |
Definition at line 23 of file DownloadsGroupsComboBox.cpp.
| void CDownloadsGroupsComboBox::Tree_UpdateSelection | ( | BOOL | bPostNotificationMsg = TRUE |
) |
Definition at line 246 of file DownloadsGroupsComboBox.cpp.
References m_pSelectedGroup, m_wndTree, and NULL.
Referenced by Fill(), OnKeyDown(), CComboBoxTreeCtrl::OnSelchanged(), and SelectGroup().
| void CDownloadsGroupsComboBox::ShowDropDown | ( | BOOL | bShow | ) |
Definition at line 199 of file DownloadsGroupsComboBox.cpp.
References FALSE, m_timeLastHide, m_wndTree, and fsTicksMgr::Now().
Referenced by CComboBoxTreeCtrl::OnKeydown(), CComboBoxTreeCtrl::OnKillFocus(), OnLButtonDown(), CComboBoxTreeCtrl::OnSelchanged(), and OnSetFocus().
| BOOL CDownloadsGroupsComboBox::SelectGroupById | ( | UINT | nGroupId | ) |
Definition at line 159 of file DownloadsGroupsComboBox.cpp.
References _DldsGrps, FALSE, vmsDownloadsGroupsMgr::FindGroup(), NULL, and SelectGroup().
Referenced by CSpiderAddPageDlg::OnInitDialog(), CSites_GeneralPage::OnInitDialog(), CDownloaderProperties_NewDownloadPage::OnInitDialog(), CDlgFindAdvanced::OnInitDialog(), CDlg_ChooseGroup::OnInitDialog(), CCreateDownloadsDlg::OnInitDialog(), CCreateDownloadListDlg::OnInitDialog(), CCreateDownloadFromTorrentFileDlg::OnInitDialog(), and CCreateBatchDownload::OnInitDialog().
| void CDownloadsGroupsComboBox::RememberSelectedGroup | ( | ) |
Definition at line 152 of file DownloadsGroupsComboBox.cpp.
References _App, fsAppSettings::CreateDld_IdOfLastGrpSelected(), GetSelectedGroup(), and NULL.
Referenced by OnDestroy(), CSpiderAddPageDlg::OnOK(), CCreateDownloadsDlg::OnOK(), CCreateDownloadListDlg::OnOK(), CCreateDownloadFromTorrentFileDlg::OnOK(), CCreateDownloadDlg::OnOK(), and CCreateBatchDownload::OnOK().
| 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 | ) |
Definition at line 110 of file DownloadsGroupsComboBox.cpp.
References _DlgMgr, fsDialogsMgr::DoModal(), DWORD_PTR, CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::hItem, m_bHasAllGroupsItem, CGroupDlg::m_pGroup, CGroupDlg::m_pParentGroup, m_vGroupItems, m_wndTree, NULL, CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::pGroup, and SelectGroup().
Referenced by CSpiderAddPageDlg::OnCreategroup(), CSites_GeneralPage::OnCreategroup(), CDownloaderProperties_NewDownloadPage::OnCreategroup(), CDlg_ChooseGroup::OnCreategroup(), CCreateDownloadsDlg::OnCreategroup(), CCreateDownloadListDlg::OnCreategroup(), CCreateDownloadFromTorrentFileDlg::OnCreategroup(), CCreateDownloadDlg::OnCreategroup(), CCreateBatchDownload::OnCreategroup(), and CDownloaderProperties_NewDownloadPage::OnCreategroup2().
| BOOL CDownloadsGroupsComboBox::SelectGroup | ( | vmsDownloadsGroupSmartPtr | grp | ) |
Definition at line 77 of file DownloadsGroupsComboBox.cpp.
References FALSE, m_bHasAllGroupsItem, m_vGroupItems, m_wndTree, NULL, Tree_UpdateSelection(), and TRUE.
Referenced by CreateNewGroup(), CWPDS_GeneralPage::OnInitDialog(), CSites_GeneralPage::OnInitDialog(), CGroupDlg::OnInitDialog(), CDownloadProperties_GeneralPage::OnInitDialog(), CDlgFindAdvanced::OnInitDialog(), CCreateDownloadFromTorrentFileDlg::OnInitDialog(), CCreateDownloadDlg::OnInitDialog(), CBtDld_General::OnInitDialog(), CSpiderAddPageDlg::OnUrlChanged(), SelectGroupById(), CCreateDownloadDlg::UrlChanged(), and CCreateBatchDownload::UrlChanged().
| void CDownloadsGroupsComboBox::Fill | ( | ) |
Definition at line 39 of file DownloadsGroupsComboBox.cpp.
References _App, _DldsGrps, fsAppSettings::CreateDld_IdOfLastGrpSelected(), FALSE, FillGroups(), vmsDownloadsGroupsMgr::GetGroupsTree(), CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::hItem, L_ALLGROUPS, LS, m_bHasAllGroupsItem, m_vGroupItems, m_wndTree, NULL, CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::pGroup, and Tree_UpdateSelection().
Referenced by CWPDS_GeneralPage::OnInitDialog(), CSpiderAddPageDlg::OnInitDialog(), CSites_GeneralPage::OnInitDialog(), CGroupDlg::OnInitDialog(), CDownloadProperties_GeneralPage::OnInitDialog(), CDownloaderProperties_NewDownloadPage::OnInitDialog(), CDlgFindAdvanced::OnInitDialog(), CDlg_ChooseGroup::OnInitDialog(), CCreateDownloadsDlg::OnInitDialog(), CCreateDownloadListDlg::OnInitDialog(), CCreateDownloadFromTorrentFileDlg::OnInitDialog(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), and CBtDld_General::OnInitDialog().
| void CDownloadsGroupsComboBox::FillGroups | ( | PDLDS_GROUPS_TREE | pGroupsTree, | |
| HTREEITEM | hRoot | |||
| ) | [protected] |
Definition at line 269 of file DownloadsGroupsComboBox.cpp.
References DWORD_PTR, GRP_OTHER_ID, CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::hItem, L_OTHER, LS, m_vGroupItems, m_wndTree, and CDownloadsGroupsComboBox::_inc_TreeCtrlGroups::pGroup.
Referenced by Fill().
| void CDownloadsGroupsComboBox::OnDestroy | ( | ) | [protected] |
Definition at line 145 of file DownloadsGroupsComboBox.cpp.
References CDownloadsWnd::OnDestroy(), and RememberSelectedGroup().
| 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.
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] |
Definition at line 232 of file DownloadsGroupsComboBox.cpp.
References FALSE, m_wndTree, NULL, CDownloadsWnd::OnSetFocus(), and ShowDropDown().
| void CDownloadsGroupsComboBox::OnLButtonDblClk | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 31 of file DownloadsGroupsComboBox.h.
Referenced by CDlgFindAdvanced::CDlgFindAdvanced(), CDownloadsGroupsComboBox(), CGroupDlg::CGroupDlg(), CreateNewGroup(), Fill(), and SelectGroup().
fsTicksMgr CDownloadsGroupsComboBox::m_timeLastHide [protected] |
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().
CComboBoxTreeCtrl CDownloadsGroupsComboBox::m_wndTree [protected] |
Definition at line 58 of file DownloadsGroupsComboBox.h.
Referenced by CDownloadsGroupsComboBox(), CreateNewGroup(), Fill(), FillGroups(), OnKeyDown(), OnLButtonDown(), OnSetFocus(), SelectGroup(), ShowDropDown(), and Tree_UpdateSelection().
std::vector<_inc_TreeCtrlGroups> CDownloadsGroupsComboBox::m_vGroupItems [protected] |
Definition at line 65 of file DownloadsGroupsComboBox.h.
Referenced by CreateNewGroup(), Fill(), FillGroups(), and SelectGroup().
1.5.6