EgtExecutor 2.5a3 :
- aggiunta funzione ExeMessageBox.
This commit is contained in:
@@ -536,6 +536,18 @@ ExeGetEnableUI( void)
|
||||
return s_bEnableUI ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
ExeMessageBox( const string& sText, const string& sTitle, int nType)
|
||||
{
|
||||
int nRes = 0 ;
|
||||
if ( ExeGetEnableUI()) {
|
||||
HWND hTopWnd = ExeGetMainWindowHandle() ;
|
||||
nRes = MessageBox( hTopWnd, stringtoW( sText), stringtoW( sTitle), nType | MB_TASKMODAL) ;
|
||||
}
|
||||
return nRes ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetProcessEvents( pfProcEvents pFun)
|
||||
|
||||
Reference in New Issue
Block a user