Hide Table of Contents
AddControl Method (ITaskpaneView)

Adds an ActiveX control to the Task Pane view.

.NET Syntax

Visual Basic (Declaration) 
Function AddControl( _
   ByVal ClassName As System.String, _
   ByVal LicKey As System.String _
) As System.Object
Visual Basic (Usage) 
Dim instance As ITaskpaneView
Dim ClassName As System.String
Dim LicKey As System.String
Dim value As System.Object
 
value = instance.AddControl(ClassName, LicKey)
C# 
System.object AddControl( 
   System.string ClassName,
   System.string LicKey
)
C++/CLI 
System.Object^ AddControl( 
&   System.String^ ClassName,
&   System.String^ LicKey
) 

Parameters

ClassName
Name or class ID for the ActiveX control
LicKey
License key for the ActiveX control

Return Value

Pointer to the IUnknown interface for this ActiveX control

Example

Remarks

If the ActiveX control added is a dialog, then see Microsoft Article 92905, "DlgTab.exe - Infinite Loop Moving through Dialog Ctrl". Follow the instructions in this article, or turn off Control Parent in Extended Styles of Dialog for the dialog.

See also Keystrokes and Accelerator Keys in ActiveX Modeless Dialogs and PropertyManager Pages.

 

See Also

Availability

SolidWorks 2006 FCS, Revision Number 14.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   AddControl Method (ITaskpaneView)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.