OleControlSite.addEventListener

Adds the listener to receive events.

@since 3.2

@param automation the automation object that provides the event notification @param eventSinkId the GUID of the event sink @param eventID the id of the event @param listener the listener

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT when listener is null</li> </ul>

  1. void addEventListener(int eventID, OleListener listener)
  2. void addEventListener(OleAutomation automation, int eventID, OleListener listener)
  3. void addEventListener(OleAutomation automation, String eventSinkId, int eventID, OleListener listener)
    class OleControlSite

Meta