| | |
| | | |
| | | dw_list.Retrieve(doc); |
| | | dw_list.CreateTree((LPCWSTR)L"node()", 1, 15, 16); |
| | | |
| | | dw_list.Redraw(); |
| | | /* |
| | | dw_list.Redraw(); |
| | | dw_list.SetReadOnly(true); |
| | |
| | | { |
| | | xq = xq.replace(L"dev:xpage[", L""); |
| | | xq = xq.replace(L"]", L""); |
| | | xaserverarg args; |
| | | xaserverarg& args = *(xaserverarg*)para; |
| | | args.AddArg(L"_ModuelPage", xq); |
| | | //alert(args.GetString()); |
| | | OpenWindow(L"dev:xpage[vindexforold.vx]", args); |
| | |
| | | } |
| | | else |
| | | { |
| | | xaserverarg arg; |
| | | xaserverarg& arg = *(xaserverarg*)para; |
| | | n = doc.selectSingleNode(L"//resource[@vface!='' and @view!='']"); |
| | | if (n) |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int pr = pr1; |
| | | LPARAM pr = pr1; |
| | | xstring action = comdid.mid(comdid.find(L"action:", 0) + 7, 9999); |
| | | if (action == L"bill.delete" || action == L"bill.deleteEx") |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int pr = pr1; |
| | | LPARAM pr = pr1; |
| | | xstring action = comdid.mid(comdid.find(L"action:",0)+7,9999); |
| | | if(action == L"bill.delete" || action == L"bill.deleteEx") |
| | | { |
| | |
| | | return 0; |
| | | } |
| | | //trace(L"----1111----"); |
| | | if (doc.xml() == L"") |
| | | if ((xstring)doc.xml() == L"") |
| | | return -1; |
| | | |
| | | //trace(doc.xml()); |
| | |
| | | { |
| | | //alert(L"xxxxxxxxxxx"); |
| | | //SetAgent(); |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus); |
| | | //AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus); |
| | | //绑定工具条点击事件 |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&startvframevbusiness::OnXCommand); |
| | | //AttachEvent(L"WM_TIMER",OnTimer); |