ID:278134
 
Let me start first with my current experience with the subject. I have read several online tutorials on COM and a sort of introduction to ATL. From what I read, I think, ATL just encapsulates COM code to reduce its redundancy.

What am I looking for in the book(s)?

I started to learn COM and thus ATL thanks to MSDN's documentation, because I wanted to learn how to program IE add-ons. I have read the MSDN documentation, some what, but I'm stuck on how to deal with a certain specific part of IE add-ons. I would like details on how to handle event sinks or the Idispatch interface. More specifically, I want a book(s) which will explain how to handle Javascript events being cast by HTML elements. For example, an onclick() event being cast when you click on an

element. In the MSDN documentation they talk about using a map sink with the Browser object and the documentComplete event but not how to handle element events. Not only that, I also would like to know how to handle multiple element's events.

If any one can give a book with the above or just the basics of COM & ATL along with concepts on event sinks, I would greatly appreciate it.
You don't need COM or ATL to handle click events for something in the page DOM -- you can use plain javascript for that.

If you'd like something with nice documentation, check out the awesome http://jquery.com/


Edit: I guess if you're writing an add-on to do some sort of OS integration thing, javascript wouldn't be enough. In that case, disregard this. :-)