Called when an attempt to create an ActiveX control on the PropertyManager page occurs.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function OnActiveXControlCreated( _
ByVal Id As System.Integer, _
ByVal Status As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2Handler9
Dim Id As System.Integer
Dim Status As System.Boolean
Dim value As System.Integer
value = instance.OnActiveXControlCreated(Id, Status) |
C# | |
---|
System.int OnActiveXControlCreated(
System.int Id,
System.bool Status
) |
C++/CLI | |
---|
System.int OnActiveXControlCreated(
& System.int Id,
& System.bool Status
) |
Parameters
- Id
ID of this ActiveX control
- Status
True if the ActiveX control creation was successful, false if not
Return Value
Action to take if the creation of the ActiveX control failed as defined in swHandleActiveXCreationFailure (see Remarks)
Remarks
See Also
Availability
SolidWorks 2012 FCS, Revision Number 20.0