Windows object (Visio)
Includes a Window object for a window that is open in the application.
To retrieve a Windows collection, use the Windows property of an Application object or a Window object.
The default property of a Windows collection is Item.
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this collection maps to the following types:
- Microsoft.Office.Interop.Visio.IVWindows.GetEnumerator() (to enumerate the Window objects)
- Microsoft.Office.Interop.Visio.IVWindows
- BeforeWindowClosed
- BeforeWindowPageTurn
- BeforeWindowSelDelete
- KeyDown
- KeyPress
- KeyUp
- MouseDown
- MouseMove
- MouseUp
- OnKeystrokeMessageForAddon
- QueryCancelWindowClose
- SelectionChanged
- ViewChanged
- WindowActivated
- WindowChanged
- WindowCloseCanceled
- WindowOpened
- WindowTurnedToPage
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.