From c8b640b00794a58316e7adeba91a16e5fcdca2f4 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期四, 27 六月 2024 16:05:21 +0800 Subject: [PATCH] this update tree data item --- jrj/project/vindexmenu.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jrj/project/vindexmenu.cpp b/jrj/project/vindexmenu.cpp index 6e711c9..0f135ac 100644 --- a/jrj/project/vindexmenu.cpp +++ b/jrj/project/vindexmenu.cpp @@ -458,9 +458,9 @@ int OnInitial() { - if(GetParam()) + if(GetWinParam()) { - xaserverarg& arg = *(xaserverarg*)GetParam(); + xaserverarg arg = GetArg(); m_nHwnd = (HWND)arg.GetParam(L"hwnd"); cbx_menu = (void*)arg.GetParam(L"memuId"); cbx_tab = (void*)arg.GetParam(L"tabNo"); @@ -475,6 +475,8 @@ int onload() { + SetArg(); + m_bCanDestroy = 1; tv_menu1 = GetControl(L"menu1"); -- Gitblit v1.9.3