After implementing the minimize/exit buttons in my neuz and also disabling the //Pause code when being minimized my client still tends to disconnect after a few minutes. Any ideas what this can cause? I am working with a v15 base.
My code:
Code:
if( SIZE_MINIMIZED == wParam )
{
#ifdef __NONE_CUSTOM_CURSORs
if( m_bClipCursorWhenFullscreen && !m_bWindowed )
::ClipCursor( NULL );
#else
ClipCursor();
#endif
//if( m_bClipCursorWhenFullscreen && !m_bWindowed )
// ClipCursor( NULL );
#ifdef __ZHICHIZUIXIAOHUA
//Pause(true); // Pause while we're minimized - disabled
#endif //__ZHICHIZUIXIAOHUA
m_bActive = false;
m_bMinimized = true;
m_bMaximized = false;
}






