[GD-Windows] WM_SYSCOMMAND documentation question
Brought to you by:
vexxed72
From: Daniel V. <vo...@ep...> - 2003-06-09 15:23:08
|
The D3D sample applications return 1 in response to WM_SYSCOMMAND to prevent certain events from interfering with the app being fullscreen though I can't find any documention why 1 is returned. The MSDN docs state that 0 should be returned if the application handles WM_SYSCOMMAND so I'm wondering where the return value of 1 is documented. case WM_SYSCOMMAND: // Prevent moving/sizing and power loss in fullscreen mode switch( wParam ) { case SC_MOVE: case SC_SIZE: case SC_MAXIMIZE: case SC_KEYMENU: case SC_MONITORPOWER: if( false == m_bWindowed ) return 1; break; } break; Thanks, -- Daniel, Epic Games Inc. |