Called when an attempt to create an ActiveX control on the PropertyManager page occurs.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function OnActiveXControlCreated( _
ByVal Id As Integer, _
ByVal Status As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2Handler9
Dim Id As Integer
Dim Status As Boolean
Dim value As Integer
value = instance.OnActiveXControlCreated(Id, Status)
|
C# | |
---|
int OnActiveXControlCreated(
int Id,
bool Status
) |
C++/CLI | |
---|
int OnActiveXControlCreated(
& int Id,
& 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