VisWindowStates enumeration (Visio)
Window-state codes passed to and returned by the Window.WindowState property.
Constant | Value | Description |
---|---|---|
visWSActive | &H4000000 | Active window. |
visWSAnchorAutoHide | &H200 | Anchor window with AutoHide on. |
visWSAnchorBottom | &H100 | Window is anchored at the bottom. |
visWSAnchorLeft | &H20 | Window is anchored at the left. |
visWSAnchorMerged | &H400 | Window is merged. |
visWSAnchorRight | &H80 | Window is anchored at the right. |
visWSAnchorTop | &H40 | Window is anchored at the top. |
visWSDockedBottom | &H8 | Window is docked at the bottom. Not used for the Shapes window in Visio |
visWSDockedLeft | &H1 | Window is docked at the left. |
visWSDockedRight | &H4 | Window is docked at the right. |
visWSDockedTop | &H2 | Window is docked at the top. Not used for the Shapes window in Visio. |
visWSFloating | &H10 | Window is floating. |
visWSMaximized | &H40000000 | Window is maximized. |
visWSMinimized | &H20000000 | Window is minimized. |
visWSNone | &H0 | No window state. |
visWSRestored | &H10000000 | Window is restored. |
visWSVisible | &H8000000 | Window is visible. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.