From 47180b84a17b15c976b96343449cc5747f9c14f7 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期六, 14 九月 2024 19:31:44 +0800 Subject: [PATCH] update --- jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp b/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp index 828153e..2127cef 100644 --- a/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp +++ b/jrj/xframe/vbusiness/vframe/listwin.vframe.vbusiness.hpp @@ -18,7 +18,9 @@ int m_pageNumber; listEx* m_listEx; - listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){} + listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){ + this->SetArg(); + } xstring GetEntityWorkNode(/*param*/LPARAM pr, xstring what) { @@ -39,7 +41,7 @@ return L""; } - string GetEntityIDName(/*param*/int pr) + string GetEntityIDName(/*param*/LPARAM pr) { if (m_configDoc) { @@ -404,13 +406,13 @@ return 1; } - virtual int PreOnCmdDispatch(string comdid) + virtual int PreOnCmdDispatch(xstring comdid) { //返回0——不在执行以下代码;返回其他——执行以下代码。 return 1; } - virtual int PostOnCmdDispatch(string comdid) + virtual int PostOnCmdDispatch(xstring comdid) { // trace("test"); return 1; @@ -766,7 +768,7 @@ KXMLDOMElement e = n; //trace("m_configDoc//list/dwview[@type='dwgrid'][1]="+e.xml); xstring vface = m_configDoc.selectSingleNode(L"//vface[1]").text(); - xstring dwname = L"";//e.selectsingleNode("@name").text; + string dwname = L"";//e.selectsingleNode("@name").text; xstring tpl = GetTemplateUrl();//e.selectsingleNode("@url").text; xstring selectmode = L"4"; if (e.selectSingleNode(L"@name")) dwname = e.selectSingleNode(L"@name").text(); -- Gitblit v1.9.3