?? 猩猩即時通dlg.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 + -