kartik,
I don't believe that you are going to be able to do this. The hosting
interface for active documents isn't too concerned with this. The browser
is really just an ActiveX Document hosting container, and then it says to
the document something along the lines of "you do what you have to do, I'll
just give you the space to do it in). The only way I can imagine being able
to do this is to get every kind of document hosted and then find hooks into
the specific document for when the content scrolls.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"S.Kartikeyan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello group,
> I have the follwing problem with microsoft web browser activex
> control.
> I have a fileopendialog control. I open different files in the
> IEActivex control
> based on the filename in the fileopendialog control.
> When i open ppt or doc or pdf files it is nice that it opens them in
> its window.
>
> THE PROBLEM NOW IS when ieactivex control is opening these different
> files it is opening them with the help of their correspoding activex
> control.
>
> But i want the scrollbar events of any activex control that ie hosts
> without knowing in priori, of the file that might be opened.
> also how to catch scrollbar events when ieactivex control opens long
> html files.
>
> How can i get them and handle them in my C# application.
>
> kartik