Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MSHTML Editing problem

MSHTML Editing problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionlearning
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Scozturk
    wrote on last edited by
    #1

    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 ...

    S 1 Reply Last reply
    0
    • S Scozturk

      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 ...

      S Offline
      S Offline
      Scozturk
      wrote on last edited by
      #2

      Problem solved... Well... I am a beginner ...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups