diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-13 21:38:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-13 21:38:10 +0000 |
commit | d4dee7be1d5eab19b2cee2d94bd1671abd3446a3 (patch) | |
tree | 518ecf756c59c46e34831eb58a3eb2d2aea7a6eb /include/m_gui.h | |
parent | a58d37d39c039e755e5b902d5556fe34338130bc (diff) |
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
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }
|