ICTPFactory.CreateCTP(String, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of a custom task pane.
public Microsoft.Office.Core.CustomTaskPane CreateCTP (string CTPAxID, string CTPTitle, object CTPParentWindow);
abstract member CreateCTP : string * string * obj -> Microsoft.Office.Core.CustomTaskPane
Public Function CreateCTP (CTPAxID As String, CTPTitle As String, Optional CTPParentWindow As Object) As CustomTaskPane
Parameters
- CTPAxID
- String
The CLSID or ProgID of a Microsoft ActiveX® object.
- CTPTitle
- String
The title for the task pane.
- CTPParentWindow
- Object
The window that hosts the task pane. If not present, the parent of the task pane is the ActiveWindow property of the host application.