Inspector Object Members
Outlook Developer Reference |
Represents the window in which an Outlook item is displayed.
Methods
Name | Description | |
---|---|---|
Activate | Activates an inspector window by bringing it to the foreground and setting keyboard focus. | |
Close | Closes the Inspector and optionally saves changes to the displayed Outlook item. | |
Display | Displays a new Inspector object for the item. | |
HideFormPage | Hides a form page in the inspector. | |
IsWordMail | Determines whether the mail message associated with an inspector is displayed in an Outlook Inspector or in Microsoft Word. | |
NewFormRegion | Opens a new page in design mode in the inspector for a new form region. | |
OpenFormRegion | Opens a page in design mode in the inspector for the specified form region. | |
SaveFormRegion | Saves the specified page in design mode in the inspector to the specified file. | |
SetControlItemProperty | Binds an Outlook object model property to a control in an inspector. | |
SetCurrentFormPage | Displays the specified form page in the inspector. | |
ShowFormPage | Shows a form page in the inspector. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the parent Outlook application for the object. Read-only. | |
Caption | Returns a String representing the title. Read-only. | |
Class | Returns an OlObjectClass constant indicating the object's class. Read-only. | |
CommandBars | Returns a CommandBars collection that represents all the menus and toolbars in the Inspector. Read-only. | |
CurrentItem | Returns an Object representing the current item being displayed in the inspector. Read-only. | |
EditorType | Returns an OlEditorType constant indicating the type of editor. Read-only. | |
Height | Returns or sets a Long specifying the height (in pixels) of the inspector window. Read/write. | |
Left | Returns or sets a Long specifying the position (in pixels) of the left vertical edge of an inspector window from the edge of the screen. Read/write. | |
ModifiedFormPages | Returns the Pages collection that represents all the pages for the item in the inspector. Read-only. | |
Parent | Returns the parent Object of the specified object. Read-only. | |
Session | Returns the NameSpace object for the current session. Read-only. | |
Top | Returns or sets a Long indicating the position (in pixels) of the top horizontal edge of an inspector window from the edge of the screen. Read/write. | |
Width | Returns or sets a Long indicating the width (in pixels) of the specified object. Read/write. | |
WindowState | Returns or sets the property with a constant in the OlWindowState enumeration specifying the window state of an explorer or inspector window. Read/write. | |
WordEditor | Returns the Microsoft Word Document Object Model of the message being displayed. Read-only. |
Events
Name | Description | |
---|---|---|
Activate | Occurs when an inspector becomes the active window, either as a result of user action or through program code. | |
BeforeMaximize | Occurs when an inspector is maximized by the user. This event can be cancelled after it has started. | |
BeforeMinimize | Occurs when the active inspector is minimized by the user. This event can be cancelled after it has started. | |
BeforeMove | Occurs when the Inspector is moved by the user. This event can be cancelled after it has started. | |
BeforeSize | Occurs when the user sizes the current Inspector. This event can be cancelled after it has started. If the event is cancelled, the window is not sized. | |
Close | Occurs when the inspector associated with a Microsoft Outlook item is being closed. | |
Deactivate | Occurs when an inspector stops being the active window, either as a result of user action or through program code. This event is not available in Microsoft Visual Basic Scripting Edition (VBScript). | |
PageChange | Occurs when the active form page changes, either programmatically or by user action, on an Inspector object. |