From 66f0b6533137599d69bee08fbc3f6f8865aec75e Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 12 九月 2024 11:23:02 +0800
Subject: [PATCH] update
---
jrj/project/total3/ViewTotalWin.cpp | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/jrj/project/total3/ViewExTotalWin.cpp b/jrj/project/total3/ViewTotalWin.cpp
similarity index 93%
rename from jrj/project/total3/ViewExTotalWin.cpp
rename to jrj/project/total3/ViewTotalWin.cpp
index b2c2f14..e74b37f 100644
--- a/jrj/project/total3/ViewExTotalWin.cpp
+++ b/jrj/project/total3/ViewTotalWin.cpp
@@ -11,14 +11,14 @@
using xml = KXMLDOMDocument;
-class __declspec(dllexport) ViewExTotalWin : public xwin
+class __declspec(dllexport) ViewTotalWin : public xwin
{
public:
- ViewExTotalWin(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+ ViewTotalWin(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
public:
- static ViewExTotalWin* CreateInstance(void* implPtr, void* hWnd)
+ static ViewTotalWin* CreateInstance(void* implPtr, void* hWnd)
{
- return new ViewExTotalWin(implPtr, (HWND)hWnd);
+ return new ViewTotalWin(implPtr, (HWND)hWnd);
}
public:
xdwgrid dw_list;
@@ -119,7 +119,7 @@
Content = t.selectSingleNode(L"Content").text();
}
- xaserverarg arg1 ;
+ xaserverarg arg1 =GetArg();
arg1.AddArg(L"value", Content);
OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg1);
return 1;
@@ -385,13 +385,13 @@
int OnAttachEvent()
{
//绑定工具条点击事件
- AttachEvent(L"WM_XCOMMAND", (FEvent)&ViewExTotalWin::OnXCommand);
+ AttachEvent(L"WM_XCOMMAND", (FEvent)&ViewTotalWin::OnXCommand);
//获取焦点事件,用于重置工具条
- AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewExTotalWin::OnSetFocus);
- AttachEvent(L"cb_report", L"CBN_SELCHANGE", (FEvent)&ViewExTotalWin::OnCombboChanged);
- AttachEvent(L"dw_report", L"DWV_CLICKED", (FEvent)&ViewExTotalWin::OnDWClick);
- AttachEvent(L"dw_report", L"DWV_ROWFOCUSCHANGED", (FEvent)&ViewExTotalWin::OnRowChanged);//绑定行更改触发事件OnRowChanged
- AttachEvent(L"dw_report", xstring(0x400 + 81), (FEvent)&ViewExTotalWin::OnRetrieveFinished);
+ AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewTotalWin::OnSetFocus);
+ AttachEvent(L"cb_report", L"CBN_SELCHANGE", (FEvent)&ViewTotalWin::OnCombboChanged);
+ 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;
}
@@ -400,7 +400,7 @@
{
if (!rptEle) return 0;
if (dataretrieveing) return -1;
- //dw_list.Reset();
+ dw_list.Reset();
xml x ;
xaserverarg arg ;
--
Gitblit v1.9.3