Determine state of add-in DockableWindow (esriDockFlags)

303
1
01-27-2011 10:31 AM
CraigPerreault
New Contributor II
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.
0 Kudos
1 Reply
JohnHauck
Occasional Contributor II
The following enhancement request has been logged regarding this issue:

NIM059964  Needs property or event to provide instantaneous placement information for dockable window when it is docked.

- IDockableWindow::State can tell whether the dockable window is docked or not.
- IDockableWindowInitialPlacement::DockPosition can only tell the initial placement of dockable windows

If possible please contact ESRI support and have your name added to the request.
0 Kudos