EgtExecutor 1.8b6 :

- aggiunta impostazione handle finestra principale dell'exe per dialoghi della dll.
This commit is contained in:
Dario Sassi
2017-02-27 10:19:47 +00:00
parent 7a3cce8d59
commit 45c2e7a8b1
5 changed files with 28 additions and 5 deletions
+17
View File
@@ -44,6 +44,7 @@ static int s_nKeyType = KEY_LOCK_TYPE_ANY ;
static string s_sIniFile ;
static pfProcEvents s_pFunProcEvents = nullptr ;
static pfOutText s_pFunOutText = nullptr ;
static HWND s_hMainWnd = nullptr ;
//-----------------------------------------------------------------------------
bool
@@ -427,6 +428,22 @@ ExeOutText( const string& sText)
return false ;
}
//-----------------------------------------------------------------------------
bool
ExeSetMainWindowHandle( HWND hMainWnd)
{
s_hMainWnd = hMainWnd ;
return true ;
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
HWND
ExeGetMainWindowHandle( void)
{
return s_hMainWnd ;
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
const string&