PC Review


Reply
Thread Tools Rate Thread

activex in activex event handling

 
 
S.Kartikeyan
Guest
Posts: n/a
 
      19th Dec 2003
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
 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      24th Dec 2003
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



 
Reply With Quote
 
S.Kartikeyan
Guest
Posts: n/a
 
      26th Dec 2003
Atleast when i open html files how to catch scrollbar events .
ieactivexcontrol does not expose them.
How to subclass MicrosoftWebBrowswer active control.
I tried inheriting control with overriding PreProcessMessage.
Compilation was successfull but runtime unknown errors comes.

S.kartikeyan

"Nicholas Paldino [.NET/C# MVP]" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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)
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling ActiveX DLL Event in C# Holysmoke Microsoft C# .NET 0 13th May 2010 03:14 PM
Handling ActiveX in ASP.net PhilTheGap Microsoft ASP .NET 3 26th May 2008 03:45 PM
handling activex events Felipe Garcia Microsoft ASP .NET 1 21st Jul 2004 05:02 PM
Handling VB6 (ActiveX) events in C# app Bill Microsoft C# .NET 2 7th Jun 2004 08:57 PM
ActiveX event handling Filippo Windows XP Internet Explorer 0 8th Sep 2003 01:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:08 PM.