Hosting IE control in a Form

  • Thread starter Thread starter Guest
  • Start date Start date
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-
 
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 ...
 
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 ...
 
Back
Top