|
// RemoteLogonDlg.cpp : implementation file
//
#include "stdafx.h"
#include "RemoteAdmin.h"
#include "RemoteLogonDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRemoteLogonDlg dialog
CRemoteLogonDlg::CRemoteLogonDlg(CWnd* pParent /*=NULL*/)
: CDialog(CRemoteLogonDlg::IDD, pParent)
{
m_strLogon.LoadString(IDS_DEFAULT_LOGON);
//{{AFX_DATA_INIT(CRemoteLogonDlg)
m_strPassword = _T("");
//}}AFX_DATA_INIT
}
void CRemoteLogonDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRemoteLogonDlg)
DDX_Text(pDX, IDC_LOGON, m_strLogon);
DDX_Text(pDX, IDC_PASSWORD, m_strPassword);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRemoteLogonDlg, CDialog)
//{{AFX_MSG_MAP(CRemoteLogonDlg)
ON_WM_CANCELMODE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRemoteLogonDlg message handlers
BOOL CRemoteLogonDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CRemoteLogonDlg::OnCancelMode()
{
CDialog::OnCancelMode();
// TODO: Add your message handler code here
}
void CRemoteLogonDlg::OnOK()
{
GetDlgItemText(IDC_REMOTEIP, m_strRemoteIP);
CDialog::OnOK();
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.