/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
return TRUE; // return TRUE unless you set the focus to a control
}
-void CKlogDlg::OnOK()
+void CKlogDlg::OnOK()
{
char *reason;
CDialog::OnOK();
}
-void CKlogDlg::OnChangeName()
+void CKlogDlg::OnChangeName()
{
CheckEnableOk();
}
-void CKlogDlg::OnChangeCellName()
+void CKlogDlg::OnChangeCellName()
{
CheckEnableOk();
}
void CKlogDlg:: CheckEnableOk()
{
UpdateData();
-
+
m_OK.EnableWindow(!m_strCellName.IsEmpty() && !m_strName.IsEmpty() && !m_strPassword.IsEmpty());
}
-void CKlogDlg::OnChangePassword()
+void CKlogDlg::OnChangePassword()
{
CheckEnableOk();
}
-void CKlogDlg::OnHelp()
+void CKlogDlg::OnHelp()
{
ShowHelp(m_hWnd, GET_TOKENS_HELP_ID);
}