Attempt #2, cleaner! Please, kill this mouse pointer in True Full Screen before it drives me crazy.
In player.cpp, add the bolded lines.
m_hwnd = ::CreateWindowEx(windowflagsex, "VPPlayer", "Visual Pinball Player", windowflags, x, y, m_width, m_height, NULL, NULL, g_hinst, 0);
if (m_fFullScreen)
{ // blocks processes from taking focus away from our exclusive fullscreen app
::LockSetForegroundWindow(LSFW_LOCK);
::ShowCursor(FALSE);
}
And later, in WM_DESTROY case:
// modification to m_vedit of each table after playing them must be done here, otherwise VP will crash (WTF?!)
playedTable->RestoreLayers();
if (g_pplayer->m_fFullScreen)
{ // blocks processes from taking focus away from our exclusive fullscreen app
::LockSetForegroundWindow(LSFW_UNLOCK);
::ShowCursor(TRUE);
}