From 97e2acb59314e2ca4bee55abc9571c1c5045f73d Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 18:20:38 +0800
Subject: [PATCH] update

---
 jrj/xframe/xcontrol/xcombobox.hpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/jrj/xframe/xcontrol/xcombobox.hpp b/jrj/xframe/xcontrol/xcombobox.hpp
index fc2f128..4b7cafd 100644
--- a/jrj/xframe/xcontrol/xcombobox.hpp
+++ b/jrj/xframe/xcontrol/xcombobox.hpp
@@ -16,6 +16,12 @@
         return *this;
     }
 public:
+    static int GetCurSel(HWND hWnd)
+    {
+        int CB_GETCURSEL_ = 0x0147;
+        return SendMessage(hWnd, CB_GETCURSEL_, 0, 0);
+    }
+
     int GetCurSel()
     {
         int CB_GETCURSEL_  = 0x0147;

--
Gitblit v1.9.3