diff --git a/API_General.cpp b/API_General.cpp index cff80d5..9bcd94e 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -250,3 +250,10 @@ __stdcall EgtSetOutText( pfOutTextW pFun) s_pFunOutText = pFun ; return ( ExeSetOutText( (( pFun != nullptr) ? MyOutText : nullptr)) ? TRUE : FALSE) ; } + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetMainWindowHandle( HWND hMainWnd) +{ + return ( ExeSetMainWindowHandle( hMainWnd) ? TRUE : FALSE) ; +} diff --git a/EgtInterface.rc b/EgtInterface.rc index 3472479..668e8e2 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ