Customizer's Guide > Working with ActiveX Controls > Running Arbortext Editor in an ActiveX Control
  
Running Arbortext Editor in an ActiveX Control
Besides running other ActiveX controls inside of Arbortext Editor, you can run Arbortext Editor itself in an ActiveX control. The Arbortext Editor ActiveX control is located at Arbortext-path\bin\EditorControl.dll. This control is registered as a COM server whenever the associated version of Arbortext Editor is registered.
Arbortext Editor can run as an embedded ActiveX control inside of another window or dialog box. In this case, the Arbortext Editor menus are made available through a new Menu toolbar button. Also, some menu choices and toolbar buttons are not available in an embedded frame.
Sample Arbortext Editor ActiveX implementations are in the Arbortext-path\samples\activex_editor directory. The XUI directory has a sample XUI dialog box containing an embedded Arbortext Editor ActiveX control. The CSharp directory contains a sample C# implementation. These examples demonstrate how to use the return value of the open method (which is an ACL window id) with the Acl.getWindow AOM method to obtain a Window AOM object. This technique provides the caller with great control over the window and the document living in it.