From 61229f5ac83185bf8f556d09872b012764a13dc9 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sat, 5 Apr 2008 21:53:51 +0000 Subject: [PATCH] Adding "SC_MONITORPOWER" and other new options to the "wParam" option list (e-mail from Ron Larkin, 3/17/08, 11:00 AM) git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@740 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/freeglut_main.c b/src/freeglut_main.c index 10604d0..1b75e7d 100644 --- a/src/freeglut_main.c +++ b/src/freeglut_main.c @@ -2240,6 +2240,17 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, case SC_HOTKEY : break ; +#if(WINVER >= 0x0400) + case SC_DEFAULT : + break ; + + case SC_MONITORPOWER : + break ; + + case SC_CONTEXTHELP : + break ; +#endif /* WINVER >= 0x0400 */ + default: #if _DEBUG fgWarning( "Unknown wParam type 0x%x", wParam ); -- 1.7.10.4