Balloon Interface

Definition

Represents the balloon where the Office Assistant displays information.

public interface class Balloon : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0324-0000-0000-C000-000000000046")]
public interface Balloon : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0324-0000-0000-C000-000000000046")>]
type Balloon = interface
    interface _IMsoDispObj
Public Interface Balloon
Implements _IMsoDispObj
Attributes
Implements

Remarks

A balloon can contain controls such as check boxes and labels.

Use the NewBalloon property to return a Balloon object. There isn't a collection for the Balloon object; only one balloon can be visible at a time. However, it's possible to define several balloons and display any one of them when needed.

Use the Show() method to make the specified balloon visible. Use the Callback property to run procedures based on selections from modeless balloons (balloons that remain visible while a user works in the application). Use the Close() method to close modeless balloons.

You can reuse balloon objects you've already created by assigning the object to a variable and displaying the variable when you need it.

Alternatively, instead of using separate variables, you can place the balloon object into an array.

Properties

Animation

Returns or sets an animation action for the Office Assistant.

Application

Returns an Application object that represents the container application for the object.

BalloonType

Returns or sets the type of balloon the Office Assistant uses.

Button

Returns or sets the type of button displayed at the bottom of the Office Assistant balloon.

Callback

Returns or sets the name of the procedure to run from a modeless balloon.

Checkboxes

Returns the BalloonCheckboxes collection that represents all the check boxes contained in the specified balloon.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Heading

Returns or sets the heading that appears in the Office Assistant balloon.

Icon

Returns or sets the type of icon that appears in the upper-left portion of the Office Assistant balloon.

Labels

Returns a BalloonLabels collection that represents the button labels, number labels, and bullet labels contained in the specified Office Assistant balloon.

Mode

Returns or sets the modal behavior of the Office Assistant balloon.

Name

Returns or sets the name of the specified object.

Parent

Returns the parent object for the specified object.

Private

Returns or sets an integer that identifies the Office Assistant balloon that initiated the callback procedure.

Text

Returns or sets the text displayed after the heading but before the labels or check boxes in the Office Assistant balloon.

Methods

Close()

Closes the active modeless balloon.

SetAvoidRectangle(Int32, Int32, Int32, Int32)

Prevents the Office Assistant balloon from being displayed in a specified area of the screen.

Show()

Displays the specified balloon object and returns a MsoBalloonButtonType constant.

Applies to