Options for ActiveX

UI Toolkit enables you to add ActiveX controls to Toolkit windows, including composite windows. By adding ActiveX components to your application, you can extend its capabilities with a wide variety of interactive and multimedia effects. With the exception of %GRID_CREATE (which is specially designed for GrapeCity's Spread COM control), the ActiveX routines can be used for any ActiveX control. Toolkit automatically uses an ActiveX control (based on the Spread control) when you choose to include ActiveX Toolkit lists in your application.

Requirements

An ActiveX control must be registered with the Windows operating system before it can be used by an application. You can register an ActiveX control manually, or you can use AX_REGISTER, %AX_TKSINGLE, or %GRID_CREATE to register it programmatically. See Registering an ActiveX control for details.

32-bit ActiveX controls can be used only with the 32-bit Runtime, and 64-bit ActiveX controls can be used only with the 64-bit Runtime.

If you use any of the routines in the Synergy ActiveX API, you must include the file DBLDIR:activex.def and compile your program using the ‑T and ‑X compiler options. See Synergy ActiveX API for details. (You do not need to link against axlib.elb, though, because Toolkit automatically links to this library when you use the AX_ routines.)

Methods for adding ActiveX controls

You can use the following methods to add ActiveX controls to your Toolkit application: