Text selection in AXWebBrowser

  • Thread starter Thread starter JSM
  • Start date Start date
J

JSM

Hi,

Would there any reason why I can't select text in an axWebBrowser control? I
use the Write method of the IHTMLDocument2 object to populate the control
with built on-the-fly html which looks fine but I can't select any text. I
have "onclick" and "oncontextmenu" event handlers but I have tried disabling
them but it didn't make a difference. The control is enabled and is not
locked so I can't see why it would not allow for text selection.

Any help would be appreciated.

Cheers,

John
 
I've found that if I disable ALL my event handlers then I can select text
however I really need to capture the onclick event because I need to run
code when the user selects hyperlinks (which are generated based on
information in a database). This is obviously a bug. Does anyone know a
workaround?
 
Back
Top