📄 visepdlg.h
字号:
// VISEPDlg.h : header file
//
#if !defined(AFX_VISEPDLG_H__1FCC63F2_E7E8_43CB_986C_4D693CF5717F__INCLUDED_)
#define AFX_VISEPDLG_H__1FCC63F2_E7E8_43CB_986C_4D693CF5717F__INCLUDED_
#include "MyEndPoint.h"
#include "VideoWnd.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CVISEPDlg dialog
class CVISEPDlg : public CDialog
{
// Construction
public:
CVISEPDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CVISEPDlg();
void Output(LPCTSTR str,...);
void Output(UINT nID,...);
void OnReceiveNonStandardMsg(CString value);
void OnWaitForAnswer();
void OnTalking();
void OnCallEnded(DWORD duration,enum CallEndReason reason);
void OnAnswerCall(DWORD connID);
void UpdateButtons(BOOL initState=FALSE);
CMyEndPoint* m_pep;
CStatusBarCtrl m_statusBar;
CProgressCtrl m_micVolume;
CProgressCtrl m_spkVolume;
CVideoWnd m_remoteVideo;
CVideoWnd m_localVideo;
protected:
BOOL InitEndPoint();
DWORD m_connID;
CBrush m_brush;
// Dialog Data
//{{AFX_DATA(CVISEPDlg)
enum { IDD = IDD_VISEP_DIALOG };
CComboBox m_ctlTalkTo;
CListCtrl m_memberList;
CString m_msg;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVISEPDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CVISEPDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAboutbox();
afx_msg void OnClose();
afx_msg void OnCall();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnAnswer();
afx_msg void OnRefresh();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnSend();
afx_msg void OnLocalVideo();
afx_msg void OnRemoteVideo();
afx_msg void OnItemchangedMemberList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAudio();
afx_msg void OnVideo();
afx_msg void OnNetwork();
afx_msg void OnGatekeeper();
afx_msg void OnLogin();
afx_msg void OnLogout();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VISEPDLG_H__1FCC63F2_E7E8_43CB_986C_4D693CF5717F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -