I enabled it in the interpreter project but forgot to make the same change in the template projects. In the Core.cpp file, find the "case WM_ACTIVATE:" block and add agk
::Paused() to it like so
case WM_ACTIVATE:
{
// if being made inactive and currently we are topmost temporarily remove topmost until we are active again.
if ( LOWORD(wParam) != WA_INACTIVE )
{
if ( g_bShouldBeTopMost ) ::SetWindowPos( g_hWnd, HWND_TOPMOST, 0,0,0,0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSENDCHANGING | SWP_NOSIZE );
agk::Resumed();
}
else
{
agk::MouseLeftButton( 0, 0 );
agk::MouseRightButton( 0, 0 );
agk::MouseMiddleButton( 0, 0 );
if ( g_bShouldBeTopMost ) ::SetWindowPos( g_hWnd, HWND_NOTOPMOST, 0,0,0,0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSENDCHANGING | SWP_NOSIZE );
agk::Paused();
}
agk::WindowMoved();
return DefWindowProc(hWnd, message, wParam, lParam);
}
I'll make this change to the template for the next version