From 2cd3e98d5d0bdf341d772b7e75869cd6f2b39280 Mon Sep 17 00:00:00 2001 From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com> Date: 星期三, 27 十一月 2024 09:40:09 +0800 Subject: [PATCH] 1. 监听按钮按下抬起事件 --- SourceCode/Bond/BondEq/View/AxisSettingsDlg.h | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/SourceCode/Bond/BondEq/View/AxisSettingsDlg.h b/SourceCode/Bond/BondEq/View/AxisSettingsDlg.h index 971ee59..bd1f4d6 100644 --- a/SourceCode/Bond/BondEq/View/AxisSettingsDlg.h +++ b/SourceCode/Bond/BondEq/View/AxisSettingsDlg.h @@ -83,6 +83,7 @@ protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔 virtual BOOL OnInitDialog(); + virtual BOOL PreTranslateMessage(MSG* pMsg); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnSizing(UINT fwSide, LPRECT pRect); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); @@ -100,14 +101,8 @@ afx_msg void OnBnClickedButtonAxisAnchorPoint5(); afx_msg void OnBnClickedButtonAxisTestOpr(); afx_msg void OnBnClickedButtonAxisTestStop(); - afx_msg void OnBnClickedJogAddDown(); - afx_msg void OnBnClickedJogAddUp(); - afx_msg void OnBnClickedJogSubDown(); - afx_msg void OnBnClickedJogSubUp(); afx_msg void OnSelchangeComboAxisName(); afx_msg void OnBnClickedButtonAxisSave(); afx_msg void OnTimer(UINT_PTR nIDEvent); - //afx_msg void OnLButtonDown(UINT nFlags, CPoint point); - //afx_msg void OnLButtonUp(UINT nFlags, CPoint point); DECLARE_MESSAGE_MAP() }; -- Gitblit v1.9.3