Search
Box.AxControl Property
See Also
 



( a feature of FlowChartX Pro edition)

Gets a reference to the ActiveX control hosted in this box.

 Syntax

VB6  Copy Code

Public Property Get AxControl() As Object

C++  Copy Code

public:
IDispatch* get_AxControl ()

 Property Value

A reference to object.

 Remarks

To create an OCX control inside a box, assign its class identifier (CLSID) or program identifier (ProgID) to AxControlId, and set the box' Style to bsAxControl. C++ programmers might prefer getting a pointer to the hosted control's IUnknown interface via AxRawPtr. The AxControl property returns IDispatch pointer, required by VB, but harder to use with C++.

 See Also