ActiveX Controls Overview

See Also

ActiveX controls (.ocx files) are installed by default when you install Visual FoxPro. You can distribute ActiveX controls with your applications. ActiveX controls are added to a form in an application by using the Visual FoxPro OLE container control.

Note   Many of the ActiveX controls that ship with Visual FoxPro originate from other Visual Studio products. When an ActiveX control is placed on a form and you press F1 for Help for the control, the Help that displays is from the original application, not Visual FoxPro.

The following table lists the .ocx files that are installed with Visual FoxPro and the ActiveX controls contained in each file.

File Controls Help file
Comctl232.ocx Animation control
Datetimepicker control
Monthview control
Updown control
Cmctl298.chm
Foxhwnd.ocx Visual FoxPro HWND Control Foxhelp.chm
Foxtlib.ocx Visual FoxPro Foxtlib Control Foxhelp.chm
MCI32.ocx Multimedia MCI control Mmedia.chm
MSChrt20.ocx MsChart control Mschrt98.chm
MSComctl.ocx ImageCombo control
ImageList control
ListView control
ProgressBar control
Slider control
StatusBar control
TabStrip control
Toolbar control
TreeView control
Cmctl198.chm
MSComm32.ocx MSComm control Comm98.chm
MSInet.ocx Microsoft Internet Transfer control Inet98.chm
MSMapi32.ocx MAPI Message control
MAPI Session control
Mapi98.chm
MSMask32.ocx Masked Edit control Masked98.chm
MSWinsck.ocx Winsock control Mswnsk98.chm
MSWless.ocx CheckBox control (Lightweight)
ComboBox control (Lightweight)
Commandbutton control (Lightweight)
Frame control (Lightweight)
HscrollBar, VScrollBar controls (Lightweight)
ListBox control (Lightweight)
OptionButton control (Lightweight)
TextBox control (Lightweight)
Ltwtct98.chm
Picclp32.ocx PicClip control Picclp98.chm
Richtx32.ocx Rich Textbox control Rtfbox98.chm
Sysinfo.ocx SysInfo control Sysinf98.chm

For additional information about adding ActiveX controls to your applications, see Chapter 16, Adding OLE, in the Programmer’s Guide.