Gets a reference to a Window object that represents the currently active window.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
Using the ActiveWindow property, you can gain immediate access to the window that is currently being viewed by the user, and then use the properties and methods of the Window object that it returns.
This member can be accessed without restrictions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.