title: scriptable objects in internet explorer content plugin
body: <p>While there are many guides for Browser Helper Objects, i have a hard time finding resources on how to implement scriptable objects (i.e. besides the main control) for content plugins (i.e. embedded in website).<br>
  To avoid misunderstandings: the question is about scriptable objects that a plugin object may return to the scripts in a website, e.g. from a method call.</p>
  
  <p>While i guess scriptability in general for these probably works via the usual <code>IDispatch</code>, i don't see how events are to be handled (i.e. for <code>attachEvent</code>). Are you supposed to implement that manually (e.g. handle calls to <code>attachEvent</code> explicitly) or are there only certain Interfaces that you have to implement?</p>