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

📄 registerdlg.h

📁 仿QQ的聊天程序vc++/mfc来学习的简易聊天室代码功能较全
💻 H
字号:
#if !defined(AFX_REGISTERDLG_H__22830FE1_511D_11D5_B136_CFA2365E9C00__INCLUDED_)
#define AFX_REGISTERDLG_H__22830FE1_511D_11D5_B136_CFA2365E9C00__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RegisterDlg.h : header file
//
#include "bmpcombox.h"

class CClientApp; 
/////////////////////////////////////////////////////////////////////////////
// CRegisterDlg dialog

class CRegisterDlg : public CDialog
{
// Construction
public:
	CRegisterDlg(CWnd* pParent = NULL);   // standard constructor
	CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};

	CString m_strServerIP;
	UINT m_uServerPort;
// Dialog Data
	//{{AFX_DATA(CRegisterDlg)
	enum { IDD = IDD_REGISTER };
	CEdit	m_province;
	CEdit	m_city;
	CEdit	m_country;
	CBmpComBox	m_headbmp;
	CComboBox	m_sex;
	CEdit	m_pwd1;
	CEdit	m_pwd;
	CEdit	m_name;
	CButton	m_allowall;
	CButton m_needcheck;
	CButton m_notallow;
	CEdit	m_age;
	//}}AFX_DATA
	DWORD m_uServerIP;
	DWORD m_uUserID;	
	CString m_strPassword;
	BOOL m_bApplyID;
	CMsgPerson msg;
	HICON hIcon;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRegisterDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRegisterDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	afx_msg LRESULT OnRecvMsg(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REGISTERDLG_H__22830FE1_511D_11D5_B136_CFA2365E9C00__INCLUDED_)

⌨️ 快捷键说明

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