From 6c05d4f3d5e7cd966be24c7d0ab70e5aae51b614 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 09 七月 2024 16:10:50 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/project/vindexmenu.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/project/vindexmenu.cpp b/jrj/project/vindexmenu.cpp index 0a54c11..612ff34 100644 --- a/jrj/project/vindexmenu.cpp +++ b/jrj/project/vindexmenu.cpp @@ -187,10 +187,10 @@ int TPM_RIGHTBUTTON = 0x0002; int TPM_RETURNCMD = 0x0100; AppendMenuW(m,MF_STRING, 1, str); - xrect xr = { 0,0,0,0 }; + RECT xr = { 0,0,0,0 }; xpoint pt; GetCursorPos(pt); - return TrackPopupMenu (m, TPM_RIGHTBUTTON | TPM_RETURNCMD, pt.x, pt.y, 0, this->GetHandle(), xr); + return TrackPopupMenu (m, TPM_RIGHTBUTTON | TPM_RETURNCMD, pt.x, pt.y, 0, this->GetHandle(), &xr); } int OnRClicked(TEvent* evt,int p) -- Gitblit v1.9.3