OLE control events provide a way for the OLE control to communicate back to OpenInsight. Once an event has been qualified using OI's QUALIFY_EVENT message, then the OLE control will fire the event to OpenInsight allowing you to respond to any one of the control's predefined actions. Some events allow you to stop certain actions before they occur, so be sure to read the Remarks section of each event carefully. The following events apply to the SRP Panel Control:
Event | Description | Version Introduced |
---|---|---|
OnClick | Fired when the user clicks on the picture control. | |
OnContextMenuClick | Fired when a menu item on the custom context menu is clicked. | |
OnCustomDraw | No longer available. | |
OnDblClick | Fired when the user double clicks on the picture control. | |
OnFileDrop | Fired when the user drops files dragged from Windows Explorer. | |
OnGotFocus | Fired when the control receives input focus. | 3.1.0 |
OnHScroll | Fired when the user scrolls horizontally. | |
OnLostFocus | Fired when the control loses input focus. | 3.1.0 |
OnMouseEnter | Fired when the mouse enters the control. | |
OnMouseExit | Fired when the mouse leaves the control. | |
OnVScroll | Fired when the user scrolls vertically. | |
OnZoom | Fired when the user zooms using the mouse wheel. |