Hosting IE control in a Form

G

Guest

Hi,
I use a MSIE control as an Active'X control in a .NET form for generating reports. I need catch "click" events in
loaded HTML page and handle them in application. Everything works fine when page is first loaded into control, but when I move the form window, application doesn't handle events from browser control anymore and I don't know why ...
Can anybody help me ?

Thank you.

-bda-
 
M

Marauderz

what do you mean by moving the form window? Just dragging it around? and how
are you handling events? How did you add the IE control to your toolbox, via
the automatic Customize Toolbox->IE Browser? or via your own wrapper?

Bda said:
Hi,
I use a MSIE control as an Active'X control in a .NET form for generating
reports. I need catch "click" events in
loaded HTML page and handle them in application. Everything works fine
when page is first loaded into control, but when I move the form window,
application doesn't handle events from browser control anymore and I don't
know why ...
 
G

Guest

I'm sorry for inaccuracy... by "moving" I mean operations with a form window like dragging it around, minimizing or
resizing it. Is it possible that this behavior has something to do with focus changes ?

I have imported Shdocvw.dll via aximp.exe and simple added the imported assembly into references.

-bda-



----- Marauderz wrote: -----

what do you mean by moving the form window? Just dragging it around? and how
are you handling events? How did you add the IE control to your toolbox, via
the automatic Customize Toolbox->IE Browser? or via your own wrapper?

Bda said:
Hi,
I use a MSIE control as an Active'X control in a .NET form for generating
reports. I need catch "click" events in
loaded HTML page and handle them in application. Everything works fine
when page is first loaded into control, but when I move the form window,
application doesn't handle events from browser control anymore and I don't
know why ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top