⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 remotelogondlg.cpp

📁 vc++网络程序设计实例详解 人民邮电出版社1-2章源码
💻 CPP
字号:
// 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();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -