📄 ilsuserinfodlg.cpp
字号:
/*
VIS H.323 Video Conference System
--Sample for VIS H.323 DLL Library 2.1 Release
For more information,visit our homepage
[http://www.115studio.com]
or mail to us for tech support and bug report
[support@115studio.com]
2000-2004 115Studio
2004-04-05
*/
// ILSUserInfoDlg.cpp : implementation file
//
#include "stdafx.h"
#include "visconf.h"
#include "ILSUserInfoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CILSUserInfoDlg dialog
CILSUserInfoDlg::CILSUserInfoDlg(CWnd* pParent /*=NULL*/)
: CDialog(CILSUserInfoDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CILSUserInfoDlg)
m_city = _T("");
m_comment = _T("");
m_country = _T("");
m_email = _T("");
m_first_name = _T("");
m_ip = _T("");
m_last_name = _T("");
m_visible = FALSE;
m_UserType = -1;
//}}AFX_DATA_INIT
m_update=FALSE;
}
void CILSUserInfoDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CILSUserInfoDlg)
DDX_Control(pDX, IDC_USER_TYPE, m_comboUserType);
DDX_Text(pDX, IDC_CITY, m_city);
DDX_Text(pDX, IDC_COMMENT, m_comment);
DDX_Text(pDX, IDC_COUNTRY, m_country);
DDX_Text(pDX, IDC_EMAIL, m_email);
DDX_Text(pDX, IDC_FIRST_NAME, m_first_name);
DDX_Text(pDX, IDC_IP, m_ip);
DDX_Text(pDX, IDC_LAST_NAME, m_last_name);
DDX_Check(pDX, IDC_VISIBLE, m_visible);
DDX_CBIndex(pDX, IDC_USER_TYPE, m_UserType);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CILSUserInfoDlg, CDialog)
//{{AFX_MSG_MAP(CILSUserInfoDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CILSUserInfoDlg message handlers
BOOL CILSUserInfoDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
if(m_update)
{
GetDlgItem(IDC_EMAIL)->EnableWindow(FALSE);
GetDlgItem(IDC_COUNTRY)->EnableWindow(FALSE);
}
m_comboUserType.AddString("Personal");
m_comboUserType.AddString("Business");
m_comboUserType.AddString("Adult");
UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -