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

📄 猩猩即时通dlg.h

📁 聊天室 可以群聊 exe文件图标可以在任务栏的通知区显示,
💻 H
字号:
// 猩猩即时通Dlg.h : header file
//

#if !defined(AFX_DLG_H__59C9AEA5_2EF0_468C_BC0B_C5B3033A40E9__INCLUDED_)
#define AFX_DLG_H__59C9AEA5_2EF0_468C_BC0B_C5B3033A40E9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "QuitStatic.h"
#include "MiniStatic.h"
#include "MyAbout.h"
#include "MyLogin.h"

#define WM_SHOWTASK WM_USER+101
#define WM_NETMSG WM_USER+102
#define ID_ENTER 99
#define ID_CTRLENTER 98
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
struct Agreement
{
	char myname[14];
	char mark[4];
	char contents[256];
	int numFace;
};

extern CString szPath;

class CMyDlg : public CDialog
{
// Construction
public:
	CMyDlg(CWnd* pParent = NULL);	// standard constructor
	~CMyDlg();

	bool bNext;
	CBitmap backMap;
	CRect windowRect;
	NOTIFYICONDATA tnd;

	CString name;
	int face;
	CString ip;

	SOCKET uniSocket;
	int len;

	bool bShow;
	bool bTimer;
	bool bKey;



	int markNumItem;

	CMenu myMenu;

	CImageList imageList;

public: //persion function
	void OnRequestConnect();

// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CButton	m_aboutButton;
	CButton	m_exchangeKey;
	CListCtrl	m_listCtrl;
	CRichEditCtrl	m_inputEdit;
	CRichEditCtrl	m_showEdit;
	CButton	m_sendButton;
	CQuitStatic	m_quit;
	CMiniStatic	m_mini;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnTaskBar(WPARAM wParam,LPARAM lParam);
	virtual void OnCancel();
	afx_msg void OnAbout();
	afx_msg void OnNetMsg(WPARAM wParam,LPARAM lParam);
	afx_msg	void OnSend();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButton1();
	afx_msg void OnEnter();
	afx_msg void OnCtrlEnter();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_H__59C9AEA5_2EF0_468C_BC0B_C5B3033A40E9__INCLUDED_)

⌨️ 快捷键说明

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