From ca7bfcdac21b765d29d0045308d434dfd038b10c Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 04 九月 2024 16:16:56 +0800 Subject: [PATCH] update jarch --- jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp b/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp index 18eb1d6..58be1c6 100644 --- a/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp +++ b/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp @@ -12,9 +12,11 @@ { public: KXMLDOMDocument m_configDoc; - string m_EntityID; + xstring m_EntityID; - maint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} + maint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) { + this->SetArg(); + } xstring GetEntityWorkNode(LPARAM pr, xstring what) { if (m_configDoc) @@ -152,8 +154,8 @@ //trace(L"maint:"+index.toString()); //alert(L"xq.xml = "+d.GetXml()); //trace(L"xxx"); - string dwname = L"";//e.selectsingleNode(L"@name").text(); - string tpy = L"dwgrid"; + xstring dwname = L"";//e.selectsingleNode(L"@name").text(); + xstring tpy = L"dwgrid"; if (e.selectSingleNode(L"@name")) dwname = e.selectSingleNode(L"@name").text(); if (e.selectSingleNode(L"@type")) tpy = e.selectSingleNode(L"@type").text(); if (tpy == L"dwgrid") @@ -201,13 +203,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) { return 1; } @@ -486,7 +488,7 @@ e = nlist.item(index); //if(!e.selectSingleNode(L"@type")) continue; //alert(e.xml); - xstring xdwname = L"";//e.selectsingleNode(L"@name").text(); + string xdwname = L"";//e.selectsingleNode(L"@name").text(); xstring xtpl = L"";//e.selectsingleNode(L"@url").text(); xstring xtpy = L"dwgrid"; if (e.selectSingleNode(L"@name")) xdwname = e.selectSingleNode(L"@name").text(); -- Gitblit v1.9.3