| | |
| | | } |
| | | /*int SetAgent() |
| | | { |
| | | string xfNodeAgentArea = L"agentarea"; |
| | | xstring xfNodeAgentArea = L"agentarea"; |
| | | xnode anode = GetAgentNode(xfNodeAgentArea); |
| | | if(m_agentNode) |
| | | { |
| | |
| | | msxml::IXMLDOMElement agent = xframeElement.selectSingleNode(L"agent/"+xfNodeAgentArea+L"[1]/*"); |
| | | if(agent) |
| | | { |
| | | string s = agent.xml; |
| | | xstring s = agent.xml; |
| | | m_agentNode = SetAgentNodeContent (anode,s); |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | //命令发布函数 |
| | | int OnCmdDispatch(string comdid) |
| | | int OnCmdDispatch(xstring comdid) |
| | | { |
| | | if (comdid == L"xmOk") |
| | | { |
| | |
| | | if (GetWinParam()) |
| | | { |
| | | arg = GetArg(); |
| | | string dw = arg.GetArgString(L"argurl"); |
| | | xstring dw = arg.GetArgString(L"argurl"); |
| | | dw_arg.openUrl(dw); |
| | | |
| | | dw_arg.SetColHeaderHeight(0); |
| | |
| | | dw_arg.SetHScrollState(false); |
| | | dw_arg.SetVScrollState(false); |
| | | |
| | | string d = arg.GetArgString(L"arg"); |
| | | xstring d = arg.GetArgString(L"arg"); |
| | | if (d != L"") |
| | | { |
| | | xml x ; |