From 4161b991dc09760ea8ed92ba840099f4102dc5e2 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期三, 22 十月 2025 16:53:14 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
---
jrj/xframe/xcontrol/xcombobox.hpp | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/jrj/xframe/xcontrol/xcombobox.hpp b/jrj/xframe/xcontrol/xcombobox.hpp
index d7e5447..2bed6f1 100644
--- a/jrj/xframe/xcontrol/xcombobox.hpp
+++ b/jrj/xframe/xcontrol/xcombobox.hpp
@@ -16,7 +16,6 @@
return *this;
}
public:
-
int GetCurSel()
{
int CB_GETCURSEL_ = 0x0147;
@@ -151,6 +150,15 @@
return h;
}
+ int InsertString(string str, KXMLDOMElement p)
+ {
+ int CB_INSERTSTRING_ = 0x014A;
+ int h = SendMessage(GetHWND(), CB_INSERTSTRING_, 0, (LPARAM)str);
+
+ SetItemData(h, p);
+ return h;
+ }
+
int InsertString( string str, LPARAM p)
{
int CB_INSERTSTRING_ = 0x014A;
--
Gitblit v1.9.3