diff --git a/VisualC/SDLmain/SDLmain_VS2010.vcxproj b/VisualC/SDLmain/SDLmain_VS2010.vcxproj
index 1980b271a..5d3b0831e 100644
--- a/VisualC/SDLmain/SDLmain_VS2010.vcxproj
+++ b/VisualC/SDLmain/SDLmain_VS2010.vcxproj
@@ -1,164 +1,164 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- SDL2main
- {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
-
-
-
- StaticLibrary
- false
-
-
- StaticLibrary
- false
-
-
- StaticLibrary
- false
- MultiByte
-
-
- StaticLibrary
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>10.0.30319.1
- $(SolutionDir)\$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- $(SolutionDir)\$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- $(SolutionDir)\$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- $(SolutionDir)\$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
-
- Level3
- true
- Default
- OldStyle
- false
-
-
- true
-
-
-
-
- X64
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
-
- Level3
- true
- Default
- OldStyle
- false
-
-
- true
-
-
-
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDebugDLL
-
-
- Level3
- true
- OldStyle
- Default
- false
-
-
- true
-
-
-
-
- X64
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDebugDLL
-
-
- Level3
- true
- OldStyle
- Default
- false
-
-
- true
-
-
-
-
-
-
-
-
-
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ SDL2main
+ {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
+
+
+
+ StaticLibrary
+ false
+
+
+ StaticLibrary
+ false
+
+
+ StaticLibrary
+ false
+ MultiByte
+
+
+ StaticLibrary
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ $(SolutionDir)\$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ $(SolutionDir)\$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ $(SolutionDir)\$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ $(SolutionDir)\$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ true
+ Default
+ OldStyle
+ false
+
+
+ true
+
+
+
+
+ X64
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ true
+ Default
+ OldStyle
+ false
+
+
+ true
+
+
+
+
+
+ Disabled
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreadedDebugDLL
+
+
+ Level3
+ true
+ OldStyle
+ Default
+ false
+
+
+ true
+
+
+
+
+ X64
+
+
+ Disabled
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreadedDebugDLL
+
+
+ Level3
+ true
+ OldStyle
+ Default
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/video/windows/wmmsg.h b/src/video/windows/wmmsg.h
index ea4639630..cf373bc2b 100644
--- a/src/video/windows/wmmsg.h
+++ b/src/video/windows/wmmsg.h
@@ -193,11 +193,11 @@ char *wmtab[] = {
"WM_NCMBUTTONUP",
"WM_NCMBUTTONDBLCLK",
"UNKNOWN (170)",
- "UNKNOWN (171)",
- "UNKNOWN (172)",
- "UNKNOWN (173)",
- "UNKNOWN (174)",
- "UNKNOWN (175)",
+ "WM_NCXBUTTONDOWN",
+ "WM_NCXBUTTONUP",
+ "WM_NCXBUTTONDBLCLK",
+ "WM_NCUAHDRAWCAPTION",
+ "WM_NCUAHDRAWFRAME",
"UNKNOWN (176)",
"UNKNOWN (177)",
"UNKNOWN (178)",