?? waipcdlg.h
字號:
// WAIPCDlg.h : header file
//
#if !defined(AFX_WAIPCDLG_H__788D304B_7C97_4304_B4ED_983F21C7F9B3__INCLUDED_)
#define AFX_WAIPCDLG_H__788D304B_7C97_4304_B4ED_983F21C7F9B3__INCLUDED_
#include "PortDlg.h" // Added by ClassView
#include "HMTSocket.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CWAPICDlg dialog
typedef struct{
char m_strName[255]; //客戶名字;
char m_strAction[255];//當前操作;
BOOL m_bOnline; //客戶是否在線;
BOOL m_bAngular; //是否是角度制;
double m_dbData; //數據;
}_DATA;
class CWAPICDlg : public CDialog
{
// Construction
public:
LPCTSTR m_Name;
unsigned int nPort;
LPCTSTR strAddr;
CPortDlg m_PortDlg;
_DATA m_data;
CMTSocket m_Sock;
CWAPICDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWAPICDlg)
enum { IDD = IDD_WAIPC_DIALOG };
CButton m_Angular;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWAPICDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CWAPICDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDestroy();
afx_msg void OnCal();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WAIPCDLG_H__788D304B_7C97_4304_B4ED_983F21C7F9B3__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -