From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/xframe/kobject/kdwgrid.hpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jrj/xframe/kobject/kdwgrid.hpp b/jrj/xframe/kobject/kdwgrid.hpp
index f44ac80..6f3877a 100644
--- a/jrj/xframe/kobject/kdwgrid.hpp
+++ b/jrj/xframe/kobject/kdwgrid.hpp
@@ -55,6 +55,7 @@
int SelectRow_(int nRow, bool bSelect = true) ;//选中单行
int SelectRow_(int sRow, int eRow, bool bSelect = true) ;//选中多行
int GetNextSelectRow_(int nStartRow) ; //得到下拉修改行
+ int GetPrevSelectRow(int nStartRow);
bool IsRowSelected_(int nRow) ; //判断行是否被选种
int SetSelectBkColor_(COLORREF color) ; //设置选择的背景颜色
int SetSelectionMode_(int nMode) ; //设置选择的模式//0 unselection 1 singleSelection 2 multiselection 3 multiselectionex
@@ -213,16 +214,14 @@
int SetColumnState(LPCTSTR column, bool state);
void SetDataToClip(LPCTSTR DataStr);
- int AcceptText() {
- return 1;
- };
+ int AcceptText_();
int ShowRowTo(int row);
int GetShowRow();
LPCTSTR GetTitleName(int col);
public:
int SetRowSort(LPTSTR colName, bool colOrder = true);
int SetClickEditFlag(bool f);
- int RedrawEx();
+ int Redraw();
bool SetRowMove(int row, int movecount);
int GetTreeRow(int row);
int GetTreeRowCount();
@@ -238,6 +237,8 @@
public:
void ResetRepeats();
void AddRepeats(wchar_t* colName);
+ public:
+ void ShowEditor();
};
}}
}}
--
Gitblit v1.9.3