From 302b2045dcde4687485c28eaa3bde3aaa2203bc7 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 30 五月 2025 16:44:36 +0800
Subject: [PATCH] 1.修复合并后的RC文件问题;
---
SourceCode/Bond/Servo/GridControl/GridCellButton.h | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/GridControl/GridCellButton.h b/SourceCode/Bond/Servo/GridControl/GridCellButton.h
new file mode 100644
index 0000000..ef4f410
--- /dev/null
+++ b/SourceCode/Bond/Servo/GridControl/GridCellButton.h
@@ -0,0 +1,28 @@
+#ifndef __GRID_CELL_BUTTON__
+#define __GRID_CELL_BUTTON__
+
+#include "GridCell.h"
+
+class CGridCellButton : public CGridCell
+{
+ friend class CGridCtrl;
+ DECLARE_DYNCREATE(CGridCellButton)
+
+public:
+ CGridCellButton(void);
+ virtual ~CGridCellButton(void);
+
+ void SetPushing(BOOL bPush) {m_bPushing = bPush;}
+
+public:
+ virtual BOOL Draw(CDC* pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd = TRUE);
+
+protected:
+ virtual void OnClick(CPoint PointCellRelative);
+ virtual void OnMouseLeave();
+
+protected:
+ CRect m_rect;
+ BOOL m_bPushing;
+};
+#endif
--
Gitblit v1.9.3