xj qian
2024-07-17 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802
jrj/project/business/BasicCode/CartermList.cpp
@@ -8,7 +8,7 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) CartermList : public xwin
class __declspec(dllexport) CartermList : public listwin
{
public:
   xdwgrid   dw_list;
@@ -18,19 +18,14 @@
   static int dw_hWnd;
public:
   CartermList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   CartermList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
public:
   static CartermList* CreateInstance(void* implPtr, void* hWnd)
   {
      CartermList* pWin = new CartermList(implPtr, (HWND)hWnd);
      return pWin;
   }
   int alert(xstring str)
   {
      //win::MessageBox(GetHWND(),str,L"提示22:",0);
      TApp::alert(this, str);
      return 0;
   }
   xstring GetGuid() {
@@ -61,7 +56,7 @@
      dw_list.SetItemString(row, L"Type", L"7");
   }
   int ViewUpdate(param pr, xstring updateItem, xaserverarg   arg)
   int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg   arg)
   {
      if (updateItem == L"del")
      {
@@ -162,7 +157,7 @@
   int onload()
   {
      OnAttachEvent();
      list::onload();
      listwin::onload();
      dw_list.SetReadOnly(false);
      return -1;
   }