📄 dialring.h
字号:
#if !defined(AFX_DIALRING_H__56E81D21_E9D3_11D3_ACD3_00E098067266__INCLUDED_)
#define AFX_DIALRING_H__56E81D21_E9D3_11D3_ACD3_00E098067266__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialRing.h : header file
//
#define WM_RASDIALEVENTARRIVED WM_USER+799
/////////////////////////////////////////////////////////////////////////////
// CDialRing dialog
class CDialDlg;
class CDialRing : public CDialog
{
// Construction
public:
BOOL IsQuit;
BOOL DivertLineCall();
HRASCONN hRasConn;
BOOL m_bDirection;
int m_iIconType;
CDialRing(CWnd* pParent = NULL); // standard constructor
CDialDlg* m_pDialDlg;
BOOL RasDialUp();
static VOID CALLBACK RasDialFunc( UINT unMsg, RASCONNSTATE rasconnstate, DWORD dwError );
static UINT DivertLineCallThread(LPVOID pParam);
UINT ProcessDialEventArrived(WPARAM wParam,LPARAM lParam);
CTapiConnection* m_ptapiObj;
HANDLE m_hDialUp;
CWinThread* m_pThread;
// Dialog Data
//{{AFX_DATA(CDialRing)
enum { IDD = IDD_DIALING };
CStatic m_cDialingIcon;
CString m_cStatus;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialRing)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
BOOL m_bInHangupCall;
int m_Timer;
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDialRing)
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnPaint();
virtual void OnCancel();
afx_msg void OnNcDestroy();
//}}AFX_MSG
afx_msg UINT OnDialEventArrived(WPARAM wParam,LPARAM lParam);
afx_msg UINT OnDialMessageReceived(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_DIALRING_H__56E81D21_E9D3_11D3_ACD3_00E098067266__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -