ingresoclave.cpp

来自「一个邮件监控程序」· C++ 代码 · 共 68 行

CPP
68
字号
/*

  IngresoClave.cpp


  Ventana de ingreso de contrase馻 de email.

  Autor: Sergio Scarnatto

*/

#include "stdafx.h"
#include "MailMonitor.h"
#include "IngresoClave.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CIngresoClave dialog


CIngresoClave::CIngresoClave(CWnd* pParent /*=NULL*/)
	: CDialog(CIngresoClave::IDD, pParent)
{
  //{{AFX_DATA_INIT(CIngresoClave)
		// NOTE: the ClassWizard will add member initialization here
  //}}AFX_DATA_INIT
}


void CIngresoClave::DoDataExchange(CDataExchange* pDX)
{
  CDialog::DoDataExchange(pDX);
  //{{AFX_DATA_MAP(CIngresoClave)
		// NOTE: the ClassWizard will add DDX and DDV calls here
  //}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CIngresoClave, CDialog)
	//{{AFX_MSG_MAP(CIngresoClave)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CIngresoClave message handlers

void CIngresoClave::OnOK() 
{
  GetDlgItem(IDC_CLAVE)->GetWindowText(m_Clave);
  CDialog::OnOK();
}

BOOL CIngresoClave::OnInitDialog() 
{
  CDialog::OnInitDialog();
  
  GetDlgItem(IDC_CLAVE)->SetFocus();
  GetDlgItem(IDC_CUENTA)->SetWindowText(m_cuenta);
  
  return FALSE;  // return TRUE unless you set the focus to a control
  // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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