EgtExecutor 1.8b6 :
- aggiunta impostazione handle finestra principale dell'exe per dialoghi della dll.
This commit is contained in:
@@ -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&
|
||||
|
||||
Reference in New Issue
Block a user