MSHTML Editing problem
-
Hello... I am trying to make a WYSIWYG editor and for that I am using the MSHTML control (in a win32 application). Well it works fine you can set properties of the text with the build in functions... Than I get a text range (with IHTMLTxtRange) (i can get the text range with no problem) and modify it using pasteHTML (i am doing that to apply font properties...) (i can do what I want but maybe there is some problem here). Well after that I cannot change anything with the built in functions... But my functions continue working... I am thinking about the selection range... Do I have to select the whole document and out it in a range in order to edit it with the built in functions? What may be the problem? Thank you very much in advance for your answers... Well... I am a beginner ...
-
Hello... I am trying to make a WYSIWYG editor and for that I am using the MSHTML control (in a win32 application). Well it works fine you can set properties of the text with the build in functions... Than I get a text range (with IHTMLTxtRange) (i can get the text range with no problem) and modify it using pasteHTML (i am doing that to apply font properties...) (i can do what I want but maybe there is some problem here). Well after that I cannot change anything with the built in functions... But my functions continue working... I am thinking about the selection range... Do I have to select the whole document and out it in a range in order to edit it with the built in functions? What may be the problem? Thank you very much in advance for your answers... Well... I am a beginner ...