Partager via


_Application.ActiveWindow Method

Returns an object representing the topmost Microsoft Outlook window on the desktop, either an Explorer or an Inspector object.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function ActiveWindow As Object
'Usage
Dim instance As _Application
Dim returnValue As Object

returnValue = instance.ActiveWindow()
[DispIdAttribute()]
Object ActiveWindow()

Return Value

Type: System.Object
An Object that represents the topmost Microsoft Outlook window on the desktop. Returns Nothing if no Outlook explorer or inspector is open.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Outlook Namespace