From 2fd87264ec85c9afbe4c813404c27e79f7be541d Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 09 七月 2024 19:59:32 +0800
Subject: [PATCH] update report
---
jrj/project/total3/ViewTotalWin.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/jrj/project/total3/ViewTotalWin.cpp b/jrj/project/total3/ViewTotalWin.cpp
index cfd1126..e8e4699 100644
--- a/jrj/project/total3/ViewTotalWin.cpp
+++ b/jrj/project/total3/ViewTotalWin.cpp
@@ -193,7 +193,7 @@
xstring colname = dw.GetColumnName(i);
if (str.find(L"!" + colname + L",L") >= 0)
{
- dw.SetColumnState(colname, false);
+ dw.SetColumnState((LPCTSTR)colname.c_str(), false);
}
}
return 1;
@@ -391,6 +391,8 @@
AttachEvent(L"dw_report", L"DWV_CLICKED", (FEvent)&ViewTotalWin::OnDWClick);
AttachEvent(L"dw_report", L"DWV_ROWFOCUSCHANGED", (FEvent)&ViewTotalWin::OnRowChanged);//绑定行更改触发事件OnRowChanged
AttachEvent(L"dw_report", xstring(0x400 + 81), (FEvent)&ViewTotalWin::OnRetrieveFinished);
+
+ return 1;
}
int OnRetrieve(xstring dataurl, xstring argstr)
--
Gitblit v1.9.3