David, The book shows how to make a Windows Form act as an OleClientSite, allowing all the various customization interfaces (such as IDocHostUIHandler, IDocHostShowUI and others) to be handled.
--Ted On Sun, 28 Apr 2002 11:48:13 +0100, David Anthoff <[EMAIL PROTECTED]> wrote: >That sounds promising. I have one question though before I will buy the >book: There are generally two ways to implement the IDocHostUIHandler. >The first option is to attach it to the document via ICustomDoc, the >second is to implement it at the client site for the ActiveX control. >Which one is described in your book? I am only interested in the second >method, since some of the features of IDocHostUIHandler will not work if >you attach your implementation via ICustomDoc (e.g. the flags that >remove the border of the control). > >Thanks for the answer! >David > >> -----Original Message----- >> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf >Of >> Ted Faison >> Sent: Saturday, April 27, 2002 11:22 PM >> To: [EMAIL PROTECTED] >> Subject: Re: [DOTNET] AxHost and IDocHostUIHandler: Check this new >book >> out >> >> There is a complete example of WebBrowser customization in the new >> book "Component-based development with Visual C#", available at >> >> http://www.amazon.com/exec/obidos/ASIN/0764549146/qid=1019945959/sr=1- >> 1/ref=sr_1_1/104-7524942-0873504 >> >> Chapter 8 shows how to add IDocHostUIHandler and other interfaces to a >> host >> form to fully customize the WebBrowser control. >> >> --Ted Faison >> >> You can read messages from the DOTNET archive, unsubscribe from >DOTNET, or >> subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.