#include <Prg_MiscPage.h>
Public Types | |
| enum | { IDD = IDD_PRG_MISC } |
Public Member Functions | |
| CPrg_MiscPage () | |
| ~CPrg_MiscPage () | |
| virtual BOOL | OnApply () |
Public Attributes | |
| CComboBox | m_wndShutdownTout |
| CComboBox | m_wndLaunchDldTout |
| CComboBox | m_wndHangupTout |
| CComboBox | m_wndExitTout |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| UINT | GetTimeoutForToutItem (CComboBox *pbox) |
| void | SelectToutItem (CComboBox *pbox, UINT uTimeout) |
| void | PrepareCHMgr (CPoint point) |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
| afx_msg void | OnWhatisthis () |
| afx_msg void | OnAskforst () |
| afx_msg void | OnSelchangeExitTout () |
| afx_msg void | OnSelchangeHangupTout () |
| afx_msg void | OnSelchangeLaunchdldTout () |
| afx_msg void | OnSelchangeShutdownTout () |
| afx_msg void | OnDisablewdtaskafterexec () |
Protected Attributes | |
| bool | m_bDTAEChanged |
| bool | m_bShutdownToutChanged |
| bool | m_bExitToutChanged |
| bool | m_bHangupToutChanged |
Definition at line 13 of file Prg_MiscPage.h.
| anonymous enum |
| CPrg_MiscPage::CPrg_MiscPage | ( | ) |
| CPrg_MiscPage::~CPrg_MiscPage | ( | ) |
Definition at line 30 of file Prg_MiscPage.cpp.
| BOOL CPrg_MiscPage::OnApply | ( | ) | [virtual] |
Definition at line 163 of file Prg_MiscPage.cpp.
References _App, BOOL, fsAppSettings::ConfTimeout_Exit(), fsAppSettings::ConfTimeout_Hangup(), fsAppSettings::ConfTimeout_LaunchDld(), fsAppSettings::ConfTimeout_Shutdown(), fsSchedule::dwFlags, CShedulerWnd::ExitWhenDone(), CShedulerWnd::GetMgr(), fsScheduleMgr::GetTask(), GetTimeoutForToutItem(), CShedulerWnd::HangupWhenDone(), IDC_ASKFORST, IDC_DISABLEWDTASKAFTEREXEC, m_bDTAEChanged, m_bExitToutChanged, m_bHangupToutChanged, m_bShutdownToutChanged, m_wndExitTout, m_wndHangupTout, m_wndLaunchDldTout, m_wndShutdownTout, pos(), SCHEDULE_AUTODIS, CShedulerWnd::TurnoffWhenDone(), fsSchedule::uWaitForConfirmation, fsAppSettings::WD_DisableAfterExec(), fsAppSettings::WD_LastShutdownType(), and fsAppSettings::WD_LastShutdownType_DontAsk().
| void CPrg_MiscPage::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 34 of file Prg_MiscPage.cpp.
References IDC_EXIT_TOUT, IDC_HANGUP_TOUT, IDC_LAUNCHDLD_TOUT, IDC_SHUTDOWN_TOUT, m_wndExitTout, m_wndHangupTout, m_wndLaunchDldTout, and m_wndShutdownTout.
| UINT CPrg_MiscPage::GetTimeoutForToutItem | ( | CComboBox * | pbox | ) | [protected] |
| void CPrg_MiscPage::SelectToutItem | ( | CComboBox * | pbox, | |
| UINT | uTimeout | |||
| ) | [protected] |
| void CPrg_MiscPage::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 142 of file Prg_MiscPage.cpp.
References _CHMgr, IDC__EXIT, IDC__HANGUP, IDC__LAUNCHDLD, IDC__SHUTDOWN, IDC_ASKFORST, IDC_DISABLEWDTASKAFTEREXEC, IDC_EXIT_TOUT, IDC_HANGUP_TOUT, IDC_LAUNCHDLD_TOUT, IDC_SHUTDOWN_TOUT, L_ASKFORST_HERE, L_DISABLEWHENDONEAFTEREXEC_HERE, L_EXIT_TOUT_HERE, L_HANGUP_TOUT_HERE, L_LAUNCHDLD_HERE, L_SHUTDOWN_TOUT_HERE, LS, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CPrg_MiscPage::ApplyLanguage | ( | ) | [protected] |
Definition at line 109 of file Prg_MiscPage.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__EXIT, IDC__HANGUP, IDC__LAUNCHDLD, IDC__SHUTDOWN, IDC__TOUTSFORCONFS, IDC_ASKFORST, IDC_DISABLEWDTASKAFTEREXEC, L_ASKFORST, L_DISABLEWHENDONEAFTEREXEC, L_EXIT, L_HANGUP, L_LAUNCHDLD, L_SHUTDOWN, and L_TOUTSFORCONFS.
Referenced by OnInitDialog().
| BOOL CPrg_MiscPage::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 59 of file Prg_MiscPage.cpp.
References _App, ApplyLanguage(), ASSERT, fsAppSettings::ConfTimeout_Exit(), fsAppSettings::ConfTimeout_Hangup(), fsAppSettings::ConfTimeout_LaunchDld(), fsAppSettings::ConfTimeout_Shutdown(), FALSE, L_DISABLECONFTIMEOUT, L_DONTASKFORCONF, L_N_SECONDS, LS, m_wndExitTout, m_wndHangupTout, m_wndLaunchDldTout, m_wndShutdownTout, SelectToutItem(), TRUE, fsAppSettings::WD_DisableAfterExec(), and fsAppSettings::WD_LastShutdownType_DontAsk().
| void CPrg_MiscPage::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 103 of file Prg_MiscPage.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| BOOL CPrg_MiscPage::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 125 of file Prg_MiscPage.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
| void CPrg_MiscPage::OnWhatisthis | ( | ) | [protected] |
| void CPrg_MiscPage::OnAskforst | ( | ) | [protected] |
Definition at line 245 of file Prg_MiscPage.cpp.
| void CPrg_MiscPage::OnSelchangeExitTout | ( | ) | [protected] |
| void CPrg_MiscPage::OnSelchangeHangupTout | ( | ) | [protected] |
| void CPrg_MiscPage::OnSelchangeLaunchdldTout | ( | ) | [protected] |
Definition at line 262 of file Prg_MiscPage.cpp.
| void CPrg_MiscPage::OnSelchangeShutdownTout | ( | ) | [protected] |
| void CPrg_MiscPage::OnDisablewdtaskafterexec | ( | ) | [protected] |
| CComboBox CPrg_MiscPage::m_wndShutdownTout |
Definition at line 23 of file Prg_MiscPage.h.
Referenced by DoDataExchange(), OnApply(), and OnInitDialog().
| CComboBox CPrg_MiscPage::m_wndLaunchDldTout |
Definition at line 24 of file Prg_MiscPage.h.
Referenced by DoDataExchange(), OnApply(), and OnInitDialog().
| CComboBox CPrg_MiscPage::m_wndHangupTout |
Definition at line 25 of file Prg_MiscPage.h.
Referenced by DoDataExchange(), OnApply(), and OnInitDialog().
| CComboBox CPrg_MiscPage::m_wndExitTout |
Definition at line 26 of file Prg_MiscPage.h.
Referenced by DoDataExchange(), OnApply(), and OnInitDialog().
bool CPrg_MiscPage::m_bDTAEChanged [protected] |
Definition at line 37 of file Prg_MiscPage.h.
Referenced by OnApply(), and OnDisablewdtaskafterexec().
bool CPrg_MiscPage::m_bShutdownToutChanged [protected] |
Definition at line 38 of file Prg_MiscPage.h.
Referenced by OnApply(), and OnSelchangeShutdownTout().
bool CPrg_MiscPage::m_bExitToutChanged [protected] |
bool CPrg_MiscPage::m_bHangupToutChanged [protected] |
1.5.6