VisWindowStates Constants

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 Microsoft Visio 2010.

visWSDockedLeft

&H1

Window is docked at the left.

visWSDockedRight

&H2

Window is docked at the right.

visWSDockedTop

&H10

Window is docked at the top. Not used for the Shapes window in Microsoft Visio 2010.

visWSFloating

&H40000000

Window is floating.

visWSMaximized

Window is maximized.

visWSMinimized

&H20000000

Window is minimized.

visWSNone

&H0

No window state.

visWSRestored

&H10000000

Window is restored.

visWSVisible

&H8000000

Window is visible.