In my code I set the window state to esriDockLeft like this: IDockableWindow theWindow = ArcMap.DockableWindowManager.GetDockableWindow(dockWinID);
theWindow.Dock(esriDockFlags.esriDockLeft);
How can I determine the window state? I want to know if it is esriDockLeft.