?? pictalkdlg.h
字號(hào):
// pictalkDlg.h : header file
//
#if !defined(AFX_PICTALKDLG_H__FBBB81A2_3CC6_4459_BAC6_2A5ADDD7945F__INCLUDED_)
#define AFX_PICTALKDLG_H__FBBB81A2_3CC6_4459_BAC6_2A5ADDD7945F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#define IDD_DIALOG_SENTEN 147
#include "Net.h"
#include "MyEdit.h"
#include "UserInfo.h"
#include "PicWnd.h"
//#include "ShowSen.h"
#define IDD_PICTALK_DIALOG 102
//class CUserInfo;
class CShowSen;
class CShowInfo;
/////////////////////////////////////////////////////////////////////////////
// CPictalkDlg dialog
class CPictalkDlg : public CDialog
{
// Construction
public:
BOOL IsUser(UINT uID);
void Connected();
void AddSenten(CString &str);
void StopLink();
void SingleMsg(int nCom);
void Move(UINT dir);
UINT m_MainUser;
CStringArray m_SenList;
int m_time;
CPicWnd m_PicWnd;
CShowSen * m_pShowSen;
CShowInfo * m_pShowInfo;
// CArray<mpack,mpack> m_MsgArray;
void DelUser(mcom &Msgcom);
void SendOut();
void GetID(mcom &Msgcom);
POSITION UserInfo(mpack &Msgpack,POSITION pos);
UINT m_UserCount;
CPtrList m_pUserList;
void SendUser();
void AddUser(mcom &Msgcom);
CUserInfo * m_pUser;
void CheckMsg(mpack & Msgpack);
BOOL m_bConnected;
BOOL m_bSendOut;
CString m_RoomName;
int m_contype;
CString m_IP;
UINT m_PortAddress;
CPictalkDlg(CWnd* pParent = NULL); // standard constructor
void SendMsg(mpack &Msgpack);
void ShowMsg(mcom &Msgcom);
CNet * m_pNet;
CMyEdit * m_pMyEdit;
CPicWnd * m_pPW;
CCriticalSection m_cs;
CMap<UINT,UINT,CUserInfo *,CUserInfo *> m_MapUser;
// Dialog Data
//{{AFX_DATA(CPictalkDlg)
enum { IDD = IDD_PICTALK_DIALOG };
CEdit m_InfoSet;
CString m_Sendinfo;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPictalkDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPictalkDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnInfoSend();
afx_msg void OnMenuLink();
afx_msg void OnMenuStop();
afx_msg void OnMenuServer();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnBkColor();
afx_msg void OnFontColor();
afx_msg void OnButtonAngry();
afx_msg void OnButtonCry();
afx_msg void OnButtonSit();
afx_msg void OnAcceptMessage(UINT nID, LPARAM param);
afx_msg void OnButtonSmile();
afx_msg void OnButtonHello();
afx_msg void OnButtonSen();
afx_msg LRESULT OnDlgSenClose(WPARAM wParam,LPARAM param);
afx_msg LRESULT OnDlgInfoClose(WPARAM wParam,LPARAM param);
afx_msg void OnChangeTalk();
afx_msg void OnButtonShowinfo();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnConnectOver(UINT nID, LPARAM param);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PICTALKDLG_H__FBBB81A2_3CC6_4459_BAC6_2A5ADDD7945F__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -