Webbrowser controls

  • Thread starter Thread starter SS
  • Start date Start date
S

SS

I have a winform in which a web Browser Control is emnbedded.

I want that the user can select text in the browser control, and i want to
get the xpath

of that selected text.

The problem with this is when a event handler is registered we can not get
any system events working like Context Menu will not work, the text
selection also will not work.

so could you please help on this.
 
the browser control does not support these events directly. you must supply
a com interfaces like IDocHostUIHandler. To expose these interfaces you must
supply the com interface IOLEClientSite, that you set in the web browser
control at init.

-- bruce (sqlwork.com)
 
Back
Top