Inspector Object Members

Outlook Developer Reference

Represents the window in which an Outlook item is displayed.

Methods

  Name Description
Bb176679.methods(en-us,office.12).gif Activate Activates an inspector window by bringing it to the foreground and setting keyboard focus.
Bb176679.methods(en-us,office.12).gif Close Closes the Inspector and optionally saves changes to the displayed Outlook item.
Bb176679.methods(en-us,office.12).gif Display Displays a new Inspector object for the item.
Bb176679.methods(en-us,office.12).gif HideFormPage Hides a form page in the inspector.
Bb176679.methods(en-us,office.12).gif IsWordMail Determines whether the mail message associated with an inspector is displayed in an Outlook Inspector or in Microsoft Word.
Bb176679.methods(en-us,office.12).gif NewFormRegion Opens a new page in design mode in the inspector for a new form region.
Bb176679.methods(en-us,office.12).gif OpenFormRegion Opens a page in design mode in the inspector for the specified form region.
Bb176679.methods(en-us,office.12).gif SaveFormRegion Saves the specified page in design mode in the inspector to the specified file.
Bb176679.methods(en-us,office.12).gif SetControlItemProperty Binds an Outlook object model property to a control in an inspector.
Bb176679.methods(en-us,office.12).gif SetCurrentFormPage Displays the specified form page in the inspector.
Bb176679.methods(en-us,office.12).gif ShowFormPage Shows a form page in the inspector.

Properties

  Name Description
Bb176679.properties(en-us,office.12).gif Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Bb176679.properties(en-us,office.12).gif Caption Returns a String representing the title. Read-only.
Bb176679.properties(en-us,office.12).gif Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Bb176679.properties(en-us,office.12).gif CommandBars Returns a CommandBars collection that represents all the menus and toolbars in the Inspector. Read-only.
Bb176679.properties(en-us,office.12).gif CurrentItem Returns an Object representing the current item being displayed in the inspector. Read-only.
Bb176679.properties(en-us,office.12).gif EditorType Returns an OlEditorType constant indicating the type of editor. Read-only.
Bb176679.properties(en-us,office.12).gif Height Returns or sets a Long specifying the height (in pixels) of the inspector window. Read/write.
Bb176679.properties(en-us,office.12).gif 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.
Bb176679.properties(en-us,office.12).gif ModifiedFormPages Returns the Pages collection that represents all the pages for the item in the inspector. Read-only.
Bb176679.properties(en-us,office.12).gif Parent Returns the parent Object of the specified object. Read-only.
Bb176679.properties(en-us,office.12).gif Session Returns the NameSpace object for the current session. Read-only.
Bb176679.properties(en-us,office.12).gif 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.
Bb176679.properties(en-us,office.12).gif Width Returns or sets a Long indicating the width (in pixels) of the specified object. Read/write.
Bb176679.properties(en-us,office.12).gif 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.
Bb176679.properties(en-us,office.12).gif WordEditor Returns the Microsoft Word Document Object Model of the message being displayed. Read-only.

Events

  Name Description
Bb176679.events(en-us,office.12).gif Activate Occurs when an inspector becomes the active window, either as a result of user action or through program code.
Bb176679.events(en-us,office.12).gif BeforeMaximize Occurs when an inspector is maximized by the user. This event can be cancelled after it has started.
Bb176679.events(en-us,office.12).gif BeforeMinimize Occurs when the active inspector is minimized by the user. This event can be cancelled after it has started.
Bb176679.events(en-us,office.12).gif BeforeMove Occurs when the Inspector is moved by the user. This event can be cancelled after it has started.
Bb176679.events(en-us,office.12).gif 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.
Bb176679.events(en-us,office.12).gif Close Occurs when the inspector associated with a Microsoft Outlook item is being closed.
Bb176679.events(en-us,office.12).gif 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).
Bb176679.events(en-us,office.12).gif PageChange Occurs when the active form page changes, either programmatically or by user action, on an Inspector object.