Get the HWND of the VS window: HWnd of Visual Studio 2010
Capture the messages being sent to Visual Studio: C# - Capturing Windows Messages from a specific application
Then wait for a WM_SIZE message: http://msdn.microsoft.com/en-us/library/ms632646%28v=VS.85%29.aspx