From 5f5f04da3e12f46244ead34b5085fa29c0f217b6 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 26 六月 2024 18:36:01 +0800
Subject: [PATCH] 代码提交
---
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