From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 17:50:35 +0800
Subject: [PATCH] base code

---
 jrj/project/business/BasicCode/CartermList.cpp |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/jrj/project/business/BasicCode/CartermList.cpp b/jrj/project/business/BasicCode/CartermList.cpp
index 01afbee..bea3f5c 100644
--- a/jrj/project/business/BasicCode/CartermList.cpp
+++ b/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;
 	}

--
Gitblit v1.9.3