标签:style blog io ar color os sp on div
// MapClientDlg.h : header file // #pragma once #include "OpenGLControl.h" #include "afxwin.h" #include "CSocket.h" // CMapClientDlg dialog class CMapClientDlg : public CDialogEx { // 变量定义 private: // 控件变量 COpenGLControl m_oglWindow; CStatic m_staticCoordinate; CButton m_btnTest; CButton m_setPose; CButton m_navTarget; // Construction public: CMapClientDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_MAPCLIENT_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; // 初始化对话框 virtual BOOL OnInitDialog(); // 调整布局 void AdjustLayout(); // 消息函数 afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnBnClickedButtonTest(); DECLARE_MESSAGE_MAP() public: // 设置坐标点到m_staticCoordinate文本框中 void SetCoordinate(float x, float y); CStatic m_staticMsg; CSocket m_topic; BOOL m_bConnect; };
标签:style blog io ar color os sp on div
原文地址:http://www.cnblogs.com/stemon/p/4164602.html