html editor

T

Tam

Desgining a control that operates as an HTML editor. Its going well. I have
a web browser object loading a page with its navigate complete event being
fired correctly and I grab its document into a HTMLDocumentClass and set
..designMode to true.

All works well, i can call execCommand and set fonts and change text.
Wonderful.

My problem is saving it. Not actually performing the save, thats fine but my
area of much hair pulling has been to have an apply button. It disables when
they push it, enables again once they edit the page.

May seem simple but how can i determine if the content has changed without
the use of a costly timer to check?

Setting onkeyup listener causes the page to stop responding entirely. In
fact... exactly like the description here.

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20661377.html

Help!!!
 
W

Wiktor Zychla

Desgining a control that operates as an HTML editor. Its going well. I
have
a web browser object loading a page with its navigate complete event being
fired correctly and I grab its document into a HTMLDocumentClass and set
.designMode to true.

are you using the hack with the UCOMIConnectionPoint and
UCOMIConnectionPointContainer interfaces?
 

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