CreateToolWindow Method

      Applies To

Creates a new tool window containing the indicated ActiveX document.

Syntax

Function CreateToolWindow(AddInInst As AddIn, ProgId As String, Caption As String, GuidPosition As String, DocObj As Object)

This syntax has these parts:

Part Description
AddInInst Required add-in object whose lifetime determines the lifetime of the new tool window.
ProgId Required String. Programmatic ID of the ActiveX document object.
Caption Required String. Caption for the new tool window.
GuidPosition Required String. Unique identifier for the new window.
DocObj Required ActiveX document object, hosted in the new tool window.