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. EM_STREAMOUT and EditStreamCallback() function?

EM_STREAMOUT and EditStreamCallback() function?

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsonarchitecturetutorialquestion
1 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.
  • K Offline
    K Offline
    Kayembi
    wrote on last edited by
    #1

    Hi, Could someone please give me some tips - or even better, link ot some examples - on how to create an EditStreamCallback function? I have searched the net and several coding forums, but can't find any solid information, even MSDN. I have a Rich Edit text box, and whilst I can currently save to a .txt file using GetDlgItemText() and WriteFile(), this method is very limited and I really want to save as an RTF file. I have read the info on EM_STREAMOUT and EditStreamCallback, and it seems that these are the functions I need to use in order to save as an RTF file. If anyone can tell me how to write a callback function that will write an .rtf file, link to some more comprehensive info, or just give me some general tips, I would be really grateful. Incidentally, I am using the straight Win API SDK with _no_ MFC. Many thanks! KB

    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