| | |
| | | enum { IDD = IDD_DIALOG_AXIS_SETTINGS }; |
| | | #endif |
| | | |
| | | private: |
| | | void SetDefaultFont(); |
| | | void AdjustControls(int nWidth, int nHeight); |
| | | void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); |
| | | |
| | | private: |
| | | int m_nInitialWidth; |
| | | int m_nInitialHeight; |
| | | std::map<int, CFont*> m_mapFonts; // 管理字体的容器,键为字体大小 |
| | | |
| | | protected: |
| | | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 |
| | | virtual BOOL OnInitDialog(); |
| | |
| | | afx_msg void OnBnClickedButtonAxisTestJogSub(); |
| | | afx_msg void OnBnClickedButtonAxisTestStop(); |
| | | DECLARE_MESSAGE_MAP() |
| | | |
| | | private: |
| | | void AdjustControls(int nWidth, int nHeight); |
| | | void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); |
| | | |
| | | private: |
| | | int m_nInitialWidth; |
| | | int m_nInitialHeight; |
| | | }; |