My Visual Studio 2010 was working fine this morning (I run in in XP sP3 under Paralles) I restarted the entire laptop and I started getting this error. I even uninstalled VS
This solution of changing any negative values to a positive value in the MainWindow registry entry also works for Microsoft SQL Server Management Studio - tested on v13.0.
HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\13.0\ MainWindow