TWebBrowser and IDocHostUIHandler Interface

Hi all

I have a TWebBrowser on a form. I can succesfully use it's interface to
navigate, print and perform other basic stuff, but I would also like to be
able to do things like disable cut and paste, pop up my own menu when the
user right clicks on the page ..etc.
I have found out on the MSDN that there is a IDocHostUIHandler interface
which is supposed to do (also) this sort of stuff....but I don't have a clue
on how to use it and where to start!
I'm using CPPBuilder 4 pro sp2 and ie5.

Any idea, suggestions, snippets?

Thank you very much
Alex