From 9a1a958cc97cdf47a38063500c36160183c7227e Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 25 四月 2025 16:42:51 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/CustomerMarketList.cpp | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/jrj/project/business/BasicCode/CustomerMarketList.cpp b/jrj/project/business/BasicCode/CustomerMarketList.cpp index 7c3a0fc..f0ebd9d 100644 --- a/jrj/project/business/BasicCode/CustomerMarketList.cpp +++ b/jrj/project/business/BasicCode/CustomerMarketList.cpp @@ -8,11 +8,12 @@ #include "viewobject/view.base.hpp" using xml = KXMLDOMDocument; -class __declspec(dllexport) CustomerMarketList : public xwin +class __declspec(dllexport) CustomerMarketList : public listwin { - public: - CustomerMarketList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} + xdwgrid dw_list; +public: + CustomerMarketList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} public: static CustomerMarketList* CreateInstance(void* implPtr, void* hWnd) { @@ -20,7 +21,7 @@ return pWin; } - int ViewUpdate(param pr, xstring updateItem, xaserverarg arg) + int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) { if (updateItem == L"del") { int DelRow = dw_list.GetRow(); @@ -30,8 +31,15 @@ } int onload() { - list::onload(); + SetAgent(); + listwin::onload(); + return -1; } + int onloaded() + { + return listwin::onloaded(); + } + }; \ No newline at end of file -- Gitblit v1.9.3