Partager via


VisWindowStates Constants

Visio Automation Reference

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.

visWSDockedLeft

&H1

Window is docked at the left.

visWSDockedRight

&H4

Window is docked at the right.

visWSDockedTop

&H2

Window is docked at the top.

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.