From b7b9d28bb091bf673b4899f50fd28fa1214ac7a3 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 26 六月 2024 18:10:37 +0800 Subject: [PATCH] GDN --- 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