LiFan
2024-10-23 9f2becd15f9ec5aff1b8c1e7a618df2dc543288d
jrj/project/total3/ViewTotalWin.cpp
@@ -15,11 +15,12 @@
{
public:
   ViewTotalWin(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
public:
   static ViewTotalWin* CreateInstance(void* implPtr, void* hWnd)
   {
      return new ViewTotalWin(implPtr, (HWND)hWnd);
   }
public:
   xdwgrid   dw_list;
   xoffice    dw_office;
   xcell      dw_cell;
@@ -118,7 +119,7 @@
            Content = t.selectSingleNode(L"Content").text();
         }
         xaserverarg arg1 ;
         xaserverarg arg1 =GetArg();
         arg1.AddArg(L"value", Content);
         OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg1);
         return 1;
@@ -135,7 +136,7 @@
            if (argUrl != L"")
            {
               xaserverarg ar ;
               ar.setNativePointer(ar.CreateInstance());
               //ar.setNativePointer(ar.CreateInstance());
               ar.AddArg(L"argurl", argUrl);
               if (argStr != L"")
                  ar.AddArg(L"arg", argStr);
@@ -191,7 +192,7 @@
      for (int i = 1; i < dw.GetColumnCount(); i++)
      {
         xstring colname = dw.GetColumnName(i);
         if (str.find(L"!" + colname + L",L") >= 0)
         if (str.find(L"!" + colname + L",") >= 0)
         {
            dw.SetColumnState((LPCTSTR)colname.c_str(), false);
         }
@@ -494,7 +495,7 @@
         {
            KXMLDOMElement rpt = nlist.item(i);
            xstring name = rpt.getAttribute(L"name");
            xc.AddItem( name, rpt);
            xc.AddItem( name, rpt.ptr());
            if (i == 0) xc.SetText(name);
            if (i == 0) rptEle = rpt;
         }