From d9a3310323b9f8767ade1a115239577ea8772c17 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 08 七月 2024 22:05:12 +0800
Subject: [PATCH] total win

---
 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