Provides access to members that query or modify a window's position, size and state.
Product Availability
Available with ArcGIS Desktop.
Members
| Description | ||
|---|---|---|
![]() |
Height | The height of the window. |
![]() |
Left | The distance between the internal left edge of the window and screen. |
![]() |
Move | Moves and optionally resizes the windows in a single function. |
![]() |
State | The state of the window. |
![]() |
Top | The distance between the internal top edge of the window and screen. |
![]() |
Width | The width of the window. |
CoClasses that implement IWindowPosition
| CoClasses and Classes | Description |
|---|---|
| Application (esriArcCatalog) | Esri ArcCatalog Application. |
| Application (esriArcGlobe) | Esri ArcGlobe Application. |
| Application (esriArcMap) | Esri ArcMap Application |
| Application (esriArcScene) | The 3D Modeling Application. |
| CommandBar | CommandBar object. |
| DockableWindow | DockableWindow object. |
| ModelessFrame | Object that implements a ModelessFrame. |
Remarks
The IWindowPosition interface has methods to move and resize a window. Any window object can implement this interface. All the ArcGIS application windows implement this interface.
[C#]
You can do a type cast from the application object to IWindowPosition.
IWindowPosition windowPos = app as IWindowPosition
[Visual Basic .NET]
You can do a type cast from the application object to IWindowPosition.
Dim windowPos As IWindowPosition
windowPos = CType(app, IWindowPosition)

