Operator Console
|
a class for a simple password query dialog More...
#include <PasswordDialog.h>
Public Types | |
enum | { IDD = IDD_DIALOG_PWD } |
enum | { IDD = IDD_DIALOG_PWD } |
Public Member Functions | |
CPasswordDialog (CWnd *pParent=NULL) | |
virtual | ~CPasswordDialog () |
const CString | getResponse (void) |
returns what the user entered as the password More... | |
const bool | getUnlockStatus (void) |
returns whether the user decided to unlock access to pass/fail settings until the program closes More... | |
afx_msg void | OnBnClickedOk () |
afx_msg void | OnClickedCheckRetainAccess () |
virtual BOOL | OnInitDialog () |
CPasswordDialog (CWnd *pParent=NULL) | |
virtual | ~CPasswordDialog () |
const CString | getResponse (void) |
returns what the user entered as the password More... | |
const bool | getUnlockStatus (void) |
returns whether the user decided to unlock access to pass/fail settings until the program closes More... | |
afx_msg void | OnBnClickedOk () |
afx_msg void | OnClickedCheckRetainAccess () |
virtual BOOL | OnInitDialog () |
Public Attributes | |
CEdit | c_edit_password |
CButton | c_unlock |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual void | DoDataExchange (CDataExchange *pDX) |
Private Attributes | |
CString | m_password |
the user-supplied password attempt More... | |
bool | m_unlock |
the user-supplied choice for unlocking administrator access to pass/fail settings More... | |
a class for a simple password query dialog
CPasswordDialog::CPasswordDialog | ( | CWnd * | pParent = NULL | ) |
CPasswordDialog::CPasswordDialog | ( | CWnd * | pParent = NULL | ) |
|
virtual |
|
protectedvirtual |
References c_edit_password, c_unlock, IDC_CHECK_RETAIN_ACCESS, and IDC_EDIT_PWD.
|
protectedvirtual |
const CString CPasswordDialog::getResponse | ( | void | ) |
returns what the user entered as the password
Referenced by COperatorConsoleApp::OnPassFail().
const CString CPasswordDialog::getResponse | ( | void | ) |
returns what the user entered as the password
const bool CPasswordDialog::getUnlockStatus | ( | void | ) |
returns whether the user decided to unlock access to pass/fail settings until the program closes
const bool CPasswordDialog::getUnlockStatus | ( | void | ) |
returns whether the user decided to unlock access to pass/fail settings until the program closes
References m_unlock.
Referenced by COperatorConsoleApp::OnPassFail().
void CPasswordDialog::OnBnClickedOk | ( | ) |
References c_edit_password, and m_password.
afx_msg void CPasswordDialog::OnBnClickedOk | ( | ) |
afx_msg void CPasswordDialog::OnClickedCheckRetainAccess | ( | ) |
void CPasswordDialog::OnClickedCheckRetainAccess | ( | ) |
|
virtual |
|
virtual |
CEdit CPasswordDialog::c_edit_password |
Referenced by DoDataExchange(), and OnBnClickedOk().
CButton CPasswordDialog::c_unlock |
Referenced by DoDataExchange(), OnClickedCheckRetainAccess(), and OnInitDialog().
|
private |
the user-supplied password attempt
Referenced by OnBnClickedOk().
|
private |
the user-supplied choice for unlocking administrator access to pass/fail settings
Referenced by getUnlockStatus(), OnClickedCheckRetainAccess(), and OnInitDialog().