From d4dee7be1d5eab19b2cee2d94bd1671abd3446a3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Apr 2015 21:38:10 +0000 Subject: added CDlgBase::GetInst() method to detect dialog's module automatically git-svn-id: http://svn.miranda-ng.org/main/trunk@12797 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_gui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/m_gui.h b/include/m_gui.h index b71ae87ca2..e984743452 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -267,6 +267,7 @@ public: void Show(int nCmdShow = SW_SHOW); int DoModal(); + __forceinline HINSTANCE GetInst() const { return m_hInst; } __forceinline HWND GetHwnd() const { return m_hwnd; } __forceinline bool IsInitialized() const { return m_initialized; } __forceinline void SetParent(HWND hwnd) { m_hwndParent = hwnd; } -- cgit v1.2.3