From 918cf2c844f524641396e72c6ecebcc620c57813 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 18 十月 2024 10:23:34 +0800 Subject: [PATCH] update --- jrj/xframe/xcontrol/xlistview.hpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/jrj/xframe/xcontrol/xlistview.hpp b/jrj/xframe/xcontrol/xlistview.hpp index bd01730..78e6cd8 100644 --- a/jrj/xframe/xcontrol/xlistview.hpp +++ b/jrj/xframe/xcontrol/xlistview.hpp @@ -562,6 +562,11 @@ return InsertItem(GetHWND(),xIndex, label, pictureindex); } + int InsertItemEx(int xIndex, string label, int pictureindex , KXMLDOMElement data )//only the label and picture index need to be specified + { + return InsertItemEx(GetHWND(), xIndex, label, pictureindex, data.ptr()); + } + int InsertItemEx(int xIndex, string label, int pictureindex = 0,LPARAM data=0)//only the label and picture index need to be specified { return InsertItemEx(GetHWND(), xIndex, label, pictureindex , data); -- Gitblit v1.9.3