CreateToolWindow Method

       

Creates a new Tool window containing the indicated UserDocument object.

Syntax

object.CreateToolWindow (AddInInst, ProgID, Caption, GuidPosition, DocObj) As Window

The CreateToolWindow method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
AddInInst Required. An add-in instance variable representing an add-in in the development environment.
ProgID Required. String representing the progID of the UserDocument object.
Caption Required. String containing the window caption.
GuidPosition Required. String containing a unique identifier for the window.
DocObj Required. Object representing a UserDocument object. This object will be set in the call to this function.