summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-24 14:20:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-24 14:20:47 +0000
commit48b4416cd73a0a6ff5cd83e448d4eab11b200224 (patch)
tree19a21432c3bf6f1cbd49e5e176e04d0914643799 /include/m_gui.h
parentd9ae8968ec63cdfda5005143d2458f9ce824c427 (diff)
CDlgBase::Find() - useful helper for searching window classes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index c85d53dd29..3e3d783fb1 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -273,6 +273,8 @@ public:
__forceinline void SetParent(HWND hwnd) { m_hwndParent = hwnd; }
__forceinline void Close() { SendMessage(m_hwnd, WM_CLOSE, 0, 0); }
+ static CDlgBase* Find(HWND hwnd);
+
protected:
HWND m_hwnd; // must be the first data item
HINSTANCE m_hInst;