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