| **Navigation:**  [[introduction.htm|Language Reference]] > App A - DDE, OLE, and OCX > OCX Library Procedures >====== OCXREGISTEREVENTPROC (install event processing callback) ====== | [[ocxregisterpropchange install property change callback .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ocxunregisterpropedit un install property edit callback .htm|{{btn_next_n.gif|Next page}}]] | | || **OCXREGISTEREVENTPROC(** //control// , //procedure// **)** {{blk2blue.jpg|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.htm|Callback Functions]]