From f91b17fb69ff2d1a206c9e0bd7ad583c1f91eb3e Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 08 七月 2024 17:09:02 +0800
Subject: [PATCH] update filter
---
jrj/project/business/AP/maint.ap.cpp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/jrj/project/business/AP/maint.ap.cpp b/jrj/project/business/AP/maint.ap.cpp
index 02e4f58..ae45d3e 100644
--- a/jrj/project/business/AP/maint.ap.cpp
+++ b/jrj/project/business/AP/maint.ap.cpp
@@ -13,7 +13,7 @@
xstring APType;
xdwtable dw_base;
xnode m_agentNode; //Agent Condition
- int hObject = 0;
+ HWND hObject = 0;
public:
MaintAP(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
public:
@@ -115,7 +115,8 @@
dw_base.ResetUpdateStatus();
updateAdvance();
alert(L"保存成功!");
- SendMessage(hObject, 0x401, L"xmRefresh", 0);
+
+ SendMessage(hObject, 0x401, (LPARAM)L"xmRefresh", 0);
CloseWindow();
}
else
@@ -225,6 +226,7 @@
AttachEvent(L"dw_base", L"DWV_ITEMCHANGED", (FEvent)&MaintAP::OnItemChanged);
//获取焦点事件,用于重置工具条
AttachEvent(L"WM_SETFOCUS", (FEvent)&MaintAP::OnSetFocus);
+ return 1;
}
int OnRetrieve()
@@ -249,6 +251,7 @@
int onload()
{
+ SetArg();
APID = L"";
APType = L"";
if (GetWinParam())
--
Gitblit v1.9.3