Navigation:  Language Reference > App A - DDE, OLE, and OCX > OCX Library Procedures >====== OCXREGISTEREVENTPROC (install event processing callback) ====== Previous pageReturn to chapter overviewNext page

OCXREGISTEREVENTPROC( control , procedure )

blk2blue.jpg

OCXREGISTEREVENTPROC Installs an OCX event callback procedure.
control An integer expression containing the field number or field equate label of the OLE control to affect.
procedure The label of the event processing callback procedure for the control.

OCXREGISTEREVENTPROC installs an OCX event callback procedure for the control. The callback procedure is called when any event is posted by the operating system for the control.

Example:

OCXREGISTEREVENTPROC(?OleControl,CallbackProc)

See Also:

Callback Functions